Uses of Interface
spoon.reflect.reference.CtVariableReference
Package
Description
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines all the sub-factories for the Spoon meta-model.
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains a set of useful filters when querying the model.
-
Uses of CtVariableReference in spoon.refactoring
Modifier and TypeMethodDescriptionprotected void
CtRenameLocalVariableRefactoring.createNameConflictIssue(CtVariable<?> conflictVar, CtVariableReference<?> shadowedVarRef)
Override this method to get access to details about this refactoring issue -
Uses of CtVariableReference in spoon.reflect.code
Modifier and TypeMethodDescriptionCtVariableAccess.getVariable()
Gets the reference to the accessed variable.Modifier and TypeMethodDescription<C extends CtVariableAccess<T>>
CCtVariableAccess.setVariable(CtVariableReference<T> variable)
Sets the reference to the accessed variable. -
Uses of CtVariableReference in spoon.reflect.declaration
-
Uses of CtVariableReference in spoon.reflect.factory
Modifier and TypeMethodDescription<A, T extends A>
CtAssignment<A,T>CodeFactory.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)
Creates a variable assignment (can be an expression or a statement).<A, T extends A>
CtAssignment<A,T>Factory.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)
<A, T extends A>
CtAssignment<A,T>FactoryImpl.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)
<T> CtVariableAccess<T>
CodeFactory.createVariableRead(CtVariableReference<T> variable, boolean isStatic)
Creates a variable access for read.<T> CtVariableAccess<T>
Factory.createVariableRead(CtVariableReference<T> variable, boolean isStatic)
<T> CtVariableAccess<T>
FactoryImpl.createVariableRead(CtVariableReference<T> variable, boolean isStatic)
<T> CtVariableAccess<T>
CodeFactory.createVariableWrite(CtVariableReference<T> variable, boolean isStatic)
Creates a variable access for write.<T> CtVariableAccess<T>
Factory.createVariableWrite(CtVariableReference<T> variable, boolean isStatic)
<T> CtVariableAccess<T>
FactoryImpl.createVariableWrite(CtVariableReference<T> variable, boolean isStatic)
-
Uses of CtVariableReference in spoon.reflect.reference
Modifier and TypeInterfaceDescriptioninterface
This interface defines a reference toCtCatchVariable
.interface
This interface defines a reference to aCtField
.interface
This interface defines a reference toCtLocalVariable
.interface
This interface defines a reference to aCtParameter
of a method.interface
This interface defines a reference to an unboundCtVariable
.Modifier and TypeMethodDescription<C extends CtVariableReference<T>>
CCtVariableReference.setType(CtTypeReference type)
Sets the type of the variable. -
Uses of CtVariableReference in spoon.reflect.visitor
Modifier and TypeMethodDescription<T> void
CtInheritanceScanner.scanCtVariableReference(CtVariableReference<T> reference)
Scans an abstract variable reference. -
Uses of CtVariableReference in spoon.reflect.visitor.filter
ModifierConstructorDescriptionVariableAccessFilter(CtVariableReference<?> variable)
Creates a new variable access filter. -
Uses of CtVariableReference in spoon.support.compiler.jdt
Modifier and TypeMethodDescription<T> CtFieldAccess<T>
JDTTreeBuilderHelper.createFieldAccess(CtVariableReference<T> variableReference, CtExpression<?> target, boolean isReadAccess)
Creates variable access from aCtVariableReference
.<T> CtVariableAccess<T>
JDTTreeBuilderHelper.createVariableAccess(CtVariableReference<T> variableReference, boolean isReadAccess)
Creates variable access from aCtVariableReference
. -
Uses of CtVariableReference in spoon.support.reflect.code
Modifier and TypeMethodDescription<C extends CtVariableAccess<T>>
CCtVariableAccessImpl.setVariable(CtVariableReference<T> variable)
-
Uses of CtVariableReference in spoon.support.reflect.reference
Modifier and TypeClassDescriptionclass
class
class
An implementation forCtLocalVariableReference
.class
class
represents a reference to an unbound field (used when no full classpath is availableclass
Modifier and TypeMethodDescription<C extends CtVariableReference<T>>
CCtVariableReferenceImpl.setType(CtTypeReference type)