Uses of Interface
spoon.reflect.code.CtLocalVariable
Packages that use CtLocalVariable
Package
Description
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
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.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtLocalVariable in spoon.refactoring
Methods in spoon.refactoring with parameters of type CtLocalVariableModifier and TypeMethodDescriptionstatic void
Refactoring.changeLocalVariableName(CtLocalVariable<?> localVariable, String newName)
Changes name of aCtLocalVariable
. -
Uses of CtLocalVariable in spoon.reflect.code
Methods in spoon.reflect.code with type parameters of type CtLocalVariableModifier and TypeMethodDescription<U extends CtLocalVariable<T>>
UCtLocalVariable.setInferred(boolean inferred)
Set true if the variable must be inferred.Methods in spoon.reflect.code that return CtLocalVariableModifier and TypeMethodDescriptionCtLocalVariable.clone()
CtForEach.getVariable()
Gets the variable that references the currently iterated element.CtTypePattern.getVariable()
Returns the local variable declared by this type pattern.Methods in spoon.reflect.code with parameters of type CtLocalVariableModifier and TypeMethodDescription<T extends CtForEach>
TCtForEach.setVariable(CtLocalVariable<?> variable)
Sets the variable that references the currently iterated element.CtTypePattern.setVariable(CtLocalVariable<?> variable)
Sets the local variable for this type pattern. -
Uses of CtLocalVariable in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtLocalVariableModifier and TypeMethodDescription<T> CtLocalVariable<T>
CodeFactory.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)
Creates a local variable declaration.<T> CtLocalVariable<T>
CoreFactory.createLocalVariable()
Creates a local variable declaration statement.<T> CtLocalVariable<T>
Factory.createLocalVariable()
<T> CtLocalVariable<T>
Factory.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)
<T> CtLocalVariable<T>
FactoryImpl.createLocalVariable()
<T> CtLocalVariable<T>
FactoryImpl.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)
Methods in spoon.reflect.factory with parameters of type CtLocalVariableModifier and TypeMethodDescription<T> CtLocalVariableReference<T>
CodeFactory.createLocalVariableReference(CtLocalVariable<T> localVariable)
Creates a local variable reference that points to an existing local variable (strong referencing).<T> CtLocalVariableReference<T>
Factory.createLocalVariableReference(CtLocalVariable<T> localVariable)
<T> CtLocalVariableReference<T>
FactoryImpl.createLocalVariableReference(CtLocalVariable<T> localVariable)
-
Uses of CtLocalVariable in spoon.reflect.reference
Methods in spoon.reflect.reference that return CtLocalVariable -
Uses of CtLocalVariable in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtLocalVariableModifier and TypeMethodDescription<T> void
CtAbstractVisitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)
<T> void
CtBiScannerDefault.visitCtLocalVariable(CtLocalVariable<T> localVariable)
<T> void
CtInheritanceScanner.visitCtLocalVariable(CtLocalVariable<T> e)
<T> void
CtScanner.visitCtLocalVariable(CtLocalVariable<T> localVariable)
<T> void
CtVisitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)
Visits a local variable declaration.<T> void
DefaultJavaPrettyPrinter.visitCtLocalVariable(CtLocalVariable<T> localVariable)
-
Uses of CtLocalVariable in spoon.reflect.visitor.filter
Methods in spoon.reflect.visitor.filter with parameters of type CtLocalVariableModifier and TypeMethodDescriptionvoid
LocalVariableScopeFunction.apply(CtLocalVariable<?> localVariable, CtConsumer<Object> outputConsumer)
<T> void
VariableReferenceFunction.Visitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)
calls outputConsumer for each reference of the local variable<T> void
VariableScopeFunction.Visitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)
calls outputConsumer for each reference of the local variableConstructors in spoon.reflect.visitor.filter with parameters of type CtLocalVariableModifierConstructorDescriptionLocalVariableReferenceFunction(CtLocalVariable<?> localVariable)
This constructor allows to define input local variable - the one for which this function will search for. -
Uses of CtLocalVariable in spoon.support
Methods in spoon.support that return CtLocalVariableModifier and TypeMethodDescription<T> CtLocalVariable<T>
DefaultCoreFactory.createLocalVariable()
-
Uses of CtLocalVariable in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtLocalVariableMethods in spoon.support.reflect.code with type parameters of type CtLocalVariableModifier and TypeMethodDescription<U extends CtLocalVariable<T>>
UCtLocalVariableImpl.setInferred(boolean inferred)
Methods in spoon.support.reflect.code that return CtLocalVariableModifier and TypeMethodDescriptionCtLocalVariableImpl.clone()
CtForEachImpl.getVariable()
CtTypePatternImpl.getVariable()
Methods in spoon.support.reflect.code with parameters of type CtLocalVariableModifier and TypeMethodDescription<T extends CtForEach>
TCtForEachImpl.setVariable(CtLocalVariable<?> variable)
CtTypePatternImpl.setVariable(CtLocalVariable<?> variable)
-
Uses of CtLocalVariable in spoon.support.reflect.eval
Methods in spoon.support.reflect.eval with parameters of type CtLocalVariableModifier and TypeMethodDescription<T> void
VisitorPartialEvaluator.visitCtLocalVariable(CtLocalVariable<T> localVariable)
-
Uses of CtLocalVariable in spoon.support.reflect.reference
Methods in spoon.support.reflect.reference that return CtLocalVariable -
Uses of CtLocalVariable in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtLocalVariableModifier and TypeMethodDescription<T> void
CloneBuilder.visitCtLocalVariable(CtLocalVariable<T> e)
<T> void
CloneVisitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)
-
Uses of CtLocalVariable in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtLocalVariableModifier and TypeMethodDescription<T> void
ReplacementVisitor.visitCtLocalVariable(CtLocalVariable<T> localVariable)