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 typeTemplateParameterPatternParameterConfigurator.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 voidCtRenameLocalVariableRefactoring.createNameConflictIssue(CtVariable<?> conflictVar)Override this method to get access to details about this refactoring issueprotected voidCtRenameLocalVariableRefactoring.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 TypeInterfaceDescriptioninterfaceThis code element defines an exception variable in a catch.interfaceThis code element defines a local variable definition (within an executable body).interfaceCtResource<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 TypeInterfaceDescriptioninterfaceCtEnumValue<T>Corresponds to one enum value specified in an enumeration.interfaceCtField<T>This element defines a field declaration.interfaceCtParameter<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> CtStatementListCodeFactory.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> CtStatementListFactory.createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions)<T> CtStatementListFactoryImpl.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> voidCtInheritanceScanner.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 TypeMethodDescriptionvoidVariableScopeFunction.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 TypeClassDescriptionclassclassCtFieldImpl<T>The implementation forCtField.classThe 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