Uses of Interface
spoon.reflect.declaration.CtVariable
Packages that use CtVariable
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 CtVariable in spoon.pattern
Methods in spoon.pattern with parameters of type CtVariableModifier and TypeMethodDescriptionPatternParameterConfigurator.byTemplateParameterReference(CtVariable<?> variable)
variable read/write of `variable` of typeTemplateParameter
PatternParameterConfigurator.byVariable(CtVariable<?> variable)
variable read/write of `variable` -
Uses of CtVariable in spoon.refactoring
Methods in spoon.refactoring with parameters of type CtVariableModifier and TypeMethodDescriptionprotected void
CtRenameLocalVariableRefactoring.createNameConflictIssue(CtVariable<?> conflictVar)
Override this method to get access to details about this refactoring issueprotected void
CtRenameLocalVariableRefactoring.createNameConflictIssue(CtVariable<?> conflictVar, CtVariableReference<?> shadowedVarRef)
Override this method to get access to details about this refactoring issue -
Uses of CtVariable in spoon.reflect.code
Subinterfaces of CtVariable in spoon.reflect.codeModifier and TypeInterfaceDescriptioninterface
This code element defines an exception variable in a catch.interface
This code element defines a local variable definition (within an executable body).interface
CtResource<T>
This code element defines a resource used in the try-with-resource statement.Methods in spoon.reflect.code with type parameters of type CtVariableModifier and TypeMethodDescription<C extends CtVariable<T>>
CCtCatchVariable.setDefaultExpression(CtExpression<T> assignedExpression)
-
Uses of CtVariable in spoon.reflect.declaration
Subinterfaces of CtVariable in spoon.reflect.declarationModifier and TypeInterfaceDescriptioninterface
CtEnumValue<T>
Corresponds to one enum value specified in an enumeration.interface
CtField<T>
This element defines a field declaration.interface
CtParameter<T>
This element defines an executable parameter declaration.Methods in spoon.reflect.declaration with type parameters of type CtVariableModifier and TypeMethodDescription<C extends CtVariable<T>>
CCtParameter.setDefaultExpression(CtExpression<T> assignedExpression)
<C extends CtVariable<T>>
CCtVariable.setDefaultExpression(CtExpression<T> assignedExpression)
Sets the initialization expression assigned to the variable, when declared. -
Uses of CtVariable in spoon.reflect.factory
Method parameters in spoon.reflect.factory with type arguments of type CtVariableModifier and TypeMethodDescription<T> CtStatementList
CodeFactory.createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions)
Creates a list of statements that contains the assignments of a set of variables.<T> CtStatementList
Factory.createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions)
<T> CtStatementList
FactoryImpl.createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions)
List<CtExpression<?>>
CodeFactory.createVariableReads(List<? extends CtVariable<?>> variables)
Creates a list of variable accesses for read.List<CtExpression<?>>
Factory.createVariableReads(List<? extends CtVariable<?>> variables)
List<CtExpression<?>>
FactoryImpl.createVariableReads(List<? extends CtVariable<?>> variables)
-
Uses of CtVariable in spoon.reflect.reference
Methods in spoon.reflect.reference that return CtVariableModifier and TypeMethodDescriptionCtVariableReference.getDeclaration()
Tries to get the declaration of the reference. -
Uses of CtVariable in spoon.reflect.visitor
Methods in spoon.reflect.visitor that return types with arguments of type CtVariableMethods in spoon.reflect.visitor with parameters of type CtVariableModifier and TypeMethodDescription<T> void
CtInheritanceScanner.scanCtVariable(CtVariable<T> v)
Scans an abstract variable declaration. -
Uses of CtVariable in spoon.reflect.visitor.filter
Methods in spoon.reflect.visitor.filter with parameters of type CtVariableModifier and TypeMethodDescriptionvoid
VariableScopeFunction.apply(CtVariable<?> variable, CtConsumer<Object> outputConsumer)
Constructors in spoon.reflect.visitor.filter with parameters of type CtVariable -
Uses of CtVariable in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtVariable -
Uses of CtVariable in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtVariableMethods in spoon.support.reflect.code with type parameters of type CtVariableModifier and TypeMethodDescription<C extends CtVariable<T>>
CCtCatchVariableImpl.setDefaultExpression(CtExpression<T> defaultExpression)
<C extends CtVariable<T>>
CCtLocalVariableImpl.setDefaultExpression(CtExpression<T> defaultExpression)
-
Uses of CtVariable in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtVariableModifier and TypeClassDescriptionclass
class
CtFieldImpl<T>
The implementation forCtField
.class
The implementation forCtParameter
.Methods in spoon.support.reflect.declaration with type parameters of type CtVariableModifier and TypeMethodDescription<C extends CtVariable<T>>
CCtFieldImpl.setDefaultExpression(CtExpression<T> defaultExpression)
<C extends CtVariable<T>>
CCtParameterImpl.setDefaultExpression(CtExpression<T> defaultExpression)
-
Uses of CtVariable in spoon.support.reflect.reference
Methods in spoon.support.reflect.reference that return CtVariable