Uses of Interface
spoon.reflect.reference.CtExecutableReference
Packages that use CtExecutableReference
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.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtExecutableReference in spoon.reflect.code
Methods in spoon.reflect.code that return CtExecutableReferenceModifier and TypeMethodDescriptionCtAbstractInvocation.getExecutable()
Returns the invoked executable.CtExecutableReferenceExpression.getExecutable()
Gets the executable referenced by the expression.Methods in spoon.reflect.code with parameters of type CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceMethods in spoon.reflect.declaration that return types with arguments of type CtExecutableReferenceModifier and TypeMethodDescriptionCtTypeInformation.getAllExecutables()
Gets the executables declared by this type and by all its supertypes (static/instance methods, constructors, anonymous static blocks) if applicable.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 CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescriptionCtExecutableReference.clone()
CtParameterReference.getDeclaringExecutable()
Gets the declaring executable of the referenced parameter.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 CtExecutableReferenceModifier and TypeMethodDescriptionboolean
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 CtExecutableReferenceModifier and TypeFieldDescriptionprotected Map<String,CtExecutableReference<?>>
ImportScannerImpl.methodImports
Methods in spoon.reflect.visitor with parameters of type CtExecutableReferenceModifier and TypeMethodDescriptionprotected 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 CtExecutableReferenceModifier and TypeMethodDescriptionboolean
ExecutableReferenceFilter.matches(CtExecutableReference<?> execRef)
Constructors in spoon.reflect.visitor.filter with parameters of type CtExecutableReferenceModifierConstructorDescriptionInvocationFilter(CtExecutableReference<?> executable)
Creates a new invocation filter. -
Uses of CtExecutableReference in spoon.support
Methods in spoon.support that return CtExecutableReferenceModifier and TypeMethodDescription<T> CtExecutableReference<T>
DefaultCoreFactory.createExecutableReference()
-
Uses of CtExecutableReference in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt that return CtExecutableReferenceModifier and TypeMethodDescriptionReferenceBuilder.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 CtExecutableReferenceModifier and TypeMethodDescriptionCtConstructorCallImpl.getExecutable()
CtExecutableReferenceExpressionImpl.getExecutable()
CtInvocationImpl.getExecutable()
CtLambdaImpl.getReference()
Methods in spoon.support.reflect.code with parameters of type CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceMethods in spoon.support.reflect.declaration that return types with arguments of type CtExecutableReferenceModifier and TypeMethodDescriptionCtClassImpl.getAllExecutables()
adding the constructors and static executablesCtTypeImpl.getAllExecutables()
CtTypeParameterImpl.getAllExecutables()
CtClassImpl.getDeclaredExecutables()
CtInterfaceImpl.getDeclaredExecutables()
CtTypeImpl.getDeclaredExecutables()
CtTypeParameterImpl.getDeclaredExecutables()
-
Uses of CtExecutableReference in spoon.support.reflect.reference
Classes in spoon.support.reflect.reference that implement CtExecutableReferenceMethods in spoon.support.reflect.reference with type parameters of type CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescriptionCtExecutableReferenceImpl.clone()
CtParameterReferenceImpl.getDeclaringExecutable()
CtExecutableReferenceImpl.getOverridingExecutable()
<S extends T>
CtExecutableReference<S>CtExecutableReferenceImpl.getOverridingExecutable(CtTypeReference<?> subType)
Methods in spoon.support.reflect.reference that return types with arguments of type CtExecutableReferenceModifier and TypeMethodDescriptionCtTypeReferenceImpl.getAllExecutables()
CtTypeReferenceImpl.getDeclaredExecutables()
Methods in spoon.support.reflect.reference with parameters of type CtExecutableReferenceModifier and TypeMethodDescriptionboolean
CtExecutableReferenceImpl.isOverriding(CtExecutableReference<?> executable)
-
Uses of CtExecutableReference in spoon.support.util
Methods in spoon.support.util that return types with arguments of type CtExecutableReferenceModifier and TypeMethodDescriptionstatic 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 CtExecutableReferenceModifier and TypeMethodDescriptionMethodTypingContext.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 CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescription<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 CtExecutableReferenceModifier and TypeMethodDescription<T> void
ReplacementVisitor.visitCtExecutableReference(CtExecutableReference<T> reference)