Uses of Interface
spoon.reflect.reference.CtVariableReference
Packages that use 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
Methods in spoon.refactoring with parameters of type CtVariableReferenceModifier 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
Methods in spoon.reflect.code that return CtVariableReferenceModifier and TypeMethodDescriptionCtVariableAccess.getVariable()
Gets the reference to the accessed variable.Methods in spoon.reflect.code with parameters of type CtVariableReferenceModifier 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
Methods in spoon.reflect.declaration that return CtVariableReference -
Uses of CtVariableReference in spoon.reflect.factory
Methods in spoon.reflect.factory with parameters of type CtVariableReferenceModifier 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
Subinterfaces of CtVariableReference in spoon.reflect.referenceModifier 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
.Methods in spoon.reflect.reference with type parameters of type CtVariableReferenceModifier and TypeMethodDescription<C extends CtVariableReference<T>>
CCtVariableReference.setType(CtTypeReference type)
Sets the type of the variable.Methods in spoon.reflect.reference that return CtVariableReference -
Uses of CtVariableReference in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtVariableReferenceModifier and TypeMethodDescription<T> void
CtInheritanceScanner.scanCtVariableReference(CtVariableReference<T> reference)
Scans an abstract variable reference. -
Uses of CtVariableReference in spoon.reflect.visitor.filter
Constructors in spoon.reflect.visitor.filter with parameters of type CtVariableReferenceModifierConstructorDescriptionVariableAccessFilter(CtVariableReference<?> variable)
Creates a new variable access filter. -
Uses of CtVariableReference in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtVariableReferenceModifier 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
Methods in spoon.support.reflect.code that return CtVariableReferenceMethods in spoon.support.reflect.code with parameters of type CtVariableReferenceModifier and TypeMethodDescription<C extends CtVariableAccess<T>>
CCtVariableAccessImpl.setVariable(CtVariableReference<T> variable)
-
Uses of CtVariableReference in spoon.support.reflect.reference
Classes in spoon.support.reflect.reference that implement CtVariableReferenceModifier and TypeClassDescriptionclass
class
class
An implementation forCtLocalVariableReference
.class
class
represents a reference to an unbound field (used when no full classpath is availableclass
Methods in spoon.support.reflect.reference with type parameters of type CtVariableReferenceModifier and TypeMethodDescription<C extends CtVariableReference<T>>
CCtVariableReferenceImpl.setType(CtTypeReference type)
Methods in spoon.support.reflect.reference that return CtVariableReference