Uses of Interface
spoon.reflect.reference.CtExecutableReference
-
Packages that use CtExecutableReference Package Description spoon.reflect.code This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).spoon.reflect.declaration This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).spoon.reflect.factory This package defines all the sub-factories for the Spoon meta-model.spoon.reflect.reference This package defines the references to program elements for the meta-model.spoon.reflect.visitor This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.spoon.reflect.visitor.filter This package contains a set of useful filters when querying the model.spoon.support This package contains some default implementations for commonly used processing tasks.spoon.support.compiler.jdt spoon.support.reflect.code spoon.support.reflect.declaration spoon.support.reflect.reference spoon.support.util spoon.support.visitor spoon.support.visitor.clone spoon.support.visitor.equals spoon.support.visitor.replace -
-
Uses of CtExecutableReference in spoon.reflect.code
Methods in spoon.reflect.code that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<T>
CtAbstractInvocation. getExecutable()
Returns the invoked executable.CtExecutableReference<T>
CtExecutableReferenceExpression. getExecutable()
Gets the executable referenced by the expression.Methods in spoon.reflect.code with parameters of type CtExecutableReference Modifier and Type Method Description <C extends CtAbstractInvocation<T>>
CCtAbstractInvocation. setExecutable(CtExecutableReference<T> executable)
Sets the invoked executable.<C extends CtExecutableReferenceExpression<T,E>>
CCtExecutableReferenceExpression. setExecutable(CtExecutableReference<T> executable)
Sets the executable will be referenced by the expression. -
Uses of CtExecutableReference in spoon.reflect.declaration
Methods in spoon.reflect.declaration that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<R>
CtExecutable. getReference()
Methods in spoon.reflect.declaration that return types with arguments of type CtExecutableReference Modifier and Type Method Description Collection<CtExecutableReference<?>>
CtTypeInformation. getAllExecutables()
Gets the executables declared by this type and by all its supertypes (static/instance methods, constructors, anonymous static blocks) if applicable.Collection<CtExecutableReference<?>>
CtTypeInformation. getDeclaredExecutables()
Gets the executables declared by this type if applicable. -
Uses of CtExecutableReference in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtExecutableReference Modifier and Type Method Description <T> CtExecutableReference<T>
CoreFactory. createExecutableReference()
Creates an executable reference.<T> CtExecutableReference<T>
Factory. createExecutableReference()
<T> CtExecutableReference<T>
FactoryImpl. createExecutableReference()
<T> CtExecutableReference<T>
ConstructorFactory. createReference(Constructor<T> constructor)
Creates a constructor reference from an actual constructor.<T> CtExecutableReference<T>
ConstructorFactory. createReference(CtConstructor<T> c)
Creates a constructor reference from an existing constructor.<T> CtExecutableReference<T>
ConstructorFactory. createReference(CtTypeReference<T> type, CtExpression<?>... parameters)
Creates a constructor reference.<T> CtExecutableReference<T>
ExecutableFactory. createReference(String signature)
Creates an executable reference from its signature, as defined by the executable reference's toString.<T> CtExecutableReference<T>
ExecutableFactory. createReference(CtExecutable<T> e)
Creates an executable reference from an existing executable.<T> CtExecutableReference<T>
ExecutableFactory. createReference(CtTypeReference<?> declaringType, boolean isStatic, CtTypeReference<T> type, String methodName, List<CtTypeReference<?>> parameterTypes)
Creates an executable reference.<T> CtExecutableReference<T>
ExecutableFactory. createReference(CtTypeReference<?> declaringType, boolean isStatic, CtTypeReference<T> type, String methodName, CtTypeReference<?>... parameterTypes)
Creates an executable reference.<T> CtExecutableReference<T>
ExecutableFactory. createReference(CtTypeReference<?> declaringType, CtTypeReference<T> type, String methodName, List<CtTypeReference<?>> parameterTypes)
Creates an executable reference.<T> CtExecutableReference<T>
ExecutableFactory. createReference(CtTypeReference<?> declaringType, CtTypeReference<T> type, String methodName, CtTypeReference<?>... parameterTypes)
Creates an executable reference.<T> CtExecutableReference<T>
MethodFactory. createReference(Method method)
Creates a method reference from an actual method.<T> CtExecutableReference<T>
MethodFactory. createReference(CtMethod<T> m)
Creates a method reference.Methods in spoon.reflect.factory with parameters of type CtExecutableReference Modifier and Type Method Description <T> CtInvocation<T>
CodeFactory. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)
Creates an invocation (can be a statement or an expression).<T> CtInvocation<T>
CodeFactory. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)
Creates an invocation (can be a statement or an expression).<T> CtInvocation<T>
Factory. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)
<T> CtInvocation<T>
Factory. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)
<T> CtInvocation<T>
FactoryImpl. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)
<T> CtInvocation<T>
FactoryImpl. createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)
-
Uses of CtExecutableReference in spoon.reflect.reference
Methods in spoon.reflect.reference with type parameters of type CtExecutableReference Modifier and Type Method Description <C extends CtExecutableReference<T>>
CCtExecutableReference. setDeclaringType(CtTypeReference<?> declaringType)
Sets the declaring type.<C extends CtExecutableReference<T>>
CCtExecutableReference. setParameters(List<CtTypeReference<?>> parameters)
Sets parameters of the executable.<C extends CtExecutableReference<T>>
CCtExecutableReference. setStatic(boolean b)
Sets this executable reference to be static or not.<C extends CtExecutableReference<T>>
CCtExecutableReference. setType(CtTypeReference type)
Sets the type of the variable.Methods in spoon.reflect.reference that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<T>
CtExecutableReference. clone()
CtExecutableReference<?>
CtParameterReference. getDeclaringExecutable()
Gets the declaring executable of the referenced parameter.CtExecutableReference<?>
CtExecutableReference. getOverridingExecutable()
Returns the method overridden by this one, if exists (null otherwise).<S extends T>
CtExecutableReference<S>CtExecutableReference. getOverridingExecutable(CtTypeReference<?> subType)
Gets an overriding executable for this executable from a given subtype, if exists.Methods in spoon.reflect.reference with parameters of type CtExecutableReference Modifier and Type Method Description boolean
CtExecutableReference. isOverriding(CtExecutableReference<?> executable)
Returnstrue
if this executable overrides the given executable. -
Uses of CtExecutableReference in spoon.reflect.visitor
Fields in spoon.reflect.visitor with type parameters of type CtExecutableReference Modifier and Type Field Description protected Map<String,CtExecutableReference<?>>
ImportScannerImpl. methodImports
Methods in spoon.reflect.visitor with parameters of type CtExecutableReference Modifier and Type Method Description protected boolean
ImportScannerImpl. addMethodImport(CtExecutableReference ref)
protected boolean
ImportScannerImpl. isImportedInMethodImports(CtExecutableReference<?> ref)
<T> void
CtAbstractVisitor. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
CtBiScannerDefault. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
CtInheritanceScanner. visitCtExecutableReference(CtExecutableReference<T> e)
<T> void
CtScanner. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
CtVisitor. visitCtExecutableReference(CtExecutableReference<T> reference)
Visits a reference to an executable.<T> void
DefaultJavaPrettyPrinter. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
ImportScannerImpl. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
CtAbstractImportVisitor. visitMethodImport(CtExecutableReference<T> executableReference)
<T> void
CtImportVisitor. visitMethodImport(CtExecutableReference<T> executableReference)
Called for import like:import apackage.Type.staticMethod;
-
Uses of CtExecutableReference in spoon.reflect.visitor.filter
Methods in spoon.reflect.visitor.filter with parameters of type CtExecutableReference Modifier and Type Method Description boolean
ExecutableReferenceFilter. matches(CtExecutableReference<?> execRef)
Constructors in spoon.reflect.visitor.filter with parameters of type CtExecutableReference Constructor Description InvocationFilter(CtExecutableReference<?> executable)
Creates a new invocation filter. -
Uses of CtExecutableReference in spoon.support
Methods in spoon.support that return CtExecutableReference Modifier and Type Method Description <T> CtExecutableReference<T>
DefaultCoreFactory. createExecutableReference()
-
Uses of CtExecutableReference in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<?>
ReferenceBuilder. getLambdaExecutableReference(org.eclipse.jdt.internal.compiler.ast.SingleNameReference singleNameReference)
In noclasspath, lambda doesn't have always a binding for their variables accesses in their block/expression. -
Uses of CtExecutableReference in spoon.support.reflect.code
Methods in spoon.support.reflect.code that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<T>
CtConstructorCallImpl. getExecutable()
CtExecutableReference<T>
CtExecutableReferenceExpressionImpl. getExecutable()
CtExecutableReference<T>
CtInvocationImpl. getExecutable()
CtExecutableReference<T>
CtLambdaImpl. getReference()
Methods in spoon.support.reflect.code with parameters of type CtExecutableReference Modifier and Type Method Description <C extends CtAbstractInvocation<T>>
CCtConstructorCallImpl. setExecutable(CtExecutableReference<T> executable)
<C extends CtExecutableReferenceExpression<T,E>>
CCtExecutableReferenceExpressionImpl. setExecutable(CtExecutableReference<T> executable)
<C extends CtAbstractInvocation<T>>
CCtInvocationImpl. setExecutable(CtExecutableReference<T> executable)
-
Uses of CtExecutableReference in spoon.support.reflect.declaration
Methods in spoon.support.reflect.declaration that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<R>
CtExecutableImpl. getReference()
Methods in spoon.support.reflect.declaration that return types with arguments of type CtExecutableReference Modifier and Type Method Description Collection<CtExecutableReference<?>>
CtClassImpl. getAllExecutables()
adding the constructors and static executablesCollection<CtExecutableReference<?>>
CtTypeImpl. getAllExecutables()
Collection<CtExecutableReference<?>>
CtTypeParameterImpl. getAllExecutables()
Collection<CtExecutableReference<?>>
CtClassImpl. getDeclaredExecutables()
Collection<CtExecutableReference<?>>
CtInterfaceImpl. getDeclaredExecutables()
Collection<CtExecutableReference<?>>
CtTypeImpl. getDeclaredExecutables()
Collection<CtExecutableReference<?>>
CtTypeParameterImpl. getDeclaredExecutables()
-
Uses of CtExecutableReference in spoon.support.reflect.reference
Classes in spoon.support.reflect.reference that implement CtExecutableReference Modifier and Type Class Description class
CtExecutableReferenceImpl<T>
Methods in spoon.support.reflect.reference with type parameters of type CtExecutableReference Modifier and Type Method Description <C extends CtExecutableReference<T>>
CCtExecutableReferenceImpl. setDeclaringType(CtTypeReference<?> declaringType)
<C extends CtExecutableReference<T>>
CCtExecutableReferenceImpl. setParameters(List<CtTypeReference<?>> parameters)
<C extends CtExecutableReference<T>>
CCtExecutableReferenceImpl. setStatic(boolean stat)
<C extends CtExecutableReference<T>>
CCtExecutableReferenceImpl. setType(CtTypeReference type)
Methods in spoon.support.reflect.reference that return CtExecutableReference Modifier and Type Method Description CtExecutableReference<T>
CtExecutableReferenceImpl. clone()
CtExecutableReference<?>
CtParameterReferenceImpl. getDeclaringExecutable()
CtExecutableReference<?>
CtExecutableReferenceImpl. getOverridingExecutable()
<S extends T>
CtExecutableReference<S>CtExecutableReferenceImpl. getOverridingExecutable(CtTypeReference<?> subType)
Methods in spoon.support.reflect.reference that return types with arguments of type CtExecutableReference Modifier and Type Method Description Collection<CtExecutableReference<?>>
CtTypeReferenceImpl. getAllExecutables()
Collection<CtExecutableReference<?>>
CtTypeReferenceImpl. getDeclaredExecutables()
Methods in spoon.support.reflect.reference with parameters of type CtExecutableReference Modifier and Type Method Description boolean
CtExecutableReferenceImpl. isOverriding(CtExecutableReference<?> executable)
-
Uses of CtExecutableReference in spoon.support.util
Methods in spoon.support.util that return types with arguments of type CtExecutableReference Modifier and Type Method Description static Collection<CtExecutableReference<?>>
RtHelper. getAllExecutables(Class<?> clazz, Factory factory)
return all executables of this class -
Uses of CtExecutableReference in spoon.support.visitor
Methods in spoon.support.visitor with parameters of type CtExecutableReference Modifier and Type Method Description MethodTypingContext
MethodTypingContext. setExecutableReference(CtExecutableReference<?> execRef)
<T> void
SignaturePrinter. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
TypeReferenceScanner. visitCtExecutableReference(CtExecutableReference<T> reference)
<T> void
SignaturePrinter. writeNameAndParameters(CtExecutableReference<T> reference)
writes only the name and parameters' types -
Uses of CtExecutableReference in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtExecutableReference Modifier and Type Method Description <T> void
CloneBuilder. visitCtExecutableReference(CtExecutableReference<T> e)
<T> void
CloneVisitor. visitCtExecutableReference(CtExecutableReference<T> reference)
-
Uses of CtExecutableReference in spoon.support.visitor.equals
Methods in spoon.support.visitor.equals with parameters of type CtExecutableReference Modifier and Type Method Description <T> void
EqualsChecker. visitCtExecutableReference(CtExecutableReference<T> e)
-
Uses of CtExecutableReference in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtExecutableReference Modifier and Type Method Description <T> void
ReplacementVisitor. visitCtExecutableReference(CtExecutableReference<T> reference)
-