Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Z 

A

AbstractAnnotationProcessor<A extends Annotation,E extends CtElement> - Class in spoon.processing
This class defines an abstract annotation processor to be subclassed by the user for defining new annotation processors including Java 8 annotations.
AbstractAnnotationProcessor() - Constructor for class spoon.processing.AbstractAnnotationProcessor
Empty constructor only for all processors (invoked by Spoon).
AbstractAssert<T extends AbstractAssert<T,A>,A> - Class in spoon.testing
Base contract for all assertion objects: the minimum functionality that any assertion object should provide.
AbstractAssert(A, Class<?>) - Constructor for class spoon.testing.AbstractAssert
 
AbstractCtElementAssert<T extends AbstractCtElementAssert<T>> - Class in spoon.testing
 
AbstractCtElementAssert(CtElement, Class<?>) - Constructor for class spoon.testing.AbstractCtElementAssert
 
AbstractCtPackageAssert<T extends AbstractCtPackageAssert<T>> - Class in spoon.testing
 
AbstractCtPackageAssert(CtPackage, Class<?>) - Constructor for class spoon.testing.AbstractCtPackageAssert
 
AbstractFileAssert<T extends AbstractFileAssert<T>> - Class in spoon.testing
 
AbstractFileAssert(File, Class<?>) - Constructor for class spoon.testing.AbstractFileAssert
 
AbstractFilter<T extends CtElement> - Class in spoon.reflect.visitor.filter
Defines an abstract filter based on matching on the element types.
AbstractFilter(Class<? super T>) - Constructor for class spoon.reflect.visitor.filter.AbstractFilter
Creates a filter with the type of the potentially matching elements.
AbstractFilter() - Constructor for class spoon.reflect.visitor.filter.AbstractFilter
Creates a filter with the type computed by reflection from the matches method parameter
AbstractManualProcessor - Class in spoon.processing
This class defines an abstract processor to be subclassed by the user for defining new manual processors.
AbstractManualProcessor() - Constructor for class spoon.processing.AbstractManualProcessor
Empty constructor only for all processors (invoked by Spoon).
AbstractNode - Class in spoon.pattern.internal.node
Represents a parameterized Pattern ValueResolver, which can be used to generate a zero, one or more copies of model using provided parameters to match zero, one or more instances of model and deliver a matching parameters
AbstractNode() - Constructor for class spoon.pattern.internal.node.AbstractNode
 
AbstractParameterInfo - Class in spoon.pattern.internal.parameter
 
AbstractParameterInfo(ParameterInfo) - Constructor for class spoon.pattern.internal.parameter.AbstractParameterInfo
 
AbstractPathElement<P extends CtElement,T extends CtElement> - Class in spoon.reflect.path.impl
Partial implementation for CtPathElement
AbstractPathElement() - Constructor for class spoon.reflect.path.impl.AbstractPathElement
 
AbstractProblemFixer<T extends CtElement> - Class in spoon.processing
To be subclassed when defining a new problem fixer.
AbstractProblemFixer() - Constructor for class spoon.processing.AbstractProblemFixer
Default constructor.
AbstractProcessor<E extends CtElement> - Class in spoon.processing
This class defines an abstract processor to be subclassed by the user for defining new processors.
AbstractProcessor() - Constructor for class spoon.processing.AbstractProcessor
Empty constructor only for all processors (invoked by Spoon).
AbstractReferenceFilter<T extends CtReference> - Class in spoon.reflect.visitor.filter
This class defines an abstract reference filter that needs to be subclassed in order to define the matching criteria.
AbstractReferenceFilter(Class<? super T>) - Constructor for class spoon.reflect.visitor.filter.AbstractReferenceFilter
Creates a reference filter with the type of the potentially matching references.
AbstractReferenceFilter() - Constructor for class spoon.reflect.visitor.filter.AbstractReferenceFilter
Creates a filter with the type computed by reflection from the matches method parameter
AbstractRenameRefactoring<T extends CtNamedElement> - Class in spoon.refactoring
abstract implementation of rename element refactoring
AbstractRenameRefactoring(Pattern) - Constructor for class spoon.refactoring.AbstractRenameRefactoring
 
AbstractTemplate<T extends CtElement> - Class in spoon.template
handles the well-formedness and helper methods of templates
AbstractTemplate() - Constructor for class spoon.template.AbstractTemplate
 
accept(CtVisitor) - Method in class spoon.reflect.factory.ModuleFactory.CtUnnamedModule
 
accept(T) - Method in interface spoon.reflect.visitor.chain.CtConsumer
Implement this method to do something with object "t" passed as parameter
accept(CtVisitor) - Method in interface spoon.reflect.visitor.CtVisitable
Accepts a visitor
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtAnnotationFieldAccessImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtArrayReadImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtArrayWriteImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtAssertImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtAssignmentImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtBlockImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtBreakImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCaseImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCatchImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCatchVariableImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCodeSnippetStatementImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtCommentImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtConditionalImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtContinueImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtDoImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtExecutableReferenceExpressionImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtFieldReadImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtFieldWriteImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtForEachImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtForImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtIfImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtInvocationImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtJavaDocImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtJavaDocTagImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtLambdaImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtLiteralImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtNewClassImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtOperatorAssignmentImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtReturnImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtStatementListImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtSuperAccessImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtSwitchImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtSynchronizedImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtThisAccessImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtThrowImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtTryImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtTryWithResourceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtTypeAccessImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtVariableReadImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtVariableWriteImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.code.CtWhileImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtAnnotationMethodImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtAnnotationTypeImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtClassImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtConstructorImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtEnumValueImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtImportImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtInterfaceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtMethodImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtModuleRequirementImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtPackageExportImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtParameterImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtProvidedServiceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.declaration.CtUsedServiceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtCatchVariableReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtModuleReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtUnboundVariableReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
 
accept(CtVisitor) - Method in class spoon.support.reflect.reference.CtWildcardReferenceImpl
 
acceptResult(CompilationResult) - Method in class spoon.support.compiler.jdt.TreeBuilderRequestor
 
AccessibleVariablesFinder - Class in spoon.reflect.visitor
Find local variables catch, parameters, fields, super fields
AccessibleVariablesFinder(CtElement) - Constructor for class spoon.reflect.visitor.AccessibleVariablesFinder
 
Action - Class in spoon.support.modelobs.action
defines an action change on the model
ActionBasedChangeListener - Interface in spoon.support.modelobs
notifies all change on the AST
ActionBasedChangeListenerImpl - Class in spoon.support.modelobs
This listener will propagate the change to the listener
ActionBasedChangeListenerImpl() - Constructor for class spoon.support.modelobs.ActionBasedChangeListenerImpl
 
actual - Variable in class spoon.testing.AbstractAssert
 
adaptType(CtTypeInformation) - Method in interface spoon.support.visitor.GenericTypeAdapter
adapts `type` to the CtTypeReference of the scope of this GenericTypeAdapter This mapping function is able to resolve CtTypeParameter of:
A) input type or any super class or any enclosing class of input type or it's super class
B) super interfaces of input type or super interfaces of it's super classes.
The type reference is adapted recursive including all it's actual type arguments and bounds.
adaptTypeParameter(CtTypeParameter) - Method in class spoon.support.visitor.ClassTypingContext
adapts `typeParam` to the CtTypeReference of scope of this ClassTypingContext In can be CtTypeParameterReference again - depending actual type arguments of this ClassTypingContext.
adaptTypeParameter(CtTypeParameter) - Method in class spoon.support.visitor.MethodTypingContext
Adapts `typeParam` to the CtTypeReference of scope of this MethodTypingContext In can be CtTypeParameterReference again - depending actual type arguments of this MethodTypingContext.
add(T) - Method in class spoon.support.util.ModelList
 
add(int, T) - Method in class spoon.support.util.ModelList
 
add(T) - Method in class spoon.support.util.ModelSet
 
add(E) - Method in class spoon.support.util.SortedList
 
add(int, E) - Method in class spoon.support.util.SortedList
 
AddAction<T> - Class in spoon.support.modelobs.action
 
AddAction(Context, T) - Constructor for class spoon.support.modelobs.action.AddAction
 
addActualTypeArgument(CtTypeReference<?>) - Method in interface spoon.reflect.code.CtConstructorCall
Delegate to the executable reference of the constructor call.
addActualTypeArgument(CtTypeReference<?>) - Method in interface spoon.reflect.code.CtInvocation
Delegate to the executable reference of the invocation.
addActualTypeArgument(CtTypeReference<?>) - Method in interface spoon.reflect.code.CtNewClass
Delegate to the executable reference of the new class.
addActualTypeArgument(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtActualTypeContainer
Adds a type argument.
addActualTypeArgument(CtTypeReference<?>) - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
addActualTypeArgument(CtTypeReference<?>) - Method in class spoon.support.reflect.code.CtInvocationImpl
 
addActualTypeArgument(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
addActualTypeArgument(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
addActualTypeArgument(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
addAll(Collection<? extends E>) - Method in class spoon.support.util.SortedList
 
addAnnotation(CtAnnotation<? extends Annotation>) - Method in interface spoon.reflect.declaration.CtElement
Add an annotation for this element
addAnnotation(CtAnnotation<? extends Annotation>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.AnnotationRuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.PackageRuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.TypeReferenceRuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addAnnotation(CtAnnotation<Annotation>) - Method in class spoon.support.visitor.java.internal.VariableRuntimeBuilderContext
 
addAnonymousExecutable(CtAnonymousExecutable) - Method in interface spoon.reflect.declaration.CtClass
Add an anonymous block to this class.
addAnonymousExecutable(CtAnonymousExecutable) - Method in class spoon.support.reflect.declaration.CtClassImpl
 
addArgument(CtExpression<?>) - Method in interface spoon.reflect.code.CtAbstractInvocation
Adds an argument expression to the invocation.
addArgument(String, String) - Method in class spoon.reflect.path.impl.AbstractPathElement
 
addArgument(String, String) - Method in interface spoon.reflect.path.impl.CtPathElement
Add a path argument.
addArgument(CtExpression<?>) - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
addArgument(CtExpression<?>) - Method in class spoon.support.reflect.code.CtInvocationImpl
 
addBound(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtIntersectionTypeReference
Adds a bound.
addBound(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeParameterReference
Adds a bound.
addBound(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
 
addBound(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
addCase(PrimitiveMatcher, RootNode) - Method in class spoon.pattern.internal.node.SwitchNode
Adds another case into this switch statement
addCase(CtCase<? super S>) - Method in interface spoon.reflect.code.CtSwitch
Adds a case;
addCase(CtCase<? super S>) - Method in class spoon.support.reflect.code.CtSwitchImpl
 
addCatcher(CtCatch) - Method in interface spoon.reflect.code.CtTry
Adds a catch block.
addCatcher(CtCatch) - Method in class spoon.support.reflect.code.CtTryImpl
 
addClassImport(CtTypeReference<?>) - Method in class spoon.reflect.visitor.ImportScannerImpl
Adds a type to the classImports.
addClassImport(CtTypeReference<?>) - Method in class spoon.reflect.visitor.MinimalImportScanner
 
addClone(Collection<T>, T) - Method in class spoon.support.visitor.equals.CloneHelper
clones a element and adds it's clone as value into targetCollection
addClone(Map<String, T>, String, T) - Method in class spoon.support.visitor.equals.CloneHelper
clones a value and adds it's clone as value into targetMap under key
addComment(CtComment) - Method in interface spoon.reflect.declaration.CtElement
Add a comment to the current element element.addComment(element.getFactory().Code().createComment("comment", CtComment.CommentType.INLINE)
addComment(CtComment) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
addCompilationUnitFilter(CompilationUnitFilter) - Method in interface spoon.SpoonModelBuilder
Adds filter.
addCompilationUnitFilter(CompilationUnitFilter) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addConstructor(CtConstructor<T>) - Method in interface spoon.reflect.declaration.CtClass
Adds a constructor to this class.
addConstructor(CtConstructor<T>) - Method in class spoon.support.reflect.declaration.CtClassImpl
 
addConstructor(CtConstructor<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addConsumedAnnotationType(Class<? extends A>) - Method in class spoon.processing.AbstractAnnotationProcessor
Adds a consumed annotation type (to be used in subclasses constructors).
addDeclaredType(CtType) - Method in interface spoon.reflect.cu.CompilationUnit
Add a type to the list of declared types
addDeclaredType(CtType) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
addDimensionExpression(CtExpression<Integer>) - Method in interface spoon.reflect.code.CtNewArray
Adds a dimension expression.
addDimensionExpression(CtExpression<Integer>) - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
addElement(CtExpression<?>) - Method in interface spoon.reflect.code.CtNewArray
Adds an element.
addElement(CtExpression<?>) - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
addEnumValue(CtEnumValue<?>) - Method in interface spoon.reflect.declaration.CtEnum
Adds an enum value.
addEnumValue(CtEnumValue<?>) - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
addEnumValue(CtEnumValue<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addExecutable(CtExecutable<?>) - Method in class spoon.reflect.visitor.filter.ExecutableReferenceFilter
Add next CtExecutable whose CtExecutableReferences has to be matched
addExportedPackage(CtPackageExport) - Method in interface spoon.reflect.declaration.CtModule
 
addExportedPackage(CtPackageExport) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addField(CtField<F>) - Method in interface spoon.reflect.declaration.CtType
add a field at the end of the field list.
addField(int, CtField<F>) - Method in interface spoon.reflect.declaration.CtType
add a field at a given position.
addField(CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addField(int, CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addField(CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addField(int, CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addField(CtField<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addField(CtField<?>) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addFieldAtTop(CtField<F>) - Method in interface spoon.reflect.declaration.CtType
Adds a field at the top of the type (before static block).
addFieldAtTop(CtField<F>) - Method in interface spoon.reflect.declaration.CtTypeParameter
 
addFieldAtTop(CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addFieldAtTop(CtField<F>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addFieldImport(CtFieldReference) - Method in class spoon.reflect.visitor.ImportScannerImpl
 
addFieldImport(CtFieldReference) - Method in class spoon.reflect.visitor.MinimalImportScanner
 
addFile(SpoonFile) - Method in interface spoon.compiler.SpoonFolder
Adds a file in this folder
addFile(SpoonFile) - Method in class spoon.support.compiler.FileSystemFolder
 
addFile(SpoonFile) - Method in class spoon.support.compiler.VirtualFolder
 
addFile(SpoonFile) - Method in class spoon.support.compiler.ZipFolder
 
addFirst(CtPathElement) - Method in class spoon.reflect.path.impl.CtPathImpl
 
addFolder(SpoonFolder) - Method in interface spoon.compiler.SpoonFolder
Adds a sub folder in this folder
addFolder(SpoonFolder) - Method in class spoon.support.compiler.FileSystemFolder
 
addFolder(SpoonFolder) - Method in class spoon.support.compiler.VirtualFolder
 
addFolder(SpoonFolder) - Method in class spoon.support.compiler.ZipFolder
 
addForInit(CtStatement) - Method in interface spoon.reflect.code.CtFor
Adds an init statement.
addForInit(CtStatement) - Method in class spoon.support.reflect.code.CtForImpl
 
addFormalCtTypeParameter(CtTypeParameter) - Method in interface spoon.reflect.declaration.CtFormalTypeDeclarer
Add a type parameter to this generic element.
addFormalCtTypeParameter(CtTypeParameter) - Method in class spoon.support.reflect.declaration.CtConstructorImpl
 
addFormalCtTypeParameter(CtTypeParameter) - Method in class spoon.support.reflect.declaration.CtMethodImpl
 
addFormalCtTypeParameter(CtTypeParameter) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addFormalType(CtTypeParameter) - Method in class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
addFormalType(CtTypeParameter) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addFormalType(CtTypeParameter) - Method in class spoon.support.visitor.java.internal.TypeReferenceRuntimeBuilderContext
 
addFormalType(CtTypeParameter) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addForUpdate(CtStatement) - Method in interface spoon.reflect.code.CtFor
Adds an update statement.
addForUpdate(CtStatement) - Method in class spoon.support.reflect.code.CtForImpl
 
addGeneratedBy(boolean) - Method in class spoon.template.AbstractTemplate
 
addImplementationType(CtTypeReference) - Method in interface spoon.reflect.declaration.CtProvidedService
 
addImplementationType(CtTypeReference) - Method in class spoon.support.reflect.declaration.CtProvidedServiceImpl
 
addImplementingInterface(CtTypeInformation) - Method in class spoon.reflect.visitor.filter.LambdaFilter
Allows to search for lambdas implemented by different interfaces.
addInput(Object...) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
adds list of elements which will be used as input of the query too
addInput(Iterable<?>) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
addInputResource(String) - Method in class spoon.Launcher
 
addInputResource(SpoonResource) - Method in class spoon.Launcher
adds a resource to be parsed to build the spoon model
addInputResource(String) - Method in interface spoon.SpoonAPI
Adds an input resource to be processed by Spoon (either a file or a folder).
addInputSource(File) - Method in interface spoon.SpoonModelBuilder
Adds a file/directory to be built.
addInputSource(SpoonResource) - Method in interface spoon.SpoonModelBuilder
Adds a file/directory (as a SpoonResource) to be built.
addInputSource(File) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addInputSource(SpoonResource) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addInputSources(List<SpoonResource>) - Method in interface spoon.SpoonModelBuilder
Adds a list of files/directories (as a SpoonResource to be built.
addInputSources(List<SpoonResource>) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addLast(CtPathElement) - Method in class spoon.reflect.path.impl.CtPathImpl
 
addMethod(CtMethod<M>) - Method in interface spoon.reflect.declaration.CtAnnotationType
Adds a method to this type.
addMethod(CtMethod<M>) - Method in interface spoon.reflect.declaration.CtType
Adds a method to this type.
addMethod(CtMethod<M>) - Method in interface spoon.reflect.declaration.CtTypeParameter
 
addMethod(CtMethod<M>) - Method in class spoon.support.reflect.declaration.CtAnnotationTypeImpl
 
addMethod(CtMethod<M>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addMethod(CtMethod<M>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addMethod(CtMethod<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addMethod(CtMethod<?>) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addMethodImport(CtExecutableReference) - Method in class spoon.reflect.visitor.ImportScannerImpl
 
addMethodImport(CtExecutableReference) - Method in class spoon.reflect.visitor.MinimalImportScanner
 
addModifier(ModifierKind) - Method in interface spoon.reflect.declaration.CtModifiable
add a modifier
addModifier(ModifierKind) - Method in class spoon.support.reflect.code.CtCatchVariableImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.CtModifierHandler
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtConstructorImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtMethodImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtParameterImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addModifier(ModifierKind) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addModule(InheritanceModel) - Method in class spoon.internal.mavenlauncher.InheritanceModel
 
addModule(CtModule) - Method in class spoon.reflect.factory.ModuleFactory.CtUnnamedModule
 
addModuleDirective(CtModuleDirective) - Method in interface spoon.reflect.declaration.CtModule
 
addModuleDirective(CtModuleDirective) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addModuleDirectiveAt(int, CtModuleDirective) - Method in interface spoon.reflect.declaration.CtModule
 
addModuleDirectiveAt(int, CtModuleDirective) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addMultiType(CtTypeReference<?>) - Method in interface spoon.reflect.declaration.CtMultiTypedElement
Adds a type for the element.
addMultiType(CtTypeReference<?>) - Method in class spoon.support.reflect.code.CtCatchVariableImpl
 
addNestedType(CtType<N>) - Method in interface spoon.reflect.declaration.CtType
Add a nested type.
addNestedType(CtType<N>) - Method in interface spoon.reflect.declaration.CtTypeParameter
 
addNestedType(CtType<N>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addNestedType(CtType<N>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addOpenedPackage(CtPackageExport) - Method in interface spoon.reflect.declaration.CtModule
 
addOpenedPackage(CtPackageExport) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addPackage(CtPackage) - Method in interface spoon.reflect.declaration.CtPackage
add a subpackage
addPackage(CtPackage) - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
addPackage(CtPackage) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addPackage(CtPackage) - Method in class spoon.support.visitor.java.internal.TypeReferenceRuntimeBuilderContext
 
addPackage(CtPackage) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addParameter(CtParameter<?>) - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
 
addParameter(CtParameter<?>) - Method in interface spoon.reflect.declaration.CtExecutable
Add a parameter for this executable
addParameter(CtParameter<?>) - Method in class spoon.support.reflect.code.CtLambdaImpl
 
addParameter(CtParameter) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
addParameter(CtParameter<?>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
 
addParameter(CtParameter) - Method in class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
addParameter(CtParameter) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addProcessedAnnotationType(Class<? extends A>) - Method in class spoon.processing.AbstractAnnotationProcessor
Adds a processed annotation type (to be used in subclasses constructors).
addProcessedElementType(Class<? extends CtElement>) - Method in class spoon.processing.AbstractManualProcessor
Invalid method in this context.
addProcessedElementType(Class<? extends CtElement>) - Method in class spoon.processing.AbstractProcessor
Adds a processed element type.
addProcessor(String) - Method in class spoon.Launcher
 
addProcessor(Processor<T>) - Method in class spoon.Launcher
 
addProcessor(Class<? extends Processor<?>>) - Method in interface spoon.processing.ProcessingManager
Adds a processor by instantiating its type (a class that must define an empty constructor).
addProcessor(Processor<?>) - Method in interface spoon.processing.ProcessingManager
Adds a processor.
addProcessor(String) - Method in interface spoon.processing.ProcessingManager
Adds a processor by instantiating its type (a class that must define an empty constructor and implement Processor).
addProcessor(String) - Method in interface spoon.SpoonAPI
Adds a processor (fully qualified name).
addProcessor(Processor<T>) - Method in interface spoon.SpoonAPI
Adds an instance of a processor.
addProcessor(Class<? extends Processor<?>>) - Method in class spoon.support.QueueProcessingManager
 
addProcessor(Processor<?>) - Method in class spoon.support.QueueProcessingManager
 
addProcessor(String) - Method in class spoon.support.QueueProcessingManager
 
addProcessor(Class<? extends Processor<?>>) - Method in class spoon.support.RuntimeProcessingManager
 
addProcessor(Processor<?>) - Method in class spoon.support.RuntimeProcessingManager
 
addProcessor(String) - Method in class spoon.support.RuntimeProcessingManager
 
addProvidedService(CtProvidedService) - Method in interface spoon.reflect.declaration.CtModule
 
addProvidedService(CtProvidedService) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addRequiredModule(CtModuleRequirement) - Method in interface spoon.reflect.declaration.CtModule
 
addRequiredModule(CtModuleRequirement) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addResource(CtLocalVariable<?>) - Method in interface spoon.reflect.code.CtTryWithResource
Adds a resource.
addResource(CtLocalVariable<?>) - Method in class spoon.support.reflect.code.CtTryWithResourceImpl
 
addResult(T) - Method in class spoon.pattern.internal.ResultHolder
adds a result into this result holder
addResult(T) - Method in class spoon.pattern.internal.ResultHolder.Multiple
 
addResult(T) - Method in class spoon.pattern.internal.ResultHolder.Single
 
addStatement(CtStatement) - Method in interface spoon.reflect.code.CtStatementList
Adds a statement at the end of the list.
addStatement(int, CtStatement) - Method in interface spoon.reflect.code.CtStatementList
Inserts the given statement at a specific position in the list of statements Shifts the statement currently at that position (if any) and any subsequent statements to the right (adds one to their indices).
addStatement(CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
 
addStatement(int, CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
 
addStatement(CtStatement) - Method in class spoon.support.reflect.code.CtCaseImpl
 
addStatement(int, CtStatement) - Method in class spoon.support.reflect.code.CtCaseImpl
 
addStatement(CtStatement) - Method in class spoon.support.reflect.code.CtStatementListImpl
 
addStatement(int, CtStatement) - Method in class spoon.support.reflect.code.CtStatementListImpl
 
addSuperInterface(CtTypeReference<S>) - Method in interface spoon.reflect.declaration.CtType
 
addSuperInterface(CtTypeReference<S>) - Method in interface spoon.reflect.declaration.CtTypeParameter
 
addSuperInterface(CtTypeReference<S>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addSuperInterface(CtTypeReference<S>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
addSuperType(CtTypeInformation) - Method in class spoon.support.visitor.SubInheritanceHierarchyResolver
Add another super type to this mapping function.
addTag(CtJavaDocTag) - Method in interface spoon.reflect.code.CtJavaDoc
Add a new tag at the end of the list
addTag(int, CtJavaDocTag) - Method in interface spoon.reflect.code.CtJavaDoc
Add a new tag at the index position
addTag(CtJavaDocTag) - Method in class spoon.support.reflect.code.CtJavaDocImpl
 
addTag(int, CtJavaDocTag) - Method in class spoon.support.reflect.code.CtJavaDocImpl
 
addTargetExport(CtModuleReference) - Method in interface spoon.reflect.declaration.CtPackageExport
 
addTargetExport(CtModuleReference) - Method in class spoon.support.reflect.declaration.CtPackageExportImpl
 
addTemplateResource(SpoonResource) - Method in class spoon.Launcher
 
addTemplateSource(File) - Method in interface spoon.SpoonModelBuilder
Adds a file/directory to be used to build templates.
addTemplateSource(SpoonResource) - Method in interface spoon.SpoonModelBuilder
Adds a file/directory (as a SpoonResource) to be used to build templates.
addTemplateSource(SpoonResource) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addTemplateSource(File) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addTemplateSources(List<SpoonResource>) - Method in interface spoon.SpoonModelBuilder
Adds a list of files/directories (as a CtResource) to be used to build templates.
addTemplateSources(List<SpoonResource>) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
addThrownType(CtTypeReference<? extends Throwable>) - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
 
addThrownType(CtTypeReference<? extends Throwable>) - Method in interface spoon.reflect.declaration.CtExecutable
add a thrown type.
addThrownType(CtTypeReference<? extends Throwable>) - Method in class spoon.support.reflect.code.CtLambdaImpl
 
addThrownType(CtTypeReference) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
addThrownType(CtTypeReference<? extends Throwable>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
 
addToType(Class<T>, Map<String, Object>, CtType<?>) - Method in interface spoon.pattern.Generator
Adds type members (fields and methods) to `targetType`.
addToType(Class<T>, Map<String, Object>, CtType<?>) - Method in class spoon.pattern.internal.DefaultGenerator
 
addType(CtType<?>) - Method in interface spoon.reflect.declaration.CtPackage
Adds a type to this package.
addType(CtType<?>) - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
addType(CtType<?>) - Method in class spoon.support.visitor.java.internal.PackageRuntimeBuilderContext
 
addType(CtType<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addType(CtType<?>) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addTypeCast(CtTypeReference<?>) - Method in interface spoon.reflect.code.CtExpression
Adds a type cast.
addTypeCast(CtTypeReference<?>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
 
addTypeCast(CtTypeReference<?>) - Method in class spoon.support.reflect.code.CtExpressionImpl
 
addTypeMember(CtTypeMember) - Method in interface spoon.reflect.declaration.CtType
Adds a type member at the end of all type member of the type.
addTypeMember(CtTypeMember) - Method in class spoon.support.reflect.declaration.CtTypeImpl
Adds a type member.
addTypeMemberAt(int, CtTypeMember) - Method in interface spoon.reflect.declaration.CtType
Adds a type member at a given position.
addTypeMemberAt(int, CtTypeMember) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in class spoon.support.visitor.java.internal.AnnotationRuntimeBuilderContext
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in interface spoon.support.visitor.java.internal.RuntimeBuilderContext
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in class spoon.support.visitor.java.internal.TypeReferenceRuntimeBuilderContext
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in class spoon.support.visitor.java.internal.TypeRuntimeBuilderContext
 
addTypeReference(CtRole, CtTypeReference<?>) - Method in class spoon.support.visitor.java.internal.VariableRuntimeBuilderContext
 
addUsedService(CtUsedService) - Method in interface spoon.reflect.declaration.CtModule
 
addUsedService(CtUsedService) - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
addValue(String, Object) - Method in interface spoon.reflect.declaration.CtAnnotation
Adds a new key-value pair for this annotation
addValue(String, CtLiteral<?>) - Method in interface spoon.reflect.declaration.CtAnnotation
Adds a new key-literal pair for this annotation.
addValue(String, CtNewArray<? extends CtExpression>) - Method in interface spoon.reflect.declaration.CtAnnotation
Adds a new key-array pair for this annotation.
addValue(String, CtFieldAccess<?>) - Method in interface spoon.reflect.declaration.CtAnnotation
Adds a new key-field access pair for this annotation.
addValue(String, CtAnnotation<?>) - Method in interface spoon.reflect.declaration.CtAnnotation
Adds a new key-annotation pair for this annotation.
addValue(String, Object) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
addValue(String, CtLiteral<?>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
addValue(String, CtNewArray<? extends CtExpression>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
addValue(String, CtFieldAccess<?>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
addValue(String, CtAnnotation<?>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
addValueAs(ImmutableMap, Object) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
addValueAs(Object, Function<Object, Object>) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
takes existing item value from the `container`, sends it as parameter into `merger` and get's new to be stored value stores that value into new `container` and returns it
addValueAs(Object, Function<Object, Object>) - Method in class spoon.pattern.internal.parameter.ListParameterInfo
 
addValueAs(Object, Function<Object, Object>) - Method in class spoon.pattern.internal.parameter.MapParameterInfo
 
addValueAs(ImmutableMap, Object) - Method in interface spoon.pattern.internal.parameter.ParameterInfo
Matches `value` into `parameters` under the name/structure defined by this ParameterInfo.
addValueAs(Object, Function<Object, Object>) - Method in class spoon.pattern.internal.parameter.SetParameterInfo
 
addValueToContainer(Object, Function<Object, Object>) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
adjustEndPosition(CtElement) - Method in class spoon.reflect.visitor.PrinterHelper
 
adjustStartPosition(CtElement) - Method in class spoon.reflect.visitor.PrinterHelper
writes as many newlines as needed to align the line number again between the element position and the current line number
AdvancedOptions<T extends AdvancedOptions<T>> - Class in spoon.compiler.builder
 
AdvancedOptions() - Constructor for class spoon.compiler.builder.AdvancedOptions
 
advancedOptions(AdvancedOptions<?>) - Method in interface spoon.compiler.builder.JDTBuilder
Advanced options for the compiler.
advancedOptions(AdvancedOptions<?>) - Method in class spoon.compiler.builder.JDTBuilderImpl
 
ALL_DIR_FILTER - Static variable in class spoon.Launcher
 
AllMethodsSameSignatureFunction - Class in spoon.reflect.visitor.filter
Returns all methods/lambdas with same signature in related inheritance hierarchies.
AllMethodsSameSignatureFunction() - Constructor for class spoon.reflect.visitor.filter.AllMethodsSameSignatureFunction
 
AllTypeMembersFunction - Class in spoon.reflect.visitor.filter
Expects CtType as input and produces all CtTypeMembers declared in input class or any super class or super interface
AllTypeMembersFunction() - Constructor for class spoon.reflect.visitor.filter.AllTypeMembersFunction
returns all type members
AllTypeMembersFunction(Class<?>) - Constructor for class spoon.reflect.visitor.filter.AllTypeMembersFunction
returns all type members which are instance of `memberClass`.
Example:
CtField allFields = ctType.map(new AllTypeMembersFunction(CtField.class)).list();
annotate(CtElement, Class<A>, String, Object) - Method in class spoon.reflect.factory.AnnotationFactory
Creates/updates an element's annotation value.
annotate(CtElement, CtTypeReference<A>, String, Object) - Method in class spoon.reflect.factory.AnnotationFactory
Creates/updates an element's annotation value.
annotate(CtElement, Class<A>) - Method in class spoon.reflect.factory.AnnotationFactory
Adds an annotation to an element.
annotate(CtElement, CtTypeReference<A>) - Method in class spoon.reflect.factory.AnnotationFactory
Adds an annotation to an element.
Annotation() - Method in interface spoon.reflect.factory.Factory
Access to AnnotationFactory subfactory
Annotation() - Method in class spoon.reflect.factory.FactoryImpl
The CtAnnotationType sub-factory.
AnnotationFactory - Class in spoon.reflect.factory
The CtAnnotationType sub-factory.
AnnotationFactory(Factory) - Constructor for class spoon.reflect.factory.AnnotationFactory
Creates an annotation sub-factory.
AnnotationFilter<E extends CtElement> - Class in spoon.reflect.visitor.filter
This filter matches all the elements annotated with a given annotation type.
AnnotationFilter(Class<? extends Annotation>) - Constructor for class spoon.reflect.visitor.filter.AnnotationFilter
Creates the filter.
AnnotationFilter(Class<E>, Class<? extends Annotation>) - Constructor for class spoon.reflect.visitor.filter.AnnotationFilter
Creates a new annotation filter.
AnnotationProcessingOptions<T extends AnnotationProcessingOptions<T>> - Class in spoon.compiler.builder
 
AnnotationProcessingOptions() - Constructor for class spoon.compiler.builder.AnnotationProcessingOptions
 
annotationProcessingOptions(AnnotationProcessingOptions<?>) - Method in interface spoon.compiler.builder.JDTBuilder
Annotation processing options for the compiler.
annotationProcessingOptions(AnnotationProcessingOptions<?>) - Method in class spoon.compiler.builder.JDTBuilderImpl
 
AnnotationProcessor<A extends Annotation,E extends CtElement> - Interface in spoon.processing
This interface defines an annotation processor.
AnnotationRuntimeBuilderContext - Class in spoon.support.visitor.java.internal
 
AnnotationRuntimeBuilderContext(CtAnnotation<Annotation>) - Constructor for class spoon.support.visitor.java.internal.AnnotationRuntimeBuilderContext
 
ANNOTATIONS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
ANONYMOUS_EXECUTABLES_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
apply(T, CtConsumer<Object>) - Method in interface spoon.reflect.visitor.chain.CtConsumableFunction
Evaluates the function on the given input.
apply(T) - Method in interface spoon.reflect.visitor.chain.CtFunction
Implement this method to transform the input typed by T into an object of type R
apply(CtExecutable<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.AllMethodsSameSignatureFunction
 
apply(CtTypeInformation, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.AllTypeMembersFunction
 
apply(CtCatchVariable<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.CatchVariableScopeFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.CtScannerFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.FieldReferenceFunction
 
apply(CtField<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.FieldScopeFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.LocalVariableReferenceFunction
 
apply(CtLocalVariable<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.LocalVariableScopeFunction
 
apply(CtMethod<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.OverriddenMethodQuery
 
apply(CtParameter<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.ParameterScopeFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.ParentFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.PotentialVariableDeclarationFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.SiblingsFunction
 
apply(CtTypeInformation, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.SubInheritanceHierarchyFunction
 
apply(CtTypeInformation, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction
 
apply(CtElement, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.VariableReferenceFunction
 
apply(CtVariable<?>, CtConsumer<Object>) - Method in class spoon.reflect.visitor.filter.VariableScopeFunction
 
apply(CtType<?>) - Method in class spoon.template.BlockTemplate
 
apply(CtType<?>) - Method in class spoon.template.ExpressionTemplate
 
apply(CtType<?>) - Method in class spoon.template.ExtensionTemplate
 
apply(CtType<?>) - Method in class spoon.template.StatementTemplate
 
apply(CtType<?>) - Method in interface spoon.template.Template
Returns the code which results from applying the template.
applyGeneratedBy(CtElement, String) - Method in class spoon.pattern.internal.DefaultGenerator
Adds a Generated by comment to the javadoc of generatedElement
asCollection(T) - Method in interface spoon.reflect.meta.RoleHandler
 
asCtIntersectionTypeReference() - Method in interface spoon.reflect.reference.CtTypeReference
Casts the type reference in CtIntersectionTypeReference.
asCtIntersectionTypeReference() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
asIterable() - Method in interface spoon.reflect.declaration.CtElement
Returns an Iterable instance of this CtElement, allowing for dfs traversal of its descendants.
asIterable() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
asJavaDoc() - Method in interface spoon.reflect.code.CtComment
Utility method to for casting the object, throws an exception if not of the correct type
asJavaDoc() - Method in class spoon.support.reflect.code.CtCommentImpl
 
asList(T) - Method in interface spoon.reflect.meta.RoleHandler
 
asMap(T) - Method in interface spoon.reflect.meta.RoleHandler
 
asMap() - Method in interface spoon.support.util.ImmutableMap
 
asMap() - Method in class spoon.support.util.ImmutableMapImpl
 
Assert - Class in spoon.testing
Entry point for assertion methods for different data types.
assertExists(T) - Static method in class spoon.testing.utils.Check
 
assertIsSame(A, E) - Static method in class spoon.testing.utils.Check
 
assertNotNull(T) - Static method in class spoon.testing.utils.Check
 
assertThat(String) - Static method in class spoon.testing.Assert
Create a new instance of FileAssert.
assertThat(File) - Static method in class spoon.testing.Assert
Create a new instance of FileAssert.
assertThat(CtElement) - Static method in class spoon.testing.Assert
Create a new instance of CtElementAssert.
assertThat(CtPackage) - Static method in class spoon.testing.Assert
Create a new instance of CtPackageAssert.
asSet(T) - Method in interface spoon.reflect.meta.RoleHandler
 
ASTPair - Class in spoon.support.compiler.jdt
 
ASTPair(CtElement, ASTNode) - Constructor for class spoon.support.compiler.jdt.ASTPair
 
AstParentConsistencyChecker - Class in spoon.reflect.visitor
 
AstParentConsistencyChecker() - Constructor for class spoon.reflect.visitor.AstParentConsistencyChecker
 
attachTo(Environment) - Method in class spoon.support.modelobs.ChangeCollector
Attaches itself to CtModel to listen to all changes of it's child elements TODO: it would be nicer if we might listen on changes on CtElement
autoWriteTabs() - Method in class spoon.reflect.visitor.PrinterHelper
 

B

beginOfLineIndex(int) - Method in interface spoon.reflect.cu.CompilationUnit
Helper method to get the begin index of the line that corresponds to the given index.
beginOfLineIndex(int) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
binaries(String) - Method in class spoon.compiler.builder.ClasspathOptions
 
binaries(File) - Method in class spoon.compiler.builder.ClasspathOptions
 
BinaryOperatorKind - Enum in spoon.reflect.code
This enumeration defines all the kinds of binary operators.
biScan(CtElement, CtElement) - Method in class spoon.reflect.visitor.CtAbstractBiScanner
This method is called to compare `element` and `other` when traversing two trees in parallel.
biScan(CtRole, CtElement, CtElement) - Method in class spoon.reflect.visitor.CtAbstractBiScanner
This method is called to compare `element` and `other` according to the role when traversing two trees in parallel.
biScan(CtElement, CtElement) - Method in class spoon.reflect.visitor.CtBiScannerDefault
 
biScan(CtRole, CtElement, CtElement) - Method in class spoon.reflect.visitor.CtBiScannerDefault
 
biScan(CtRole, Collection<? extends CtElement>, Collection<? extends CtElement>) - Method in class spoon.reflect.visitor.CtBiScannerDefault
 
biScan(CtRole, Collection<? extends CtElement>, Collection<? extends CtElement>) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
biScan(CtElement, CtElement) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
biScan(CtRole, CtElement, CtElement) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
block() - Method in class spoon.template.BlockTemplate
This method must be implemented to define the template block.
block() - Method in class spoon.template.TypedBlockTemplateParameter
This method must be implemented to define the template block.
BLOCK_COMMENT_END - Static variable in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
The end of a block/JavaDoc comment
BLOCK_COMMENT_START - Static variable in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
The beginning of a block comment
BLOCK_STATEMENTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
BlockTemplate - Class in spoon.template
This class represents a template parameter that defines a void block statement directly expressed in Java (no returns).
BlockTemplate() - Constructor for class spoon.template.BlockTemplate
Creates a new block template parameter.
BodyHolderSourcePosition - Interface in spoon.reflect.cu.position
This interface represents the position of a Method or Type declaration in a source file.
BodyHolderSourcePositionImpl - Class in spoon.support.reflect.cu.position
This class represents the position of a Java program element in a source file.
BodyHolderSourcePositionImpl(CompilationUnit, int, int, int, int, int, int, int, int, int[]) - Constructor for class spoon.support.reflect.cu.position.BodyHolderSourcePositionImpl
 
BOOLEAN - Variable in class spoon.reflect.factory.TypeFactory
 
BOOLEAN_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
 
booleanPrimitiveType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the boolean primitive type.
booleanType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the boolean type.
bootclasspath(String) - Method in class spoon.compiler.builder.ClasspathOptions
 
bootclasspath(String...) - Method in class spoon.compiler.builder.ClasspathOptions
 
box() - Method in interface spoon.reflect.reference.CtTypeReference
Returns the corresponding non-primitive type for a primitive type (the same type otherwise).
box() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
build() - Method in interface spoon.compiler.builder.JDTBuilder
Builds arguments.
build() - Method in class spoon.compiler.builder.JDTBuilderImpl
 
build() - Method in class spoon.compiler.builder.Options
 
build() - Method in class spoon.pattern.PatternBuilder
 
build() - Method in class spoon.reflect.path.CtPathBuilder
Build the CtPath
build() - Method in interface spoon.SpoonModelBuilder
Builds the program's model with this compiler's factory and stores the result into this factory.
build(JDTBuilder) - Method in interface spoon.SpoonModelBuilder
Builds the program's model with this compiler's factory and stores the result into this factory.
build() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
build(JDTBuilder) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
build() - Method in class spoon.support.compiler.jdt.JDTSnippetCompiler
 
build(JDTBuilder) - Method in class spoon.support.compiler.jdt.JDTSnippetCompiler
 
build(CloneBuilder, CtElement, CtElement) - Static method in class spoon.support.visitor.clone.CloneBuilder
 
build(String, String) - Static method in class spoon.testing.utils.ModelUtils
Utility method for testing: creates the model of `packageName` from src/test/java and returns the CtType corresponding to `className`
build(String, String, Factory) - Static method in class spoon.testing.utils.ModelUtils
Utility method for testing: creates the model of `packageName` and the factory from src/test/java and returns the CtType corresponding to `className`
build(Class<?>...) - Static method in class spoon.testing.utils.ModelUtils
Utility method for testing: creates the model of the given `classesToBuild` from src/test/java and returns the factory
build(Consumer<Launcher>, Class<?>...) - Static method in class spoon.testing.utils.ModelUtils
Utility method for testing: creates the model of the given `classesToBuild` from src/test/java and returns the factory and allows to configure the Launcher first using `config`
build(File...) - Static method in class spoon.testing.utils.ModelUtils
Builds the Spoon mode of the `filesToBuild` given as parameter
buildClass(Class<T>) - Static method in class spoon.testing.utils.ModelUtils
 
buildClass(Class<T>, boolean) - Static method in class spoon.testing.utils.ModelUtils
Builds and returns the Spoon model of `` classToBuild
buildClass(Consumer<Launcher>, Class<T>) - Static method in class spoon.testing.utils.ModelUtils
 
buildClassPath(String, String, MavenLauncher.SOURCE_TYPE) - Static method in class spoon.MavenLauncher
Call maven invoker to generate the classpath.
buildModel() - Method in class spoon.Launcher
 
buildModel() - Method in interface spoon.SpoonAPI
Builds the model
buildModel(CompilationUnitDeclaration[]) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
buildNoClasspath(Class<?>...) - Static method in class spoon.testing.utils.ModelUtils
Utility method for testing: creates the noclasspath model of the given `classesToBuild` from src/test/java and returns the factory
buildSources(JDTBuilder) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
buildSources(JDTBuilder) - Method in class spoon.support.compiler.jdt.JDTSnippetCompiler
 
buildTemplates(JDTBuilder) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
buildUnits(JDTBuilder, SpoonFolder, String[], String, boolean) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
Deprecated.
(since Spoon 7.0.0) The parameter buildOnlyOutdatedFiles is not used anymore.
buildUnits(JDTBuilder, SpoonFolder, String[], String) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
Build the CompilationUnit found in the source folder
buildUnitsAndModel(JDTBuilder, SpoonFolder, String[], String, boolean) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
Deprecated.
(since Spoon 7.0.0) The parameter buildOnlyOutdatedFiles is not used anymore.
buildUnitsAndModel(JDTBuilder, SpoonFolder, String[], String) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
Get the units from the given source folder and build the Spoon Model.
byCondition(Class<T>, Predicate<T>) - Method in class spoon.pattern.PatternParameterConfigurator
 
byFieldAccessOnVariable(String) - Method in class spoon.pattern.PatternParameterConfigurator
Add parameters for each field reference to variable named `variableName` For example this pattern model class Params { int paramA; int paramB; } void matcher(Params p) { return p.paramA + p.paramB; } called with `byFieldRefOfVariable("p")` will create pattern parameters: `paramA` and `paramB`
byFilter(Filter<?>) - Method in class spoon.pattern.PatternParameterConfigurator
All elements matched by Filter will be substituted by parameter value
byInvocation(CtMethod<?>) - Method in class spoon.pattern.PatternParameterConfigurator
each invocation of `method` will be replaces by parameter value
byLocalType(CtType<?>, String) - Method in class spoon.pattern.PatternParameterConfigurator
Searches for a type visible in scope `templateType`, whose simple name is equal to `localTypeSimpleName`
byNamedElement(String) - Method in class spoon.pattern.PatternParameterConfigurator
Any named element by it's simple name
byParameterValues(Map<String, Object>) - Method in class spoon.pattern.PatternParameterConfigurator
Deprecated.
Since Spoon 7.0.0
byReferenceName(String) - Method in class spoon.pattern.PatternParameterConfigurator
Any reference identified by it's simple name.
byRole(CtRole, Filter<?>) - Method in class spoon.pattern.PatternParameterConfigurator
Attribute defined by `role` of all elements matched by Filter will be substituted by parameter value
byString(String) - Method in class spoon.pattern.PatternParameterConfigurator
All spoon model string attributes whose value is equal to `stringMarker` are subject for substitution by current parameter
bySubstring(String) - Method in class spoon.pattern.PatternParameterConfigurator
All spoon model string attributes whose value contains whole string or a substring equal to `stringMarker` are subject for substitution by current parameter.
BYTE - Variable in class spoon.reflect.factory.TypeFactory
 
BYTE_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
 
byTemplateParameter() - Method in class spoon.pattern.PatternParameterConfigurator
Creates pattern parameter for each field of type TemplateParameter
byTemplateParameter(Map<String, Object>) - Method in class spoon.pattern.PatternParameterConfigurator
Deprecated.
since Spoon 7.0.0
byTemplateParameterReference(CtVariable<?>) - Method in class spoon.pattern.PatternParameterConfigurator
variable read/write of `variable` of type TemplateParameter
bytePrimitiveType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the byte primitive type.
ByteSerialization - Class in spoon.support.util
 
byteType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the byte type.
byType(Class<?>) - Method in class spoon.pattern.PatternParameterConfigurator
`type` itself and all the references to the `type` are subject for substitution by current parameter
byType(String) - Method in class spoon.pattern.PatternParameterConfigurator
type identified by `typeQualifiedName` itself and all the references (with arbitrary actual type arguments) to that type are subject for substitution by current parameter
byType(CtTypeReference<?>) - Method in class spoon.pattern.PatternParameterConfigurator
type referred by CtTypeReference `type` and all the references (with same actual type arguments) to that type are subject for substitution by current parameter
byVariable(String) - Method in class spoon.pattern.PatternParameterConfigurator
variable read/write of `variable`
byVariable(CtVariable<?>) - Method in class spoon.pattern.PatternParameterConfigurator
variable read/write of `variable`

C

calculate(CompilationUnit, List<CtType<?>>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
 
calculate(CompilationUnit, List<CtType<?>>) - Method in interface spoon.reflect.visitor.PrettyPrinter
Calculates the resulting source file for a list of types.
canAccess(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeReference
Checks visibility based on public, protected, package protected and private modifiers of type
canAccess(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
canBeBuilt(File, int) - Static method in class spoon.testing.utils.ModelUtils
checks that the file `outputDirectoryFile` can be parsed with Spoon , given a compliance level.
canBeBuilt(String, int) - Static method in class spoon.testing.utils.ModelUtils
checks that the file at path `outputDirectory` can be parsed with Spoon , given a compliance level.
canBeBuilt(File, int, boolean) - Static method in class spoon.testing.utils.ModelUtils
checks that the file `outputDirectoryFile` can be parsed with Spoon , given a compliance level and the noclasspath option.
canBeBuilt(String, int, boolean) - Static method in class spoon.testing.utils.ModelUtils
checks that the file at path `outputDirectory` can be parsed with Spoon , given a compliance level and noclasspath option.
canRemoveExpression(CtExpression<?>) - Method in class spoon.refactoring.CtParameterRemoveRefactoring
Detects whether `toBeRemovedExpression` can be safely removed during the refactoring
CASE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
CastInfo() - Constructor for class spoon.support.compiler.jdt.ContextBuilder.CastInfo
 
CASTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
castTo(Object, Class<T>) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
castTo(Object, Class<T>) - Method in class spoon.pattern.internal.parameter.ListParameterInfo
 
castTo(Object, Class<T>) - Method in class spoon.pattern.internal.parameter.MapParameterInfo
 
castTo(Object, Class<T>) - Method in class spoon.pattern.internal.parameter.SetParameterInfo
 
CATCH_CASES_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
CATCH_VARIABLE_MULTI_TYPES_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
CatchVariableReferenceFunction - Class in spoon.reflect.visitor.filter
This Query expects a CtCatchVariable as input and returns all CtCatchVariableReferences, which refers this input.
CatchVariableReferenceFunction() - Constructor for class spoon.reflect.visitor.filter.CatchVariableReferenceFunction
 
CatchVariableReferenceFunction(CtCatchVariable<?>) - Constructor for class spoon.reflect.visitor.filter.CatchVariableReferenceFunction
 
CatchVariableScopeFunction - Class in spoon.reflect.visitor.filter
This Query expects a CtCatchVariable as input and returns all CtElements, which are in visibility scope of that catch variable.
CatchVariableScopeFunction() - Constructor for class spoon.reflect.visitor.filter.CatchVariableScopeFunction
 
CatchVariableScopeFunction(CtScannerListener) - Constructor for class spoon.reflect.visitor.filter.CatchVariableScopeFunction
 
ChainOfMatchersImpl - Class in spoon.pattern.internal.matcher
Chain of RootNodes.
ChangeCollector - Class in spoon.support.modelobs
Listens on changes on the spoon model and remembers them
ChangeCollector() - Constructor for class spoon.support.modelobs.ChangeCollector
 
changeLocalVariableName(CtLocalVariable<?>, String) - Static method in class spoon.refactoring.Refactoring
Changes name of a CtLocalVariable.
changeMethodName(CtMethod<?>, String) - Static method in class spoon.refactoring.Refactoring
Changes name of a method, propagates the change in the executable references of the model.
Changes - Class in spoon.reflect
This class is a container for a list changes that may have occurred on a model because of a transformation.
Changes() - Constructor for class spoon.reflect.Changes
Creates an instance to be further initialized.
changesPresent() - Method in class spoon.IncrementalLauncher
Returns true, if any source code changes after previous build are present, and false otherwise.
changeTypeName(CtType<?>, String) - Static method in class spoon.refactoring.Refactoring
Changes name of a type element.
CHARACTER - Variable in class spoon.reflect.factory.TypeFactory
 
CHARACTER_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
 
characterPrimitiveType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the character primitive type.
characterType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the character type.
Check - Class in spoon.testing.utils
 
checkArgsAreAscending(int...) - Static method in class spoon.support.reflect.cu.position.SourcePositionImpl
fails when `values` are not sorted ascending It is used to check whether start/end values of SourcePosition are consistent
checkEquals(CtElement, CtElement) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
checker - Variable in class spoon.support.visitor.equals.EqualsVisitor
 
checkNewNameIsValid() - Method in class spoon.refactoring.AbstractRenameRefactoring
client may implement this method to check whether AbstractRenameRefactoring.newName is valid
checkpoint() - Method in interface spoon.support.util.ImmutableMap
 
checkpoint() - Method in class spoon.support.util.ImmutableMapImpl
 
checksAreSkipped() - Method in interface spoon.compiler.Environment
Tells whether Spoon does no checks at all.
checksAreSkipped() - Method in class spoon.support.StandardEnvironment
 
Child - Annotation Type in spoon.reflect.visitor
This annotation defines a method that contains children of an element of the meta model.
Class() - Method in interface spoon.reflect.factory.Factory
Access to ClassFactory subfactory
Class() - Method in class spoon.reflect.factory.FactoryImpl
The CtClass sub-factory.
ClassFactory - Class in spoon.reflect.factory
The CtClass sub-factory.
ClassFactory(Factory) - Constructor for class spoon.reflect.factory.ClassFactory
Creates a class sub-factory.
classImports - Variable in class spoon.reflect.visitor.ImportScannerImpl
 
classNamePresentInJavaLang(CtTypeReference<?>) - Method in class spoon.reflect.visitor.ImportScannerImpl
 
classpath(String) - Method in class spoon.compiler.builder.ClasspathOptions
 
classpath(String...) - Method in class spoon.compiler.builder.ClasspathOptions
 
ClasspathOptions<T extends ClasspathOptions<T>> - Class in spoon.compiler.builder
 
ClasspathOptions() - Constructor for class spoon.compiler.builder.ClasspathOptions
 
classpathOptions(ClasspathOptions<?>) - Method in interface spoon.compiler.builder.JDTBuilder
Classpath options for the compiler.
classpathOptions(ClasspathOptions<?>) - Method in class spoon.compiler.builder.JDTBuilderImpl
 
ClassTypingContext - Class in spoon.support.visitor
Helper class created from type X or reference to X.
ClassTypingContext(CtTypeReference<?>) - Constructor for class spoon.support.visitor.ClassTypingContext
 
ClassTypingContext(CtType<?>) - Constructor for class spoon.support.visitor.ClassTypingContext
 
clear() - Method in class spoon.support.util.EmptyClearableList
 
clear() - Method in class spoon.support.util.EmptyClearableSet
 
clear() - Method in class spoon.support.util.ModelList
 
clear() - Method in class spoon.support.util.ModelSet
 
clearConsumedAnnotationTypes() - Method in class spoon.processing.AbstractAnnotationProcessor
Clears the consumed annotation types.
clearProcessedAnnotationTypes() - Method in class spoon.processing.AbstractAnnotationProcessor
Clears the processed annotation types.
clearProcessedElementType() - Method in class spoon.processing.AbstractProcessor
Clears the processed element types.
clone() - Method in interface spoon.reflect.code.CtAnnotationFieldAccess
 
clone() - Method in interface spoon.reflect.code.CtArrayAccess
 
clone() - Method in interface spoon.reflect.code.CtArrayRead
 
clone() - Method in interface spoon.reflect.code.CtArrayWrite
 
clone() - Method in interface spoon.reflect.code.CtAssert
 
clone() - Method in interface spoon.reflect.code.CtAssignment
 
clone() - Method in interface spoon.reflect.code.CtBinaryOperator
 
clone() - Method in interface spoon.reflect.code.CtBlock
 
clone() - Method in interface spoon.reflect.code.CtBreak
 
clone() - Method in interface spoon.reflect.code.CtCase
 
clone() - Method in interface spoon.reflect.code.CtCatch
 
clone() - Method in interface spoon.reflect.code.CtCatchVariable
 
clone() - Method in interface spoon.reflect.code.CtCodeElement
 
clone() - Method in interface spoon.reflect.code.CtCodeSnippetExpression
 
clone() - Method in interface spoon.reflect.code.CtCodeSnippetStatement
 
clone() - Method in interface spoon.reflect.code.CtComment
 
clone() - Method in interface spoon.reflect.code.CtConditional
 
clone() - Method in interface spoon.reflect.code.CtConstructorCall
 
clone() - Method in interface spoon.reflect.code.CtContinue
 
clone() - Method in interface spoon.reflect.code.CtDo
 
clone() - Method in interface spoon.reflect.code.CtExecutableReferenceExpression
 
clone() - Method in interface spoon.reflect.code.CtExpression
 
clone() - Method in interface spoon.reflect.code.CtFieldAccess
 
clone() - Method in interface spoon.reflect.code.CtFieldRead
 
clone() - Method in interface spoon.reflect.code.CtFieldWrite
 
clone() - Method in interface spoon.reflect.code.CtFor
 
clone() - Method in interface spoon.reflect.code.CtForEach
 
clone() - Method in interface spoon.reflect.code.CtIf
 
clone() - Method in interface spoon.reflect.code.CtInvocation
 
clone() - Method in interface spoon.reflect.code.CtJavaDoc
 
clone() - Method in interface spoon.reflect.code.CtJavaDocTag
 
clone() - Method in interface spoon.reflect.code.CtLambda
 
clone() - Method in interface spoon.reflect.code.CtLiteral
Overriding return type, a clone of a CtLiteral returns a CtLiteral
clone() - Method in interface spoon.reflect.code.CtLocalVariable
 
clone() - Method in interface spoon.reflect.code.CtLoop
 
clone() - Method in interface spoon.reflect.code.CtNewArray
 
clone() - Method in interface spoon.reflect.code.CtNewClass
 
clone() - Method in interface spoon.reflect.code.CtOperatorAssignment
 
clone() - Method in interface spoon.reflect.code.CtReturn
 
clone() - Method in interface spoon.reflect.code.CtStatement
 
clone() - Method in interface spoon.reflect.code.CtStatementList
 
clone() - Method in interface spoon.reflect.code.CtSuperAccess
 
clone() - Method in interface spoon.reflect.code.CtSwitch
 
clone() - Method in interface spoon.reflect.code.CtSynchronized
 
clone() - Method in interface spoon.reflect.code.CtTargetedExpression
 
clone() - Method in interface spoon.reflect.code.CtThisAccess
 
clone() - Method in interface spoon.reflect.code.CtThrow
 
clone() - Method in interface spoon.reflect.code.CtTry
 
clone() - Method in interface spoon.reflect.code.CtTryWithResource
 
clone() - Method in interface spoon.reflect.code.CtTypeAccess
 
clone() - Method in interface spoon.reflect.code.CtUnaryOperator
 
clone() - Method in interface spoon.reflect.code.CtVariableAccess
 
clone() - Method in interface spoon.reflect.code.CtVariableRead
 
clone() - Method in interface spoon.reflect.code.CtVariableWrite
 
clone() - Method in interface spoon.reflect.code.CtWhile
 
clone() - Method in interface spoon.reflect.declaration.CtAnnotation
 
clone() - Method in interface spoon.reflect.declaration.CtAnnotationMethod
 
clone() - Method in interface spoon.reflect.declaration.CtAnnotationType
 
clone() - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
 
clone() - Method in interface spoon.reflect.declaration.CtClass
 
clone() - Method in interface spoon.reflect.declaration.CtConstructor
 
clone() - Method in interface spoon.reflect.declaration.CtElement
Clone the element which calls this method in a new object.
clone() - Method in interface spoon.reflect.declaration.CtEnum
 
clone() - Method in interface spoon.reflect.declaration.CtEnumValue
 
clone() - Method in interface spoon.reflect.declaration.CtExecutable
 
clone() - Method in interface spoon.reflect.declaration.CtField
 
clone() - Method in interface spoon.reflect.declaration.CtImport
 
clone() - Method in interface spoon.reflect.declaration.CtInterface
 
clone() - Method in interface spoon.reflect.declaration.CtMethod
 
clone() - Method in interface spoon.reflect.declaration.CtModule
 
clone() - Method in interface spoon.reflect.declaration.CtModuleRequirement
 
clone() - Method in interface spoon.reflect.declaration.CtNamedElement
 
clone() - Method in interface spoon.reflect.declaration.CtPackage
 
clone() - Method in interface spoon.reflect.declaration.CtPackageExport
 
clone() - Method in interface spoon.reflect.declaration.CtParameter
 
clone() - Method in interface spoon.reflect.declaration.CtProvidedService
 
clone() - Method in interface spoon.reflect.declaration.CtType
 
clone() - Method in interface spoon.reflect.declaration.CtTypeParameter
 
clone() - Method in interface spoon.reflect.declaration.CtUsedService
 
clone(T) - Method in interface spoon.reflect.factory.CoreFactory
Recursively clones a given element of the metamodel and all its child elements.
clone() - Method in interface spoon.reflect.reference.CtArrayTypeReference
 
clone() - Method in interface spoon.reflect.reference.CtCatchVariableReference
 
clone() - Method in interface spoon.reflect.reference.CtExecutableReference
 
clone() - Method in interface spoon.reflect.reference.CtFieldReference
 
clone() - Method in interface spoon.reflect.reference.CtIntersectionTypeReference
 
clone() - Method in interface spoon.reflect.reference.CtLocalVariableReference
 
clone() - Method in interface spoon.reflect.reference.CtModuleReference
 
clone() - Method in interface spoon.reflect.reference.CtPackageReference
 
clone() - Method in interface spoon.reflect.reference.CtParameterReference
 
clone() - Method in interface spoon.reflect.reference.CtReference
 
clone() - Method in interface spoon.reflect.reference.CtTypeParameterReference
 
clone() - Method in interface spoon.reflect.reference.CtTypeReference
 
clone() - Method in interface spoon.reflect.reference.CtUnboundVariableReference
 
clone() - Method in interface spoon.reflect.reference.CtVariableReference
 
clone() - Method in interface spoon.reflect.reference.CtWildcardReference
 
clone(T) - Method in class spoon.support.DefaultCoreFactory
 
clone() - Method in class spoon.support.reflect.code.CtAnnotationFieldAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtArrayAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtArrayReadImpl
 
clone() - Method in class spoon.support.reflect.code.CtArrayWriteImpl
 
clone() - Method in class spoon.support.reflect.code.CtAssertImpl
 
clone() - Method in class spoon.support.reflect.code.CtAssignmentImpl
 
clone() - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
 
clone() - Method in class spoon.support.reflect.code.CtBlockImpl
 
clone() - Method in class spoon.support.reflect.code.CtBreakImpl
 
clone() - Method in class spoon.support.reflect.code.CtCaseImpl
 
clone() - Method in class spoon.support.reflect.code.CtCatchImpl
 
clone() - Method in class spoon.support.reflect.code.CtCatchVariableImpl
 
clone() - Method in class spoon.support.reflect.code.CtCodeElementImpl
 
clone() - Method in class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
 
clone() - Method in class spoon.support.reflect.code.CtCodeSnippetStatementImpl
 
clone() - Method in class spoon.support.reflect.code.CtCommentImpl
 
clone() - Method in class spoon.support.reflect.code.CtConditionalImpl
 
clone() - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
clone() - Method in class spoon.support.reflect.code.CtContinueImpl
 
clone() - Method in class spoon.support.reflect.code.CtDoImpl
 
clone() - Method in class spoon.support.reflect.code.CtExecutableReferenceExpressionImpl
 
clone() - Method in class spoon.support.reflect.code.CtExpressionImpl
 
clone() - Method in class spoon.support.reflect.code.CtFieldAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtFieldReadImpl
 
clone() - Method in class spoon.support.reflect.code.CtFieldWriteImpl
 
clone() - Method in class spoon.support.reflect.code.CtForEachImpl
 
clone() - Method in class spoon.support.reflect.code.CtForImpl
 
clone() - Method in class spoon.support.reflect.code.CtIfImpl
 
clone() - Method in class spoon.support.reflect.code.CtInvocationImpl
 
clone() - Method in class spoon.support.reflect.code.CtJavaDocImpl
 
clone() - Method in class spoon.support.reflect.code.CtJavaDocTagImpl
 
clone() - Method in class spoon.support.reflect.code.CtLambdaImpl
 
clone() - Method in class spoon.support.reflect.code.CtLiteralImpl
 
clone() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
 
clone() - Method in class spoon.support.reflect.code.CtLoopImpl
 
clone() - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
clone() - Method in class spoon.support.reflect.code.CtNewClassImpl
 
clone() - Method in class spoon.support.reflect.code.CtOperatorAssignmentImpl
 
clone() - Method in class spoon.support.reflect.code.CtReturnImpl
 
clone() - Method in class spoon.support.reflect.code.CtStatementImpl
 
clone() - Method in class spoon.support.reflect.code.CtStatementListImpl
 
clone() - Method in class spoon.support.reflect.code.CtSuperAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtSwitchImpl
 
clone() - Method in class spoon.support.reflect.code.CtSynchronizedImpl
 
clone() - Method in class spoon.support.reflect.code.CtTargetedExpressionImpl
 
clone() - Method in class spoon.support.reflect.code.CtThisAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtThrowImpl
 
clone() - Method in class spoon.support.reflect.code.CtTryImpl
 
clone() - Method in class spoon.support.reflect.code.CtTryWithResourceImpl
 
clone() - Method in class spoon.support.reflect.code.CtTypeAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
 
clone() - Method in class spoon.support.reflect.code.CtVariableAccessImpl
 
clone() - Method in class spoon.support.reflect.code.CtVariableReadImpl
 
clone() - Method in class spoon.support.reflect.code.CtVariableWriteImpl
 
clone() - Method in class spoon.support.reflect.code.CtWhileImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtAnnotationMethodImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtAnnotationTypeImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtClassImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtConstructorImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtEnumValueImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtImportImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtInterfaceImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtMethodImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtModuleRequirementImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtPackageExportImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtParameterImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtProvidedServiceImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
clone() - Method in class spoon.support.reflect.declaration.CtUsedServiceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtCatchVariableReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtModuleReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtUnboundVariableReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtWildcardReferenceImpl
 
clone() - Method in class spoon.support.reflect.reference.CtWildcardStaticTypeMemberReferenceImpl
 
clone(T) - Method in class spoon.support.visitor.equals.CloneHelper
 
clone(Collection<T>) - Method in class spoon.support.visitor.equals.CloneHelper
 
clone(List<T>) - Method in class spoon.support.visitor.equals.CloneHelper
 
clone(Set<T>) - Method in class spoon.support.visitor.equals.CloneHelper
 
clone(Map<String, T>) - Method in class spoon.support.visitor.equals.CloneHelper
 
CloneBuilder - Class in spoon.support.visitor.clone
Used to set all data in the cloned element.
CloneBuilder() - Constructor for class spoon.support.visitor.clone.CloneBuilder
 
CloneHelper - Class in spoon.support.visitor.equals
CloneHelper is responsible for creating clones of CtElement AST nodes including the whole subtree.
CloneHelper() - Constructor for class spoon.support.visitor.equals.CloneHelper
 
cloneIfNeeded(T) - Method in class spoon.pattern.internal.ValueConvertorImpl
 
CloneVisitor - Class in spoon.support.visitor.clone
Used to clone a given element.
CloneVisitor(CloneHelper) - Constructor for class spoon.support.visitor.clone.CloneVisitor
 
close() - Method in class spoon.reflect.visitor.ListPrinter
 
close() - Method in class spoon.reflect.visitor.PrintingContext.Writable
 
Code() - Method in interface spoon.reflect.factory.Factory
Access to CodeFactory subfactory
Code() - Method in class spoon.reflect.factory.FactoryImpl
The CtCodeElement sub-factory.
CodeFactory - Class in spoon.reflect.factory
This sub-factory contains utility methods to create code elements.
CodeFactory(Factory) - Constructor for class spoon.reflect.factory.CodeFactory
Creates a CtCodeElement sub-factory.
COLLECTION - Variable in class spoon.reflect.factory.TypeFactory
 
CollectionContext<T extends Collection<?>> - Class in spoon.support.modelobs.context
 
CollectionContext(CtElement, CtRole, T) - Constructor for class spoon.support.modelobs.context.CollectionContext
 
columnsName - Static variable in class spoon.support.gui.SpoonObjectFieldsTable
 
COMMENT_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
COMMENT_STAR - Static variable in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
The star at the beginning of a block/JavaDoc comment line
CommentOffset - Enum in spoon.reflect.visitor.printer
 
compare(CtElement, CtElement) - Method in class spoon.support.comparator.CtLineElementComparator
Reurns -1 if o1 is before o2 in the file
compare(CtElement, CtElement) - Method in class spoon.support.comparator.DeepRepresentationComparator
 
compare(CompilationUnitDeclaration, CompilationUnitDeclaration) - Method in class spoon.support.comparator.FixedOrderBasedOnFileNameCompilationUnitComparator
 
compare(CtElement, CtElement) - Method in class spoon.support.comparator.QualifiedNameComparator
 
compare(CtElement, CtElement) - Method in class spoon.support.comparator.SignatureComparator
 
compareTo(Version) - Method in class spoon.internal.mavenlauncher.Version
 
COMPILATION_UNIT_DECLARED_TYPES_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
CompilationUnit - Interface in spoon.reflect.cu
Defines a compilation unit.
CompilationUnit() - Method in interface spoon.reflect.factory.Factory
Access to CompilationUnitFactory subfactory
CompilationUnit() - Method in class spoon.reflect.factory.FactoryImpl
The CompilationUnit sub-factory.
CompilationUnit.UNIT_TYPE - Enum in spoon.reflect.cu
 
CompilationUnitFactory - Class in spoon.reflect.factory
A factory to create some evaluation utilities on the Spoon metamodel.
CompilationUnitFactory(Factory) - Constructor for class spoon.reflect.factory.CompilationUnitFactory
Creates the evaluation factory.
CompilationUnitFilter - Interface in spoon.support.compiler.jdt
This interface is used by instances of SpoonModelBuilder to exclude particular CompilationUnits while generating a CtModel with SpoonModelBuilder.build(spoon.compiler.builder.JDTBuilder).
compilationUnitFilters - Variable in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
CompilationUnitImpl - Class in spoon.support.reflect.cu
Implements a compilation unit.
CompilationUnitImpl() - Constructor for class spoon.support.reflect.cu.CompilationUnitImpl
 
compilationUnits - Variable in class spoon.support.compiler.jdt.JDTBatchCompiler
 
compile() - Method in interface spoon.reflect.code.CtCodeSnippetExpression
Compiles this expression snippet to produce the corresponding AST expression.
compile() - Method in interface spoon.reflect.code.CtCodeSnippetStatement
Compiles this statement code snippet to produce the corresponding AST statement.
compile(SpoonModelBuilder.InputType...) - Method in interface spoon.SpoonModelBuilder
Generates the bytecode associated to the classes stored in this compiler's factory.
compile(SpoonModelBuilder.InputType...) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
compile() - Method in class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
 
compile() - Method in class spoon.support.reflect.code.CtCodeSnippetStatementImpl
 
compileAndReplaceSnippets() - Method in interface spoon.reflect.declaration.CtType
Compiles and replace all the code snippets that are found in this type.
compileAndReplaceSnippets() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
compileAndReplaceSnippetsIn(CtType<?>) - Static method in class spoon.support.compiler.SnippetCompilationHelper
 
compileExpression(CtCodeSnippetExpression<T>) - Static method in class spoon.support.compiler.SnippetCompilationHelper
 
compileProcessors() - Method in class spoon.compiler.builder.AnnotationProcessingOptions
 
compileStatement(CtCodeSnippetStatement) - Static method in class spoon.support.compiler.SnippetCompilationHelper
 
compileStatement(CtCodeSnippetStatement, CtTypeReference) - Static method in class spoon.support.compiler.SnippetCompilationHelper
 
compliance(int) - Method in class spoon.compiler.builder.ComplianceOptions
 
ComplianceOptions<T extends ComplianceOptions<T>> - Class in spoon.compiler.builder
 
ComplianceOptions() - Constructor for class spoon.compiler.builder.ComplianceOptions
 
complianceOptions(ComplianceOptions<?>) - Method in interface spoon.compiler.builder.JDTBuilder
Compliance options for the compiler.
complianceOptions(ComplianceOptions<?>) - Method in class spoon.compiler.builder.JDTBuilderImpl
 
CompositeFilter<T extends CtElement> - Class in spoon.reflect.visitor.filter
This class defines a composite filter, which can compose several filters together by using FilteringOperator.
CompositeFilter(FilteringOperator, Filter<T>...) - Constructor for class spoon.reflect.visitor.filter.CompositeFilter
Creates a new composite filter.
CompoundSourcePosition - Interface in spoon.reflect.cu.position
This interface represents the position of a program element like an expression in a source file.
CompoundSourcePositionImpl - Class in spoon.support.reflect.cu.position
This class represents the position of a Java program element in a source file.
CompoundSourcePositionImpl(CompilationUnit, int, int, int, int, int[]) - Constructor for class spoon.support.reflect.cu.position.CompoundSourcePositionImpl
 
CompressionType - Enum in spoon.support
Different types of compressions used, e.g.
computeImports(CtType<?>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Deprecated.
We intend to remove those method from the DJPP and to compute imports directly in CompilationUnit in the future.
computeImports(CtElement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Deprecated.
We intend to remove those method from the DJPP and to compute imports directly in CompilationUnit in the future.
computeImports(CtElement) - Method in interface spoon.reflect.visitor.ImportScanner
Computes import of a CtElement
computeImports(CtElement) - Method in class spoon.reflect.visitor.ImportScannerImpl
 
ConceptKind - Enum in spoon.metamodel
Represents categories of metamodel types
configureInlineStatements(Consumer<InlinedStatementConfigurator>) - Method in class spoon.pattern.PatternBuilder
Configures inlined statements For example if the `for` statement in this pattern model
configurePatternParameters() - Method in class spoon.pattern.PatternBuilder
All the variable references, whose variables are out of the template model are automatically marked as pattern parameters
configurePatternParameters(Consumer<PatternParameterConfigurator>) - Method in class spoon.pattern.PatternBuilder
Configure pattern parameters with a PatternParameterConfigurator
ConflictResolutionMode - Enum in spoon.pattern
Defines what happens when a RootNode has to be replaced by another RootNode, default in ConflictResolutionMode.FAIL.
ConstantNode<T> - Class in spoon.pattern.internal.node
Generates/Matches a copy of single template object
ConstantNode(T) - Constructor for class spoon.pattern.internal.node.ConstantNode
 
Constructor() - Method in interface spoon.reflect.factory.Factory
Access to ConstructorFactory subfactory
Constructor() - Method in class spoon.reflect.factory.FactoryImpl
The CtConstructor sub-factory.
CONSTRUCTOR_CALL_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
CONSTRUCTOR_NAME - Static variable in interface spoon.reflect.reference.CtExecutableReference
 
CONSTRUCTOR_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
ConstructorFactory - Class in spoon.reflect.factory
The CtConstructor sub-factory.
ConstructorFactory(Factory) - Constructor for class spoon.reflect.factory.ConstructorFactory
Creates a new constructor sub-factory.
ContainerKind - Enum in spoon.reflect.meta
Represents a kind of data, which is used in an field or in a role in the Spoon metamodel.
contains(Object) - Method in class spoon.support.util.EmptyClearableList
 
contains(Object) - Method in class spoon.support.util.EmptyClearableSet
 
contains(Object) - Method in class spoon.support.util.ModelList
 
contains(Object) - Method in class spoon.support.util.ModelSet
 
containsAll(Collection<?>) - Method in class spoon.support.util.EmptyClearableList
 
containsAll(Collection<?>) - Method in class spoon.support.util.EmptyClearableSet
 
containsAll(Collection<?>) - Method in class spoon.support.util.ModelList
 
containsAll(Collection<?>) - Method in class spoon.support.util.ModelSet
 
context - Variable in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
The printing context.
Context - Class in spoon.support.modelobs.context
defines the context of an action
Context(CtElement, CtRole) - Constructor for class spoon.support.modelobs.context.Context
 
ContextBuilder - Class in spoon.support.compiler.jdt
 
ContextBuilder.CastInfo - Class in spoon.support.compiler.jdt
 
continueExecution() - Method in class spoon.compiler.builder.AdvancedOptions
 
convertSingleValue(Factory, Object, Class<T>) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
convertValue(Factory, ResultHolder<T>, Object) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
copy(CtElement, CtElement) - Method in class spoon.support.visitor.clone.CloneBuilder
 
copyAndSet(ParameterInfo) - Method in class spoon.pattern.PatternParameterConfigurator.ParameterElementPair
 
copyAndSet(CtElement) - Method in class spoon.pattern.PatternParameterConfigurator.ParameterElementPair
 
copyAndSetParams(ImmutableMap) - Method in class spoon.pattern.internal.matcher.TobeMatched
Makes a copy of this match context with the same targets, but with new `parameters`
copyMethod(CtMethod<?>) - Static method in class spoon.refactoring.Refactoring
copyMethod() - Method in interface spoon.reflect.declaration.CtMethod
Copy the method, where copy means cloning + porting all the references of the old method to the new method (important for recursive methods).
copyMethod() - Method in class spoon.support.reflect.declaration.CtMethodImpl
 
copyOfTheCollection - Variable in class spoon.support.modelobs.context.CollectionContext
 
copyType(CtType<?>) - Static method in class spoon.refactoring.Refactoring
copyType() - Method in interface spoon.reflect.declaration.CtType
Copy the type, where copy means cloning + porting all the references in the clone from the old type to the new type.
copyType() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
Core() - Method in interface spoon.reflect.factory.Factory
Access to CoreFactory subfactory
Core() - Method in class spoon.reflect.factory.FactoryImpl
The core factory.
CoreFactory - Interface in spoon.reflect.factory
This interface defines the core creation methods for the meta-model (to be implemented so that Spoon can manipulate other meta-model implementations).
create(List<? extends RootNode>, Matchers) - Static method in class spoon.pattern.internal.matcher.ChainOfMatchersImpl
 
create(ImmutableMap, ContainerKind, Object) - Static method in class spoon.pattern.internal.matcher.TobeMatched
 
create(CtElement, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
Creates an implicit ElementNode, which contains all non derived attributes of `element` and all it's children
create(List<?>, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
Same like ElementNode.create(CtElement, Map) but with List of elements or primitive objects
create(Set<?>, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
Same like ElementNode.create(CtElement, Map) but with Set of elements or primitive objects
create(Map<String, ?>, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
Same like ElementNode.create(CtElement, Map) but with Map of String to elements or primitive objects
create(List<CtElement>) - Static method in class spoon.pattern.PatternBuilder
Creates a PatternBuilder from the List of template elements
create(CtElement...) - Static method in class spoon.pattern.PatternBuilder
 
create(CtPackage, String) - Method in class spoon.reflect.factory.AnnotationFactory
Creates an annotation type.
create(String) - Method in class spoon.reflect.factory.AnnotationFactory
Creates an annotation type.
create(CtClass<?>, String) - Method in class spoon.reflect.factory.ClassFactory
Creates an inner class.
create(CtPackage, String) - Method in class spoon.reflect.factory.ClassFactory
Creates a top-level class.
create(String) - Method in class spoon.reflect.factory.ClassFactory
Creates a class from its qualified name.
create() - Method in class spoon.reflect.factory.CompilationUnitFactory
Creates a compilation unit with no associated files.
create(CtClass<T>, CtConstructor<?>) - Method in class spoon.reflect.factory.ConstructorFactory
Copies a constructor into a target class.
create(CtClass<T>, CtMethod<?>) - Method in class spoon.reflect.factory.ConstructorFactory
Creates a constructor into a target class by copying it from a source method.
create(CtClass<T>, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.reflect.factory.ConstructorFactory
Creates an empty constructor.
create(CtClass<T>, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock<T>) - Method in class spoon.reflect.factory.ConstructorFactory
Creates a constructor.
create(Class<? extends CtElement>) - Method in interface spoon.reflect.factory.CoreFactory
Creates an instance of the concrete metamodel class given as parameter.
create(CtPackage, String) - Method in class spoon.reflect.factory.EnumFactory
Creates a new enumeration type
create(String) - Method in class spoon.reflect.factory.EnumFactory
Creates an enum from its qualified name.
create(CtType<?>, Set<ModifierKind>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FieldFactory
Creates a field.
create(CtType<?>, Set<ModifierKind>, CtTypeReference<T>, String, CtExpression<T>) - Method in class spoon.reflect.factory.FieldFactory
Creates a field.
create(CtType<?>, CtField<T>) - Method in class spoon.reflect.factory.FieldFactory
Creates a field by copying an existing field.
create(CtPackage, String) - Method in class spoon.reflect.factory.InterfaceFactory
Creates an interface.
create(CtType<T>, String) - Method in class spoon.reflect.factory.InterfaceFactory
Creates an inner interface
create(String) - Method in class spoon.reflect.factory.InterfaceFactory
Creates an interface.
create(CtClass<?>, Set<ModifierKind>, CtTypeReference<R>, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock<B>) - Method in class spoon.reflect.factory.MethodFactory
Creates a method.
create(CtType<?>, CtMethod<T>, boolean) - Method in class spoon.reflect.factory.MethodFactory
Creates a method by copying an existing method.
create(CtType<?>, Set<ModifierKind>, CtTypeReference<T>, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.reflect.factory.MethodFactory
Creates an empty method.
create(CtPackage, String) - Method in class spoon.reflect.factory.PackageFactory
Creates a new package (see also PackageFactory.getOrCreate(String)).
create(Class<? extends CtElement>) - Method in class spoon.support.DefaultCoreFactory
 
create(Method) - Static method in class spoon.support.visitor.java.reflect.RtMethod
 
createAnnotation(CtTypeReference<A>) - Method in class spoon.reflect.factory.CodeFactory
Creates an annotation.
createAnnotation() - Method in interface spoon.reflect.factory.CoreFactory
Creates an annotation.
createAnnotation(CtTypeReference<A>) - Method in interface spoon.reflect.factory.Factory
 
createAnnotation() - Method in interface spoon.reflect.factory.Factory
 
createAnnotation(CtTypeReference<A>) - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotation() - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotation() - Method in class spoon.support.DefaultCoreFactory
 
createAnnotationFieldAccess() - Method in interface spoon.reflect.factory.CoreFactory
Create an access to annotation value
createAnnotationFieldAccess() - Method in interface spoon.reflect.factory.Factory
 
createAnnotationFieldAccess() - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotationFieldAccess() - Method in class spoon.support.DefaultCoreFactory
 
createAnnotationMethod() - Method in interface spoon.reflect.factory.CoreFactory
Creates an annotation method.
createAnnotationMethod() - Method in interface spoon.reflect.factory.Factory
 
createAnnotationMethod() - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotationMethod() - Method in class spoon.support.DefaultCoreFactory
 
createAnnotationType() - Method in interface spoon.reflect.factory.CoreFactory
Creates an annotation type.
createAnnotationType() - Method in interface spoon.reflect.factory.Factory
 
createAnnotationType(String) - Method in interface spoon.reflect.factory.Factory
 
createAnnotationType(CtPackage, String) - Method in interface spoon.reflect.factory.Factory
 
createAnnotationType() - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotationType(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotationType(CtPackage, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createAnnotationType() - Method in class spoon.support.DefaultCoreFactory
 
createAnonymous(CtClass<?>, CtBlock<Void>) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an anonymous executable (initializer block) in a target class).
createAnonymous(CtClass<?>, CtBlock<Void>) - Method in interface spoon.reflect.factory.Factory
 
createAnonymous(CtClass<?>, CtBlock<Void>) - Method in class spoon.reflect.factory.FactoryImpl
 
createAnonymousExecutable() - Method in interface spoon.reflect.factory.CoreFactory
Creates an anonymous executable.
createAnonymousExecutable() - Method in interface spoon.reflect.factory.Factory
 
createAnonymousExecutable() - Method in class spoon.reflect.factory.FactoryImpl
 
createAnonymousExecutable() - Method in class spoon.support.DefaultCoreFactory
 
createArrayRead() - Method in interface spoon.reflect.factory.CoreFactory
Creates an array read access expression.
createArrayRead() - Method in interface spoon.reflect.factory.Factory
 
createArrayRead() - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayRead() - Method in class spoon.support.DefaultCoreFactory
 
createArrayReference(String) - Method in interface spoon.reflect.factory.Factory
 
createArrayReference(CtType<T>) - Method in interface spoon.reflect.factory.Factory
 
createArrayReference(CtTypeReference<T>) - Method in interface spoon.reflect.factory.Factory
 
createArrayReference(CtTypeReference<?>, int) - Method in interface spoon.reflect.factory.Factory
 
createArrayReference(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayReference(CtType<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayReference(CtTypeReference<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayReference(CtTypeReference<?>, int) - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayReference(CtType<T>) - Method in class spoon.reflect.factory.TypeFactory
Creates a reference to an array of given type.
createArrayReference(CtTypeReference<T>) - Method in class spoon.reflect.factory.TypeFactory
Creates a reference to a one-dimension array of given type.
createArrayReference(CtTypeReference<?>, int) - Method in class spoon.reflect.factory.TypeFactory
Creates a reference to an n-dimension array of given type.
createArrayReference(String) - Method in class spoon.reflect.factory.TypeFactory
Creates a reference to an array of given type.
createArrayTypeReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates an array type reference.
createArrayTypeReference() - Method in interface spoon.reflect.factory.Factory
 
createArrayTypeReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayTypeReference() - Method in class spoon.support.DefaultCoreFactory
 
createArrayWrite() - Method in interface spoon.reflect.factory.CoreFactory
Creates an array write access expression.
createArrayWrite() - Method in interface spoon.reflect.factory.Factory
 
createArrayWrite() - Method in class spoon.reflect.factory.FactoryImpl
 
createArrayWrite() - Method in class spoon.support.DefaultCoreFactory
 
createAssert() - Method in interface spoon.reflect.factory.CoreFactory
Creates an assert statement.
createAssert() - Method in interface spoon.reflect.factory.Factory
 
createAssert() - Method in class spoon.reflect.factory.FactoryImpl
 
createAssert() - Method in class spoon.support.DefaultCoreFactory
 
createAssignment() - Method in interface spoon.reflect.factory.CoreFactory
Creates an assignment expression.
createAssignment() - Method in interface spoon.reflect.factory.Factory
 
createAssignment() - Method in class spoon.reflect.factory.FactoryImpl
 
createAssignment() - Method in class spoon.support.DefaultCoreFactory
 
createBatchCompiler() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
createBatchCompiler(SpoonModelBuilder.InputType...) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
createBinaryOperator(CtExpression<?>, CtExpression<?>, BinaryOperatorKind) - Method in class spoon.reflect.factory.CodeFactory
Creates a binary operator.
createBinaryOperator() - Method in interface spoon.reflect.factory.CoreFactory
Creates a binary operator.
createBinaryOperator(CtExpression<?>, CtExpression<?>, BinaryOperatorKind) - Method in interface spoon.reflect.factory.Factory
 
createBinaryOperator() - Method in interface spoon.reflect.factory.Factory
 
createBinaryOperator(CtExpression<?>, CtExpression<?>, BinaryOperatorKind) - Method in class spoon.reflect.factory.FactoryImpl
 
createBinaryOperator() - Method in class spoon.reflect.factory.FactoryImpl
 
createBinaryOperator() - Method in class spoon.support.DefaultCoreFactory
 
createBlock() - Method in interface spoon.reflect.factory.CoreFactory
Creates a block.
createBlock() - Method in interface spoon.reflect.factory.Factory
 
createBlock() - Method in class spoon.reflect.factory.FactoryImpl
 
createBlock() - Method in class spoon.support.DefaultCoreFactory
 
createBodyHolderSourcePosition(CompilationUnit, int, int, int, int, int, int, int, int, int[]) - Method in interface spoon.reflect.factory.CoreFactory
Creates a body holder source position.
createBodyHolderSourcePosition(CompilationUnit, int, int, int, int, int, int, int, int, int[]) - Method in interface spoon.reflect.factory.Factory
 
createBodyHolderSourcePosition(CompilationUnit, int, int, int, int, int, int, int, int, int[]) - Method in class spoon.reflect.factory.FactoryImpl
 
createBodyHolderSourcePosition(CompilationUnit, int, int, int, int, int, int, int, int, int[]) - Method in class spoon.support.DefaultCoreFactory
 
createBreak() - Method in interface spoon.reflect.factory.CoreFactory
Creates a break statement.
createBreak() - Method in interface spoon.reflect.factory.Factory
 
createBreak() - Method in class spoon.reflect.factory.FactoryImpl
 
createBreak() - Method in class spoon.support.DefaultCoreFactory
 
createCase() - Method in interface spoon.reflect.factory.CoreFactory
Creates a case clause.
createCase() - Method in interface spoon.reflect.factory.Factory
 
createCase() - Method in class spoon.reflect.factory.FactoryImpl
 
createCase() - Method in class spoon.support.DefaultCoreFactory
 
createCatch() - Method in interface spoon.reflect.factory.CoreFactory
Creates a catch clause.
createCatch() - Method in interface spoon.reflect.factory.Factory
 
createCatch() - Method in class spoon.reflect.factory.FactoryImpl
 
createCatch() - Method in class spoon.support.DefaultCoreFactory
 
createCatchVariable(CtTypeReference<T>, String, ModifierKind...) - Method in class spoon.reflect.factory.CodeFactory
Creates a catch variable declaration.
createCatchVariable() - Method in interface spoon.reflect.factory.CoreFactory
Creates a catch variable declaration statement.
createCatchVariable(CtTypeReference<T>, String, ModifierKind...) - Method in interface spoon.reflect.factory.Factory
 
createCatchVariable() - Method in interface spoon.reflect.factory.Factory
 
createCatchVariable(CtTypeReference<T>, String, ModifierKind...) - Method in class spoon.reflect.factory.FactoryImpl
 
createCatchVariable() - Method in class spoon.reflect.factory.FactoryImpl
 
createCatchVariable() - Method in class spoon.support.DefaultCoreFactory
 
createCatchVariableReference(CtCatchVariable<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a catch variable reference that points to an existing catch variable (strong referencing).
createCatchVariableReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a catch variable reference.
createCatchVariableReference(CtCatchVariable<T>) - Method in interface spoon.reflect.factory.Factory
 
createCatchVariableReference() - Method in interface spoon.reflect.factory.Factory
 
createCatchVariableReference(CtCatchVariable<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createCatchVariableReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createCatchVariableReference() - Method in class spoon.support.DefaultCoreFactory
 
createClass() - Method in interface spoon.reflect.factory.CoreFactory
Creates a class.
createClass() - Method in interface spoon.reflect.factory.Factory
 
createClass(String) - Method in interface spoon.reflect.factory.Factory
 
createClass(CtClass<?>, String) - Method in interface spoon.reflect.factory.Factory
 
createClass(CtPackage, String) - Method in interface spoon.reflect.factory.Factory
 
createClass() - Method in class spoon.reflect.factory.FactoryImpl
 
createClass(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createClass(CtClass<?>, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createClass(CtPackage, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createClass() - Method in class spoon.support.DefaultCoreFactory
 
createClassAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a class access expression of the form C.class.
createClassAccess(CtTypeReference<T>) - Method in interface spoon.reflect.factory.Factory
 
createClassAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createCodeSnippetExpression(String) - Method in class spoon.reflect.factory.CodeFactory
Creates a Code Snippet expression.
createCodeSnippetExpression() - Method in interface spoon.reflect.factory.CoreFactory
Creates a code snippet expression.
createCodeSnippetExpression(String) - Method in interface spoon.reflect.factory.Factory
 
createCodeSnippetExpression() - Method in interface spoon.reflect.factory.Factory
 
createCodeSnippetExpression(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createCodeSnippetExpression() - Method in class spoon.reflect.factory.FactoryImpl
 
createCodeSnippetExpression() - Method in class spoon.support.DefaultCoreFactory
 
createCodeSnippetStatement(String) - Method in class spoon.reflect.factory.CodeFactory
Creates a Code Snippet statement.
createCodeSnippetStatement() - Method in interface spoon.reflect.factory.CoreFactory
Creates a code snippet statement.
createCodeSnippetStatement(String) - Method in interface spoon.reflect.factory.Factory
 
createCodeSnippetStatement() - Method in interface spoon.reflect.factory.Factory
 
createCodeSnippetStatement(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createCodeSnippetStatement() - Method in class spoon.reflect.factory.FactoryImpl
 
createCodeSnippetStatement() - Method in class spoon.support.DefaultCoreFactory
 
createComment(String, CtComment.CommentType) - Method in class spoon.reflect.factory.CodeFactory
Creates a comment
createComment() - Method in interface spoon.reflect.factory.CoreFactory
Creates a comment.
createComment(String, CtComment.CommentType) - Method in interface spoon.reflect.factory.Factory
 
createComment() - Method in interface spoon.reflect.factory.Factory
 
createComment(String, CtComment.CommentType) - Method in class spoon.reflect.factory.FactoryImpl
 
createComment() - Method in class spoon.reflect.factory.FactoryImpl
 
createComment() - Method in class spoon.support.DefaultCoreFactory
 
createCompilationUnit() - Method in interface spoon.reflect.factory.CoreFactory
Creates a compilation unit.
createCompilationUnit() - Method in interface spoon.reflect.factory.Factory
 
createCompilationUnit() - Method in class spoon.reflect.factory.FactoryImpl
 
createCompilationUnit() - Method in class spoon.support.DefaultCoreFactory
 
createCompiler(Factory) - Method in class spoon.Launcher
Creates a new Spoon Java compiler in order to process and compile Java source code.
createCompiler(Factory, List<SpoonResource>) - Method in class spoon.Launcher
 
createCompiler(Factory, List<SpoonResource>, List<SpoonResource>) - Method in class spoon.Launcher
Creates a new Spoon Java compiler in order to process and compile Java source code.
createCompiler() - Method in class spoon.Launcher
 
createCompiler(List<SpoonResource>) - Method in class spoon.Launcher
Creates a new Spoon Java compiler with a default factory and a list of input sources.
createCompiler() - Method in interface spoon.SpoonAPI
Creates a new Spoon compiler (for building the model)
createCompoundSourcePosition(CompilationUnit, int, int, int, int, int[]) - Method in interface spoon.reflect.factory.CoreFactory
Creates a compound source position.
createCompoundSourcePosition(CompilationUnit, int, int, int, int, int[]) - Method in class spoon.support.DefaultCoreFactory
 
createConditional() - Method in interface spoon.reflect.factory.CoreFactory
Creates a conditional expression (boolExpr?ifTrue:ifFalse).
createConditional() - Method in interface spoon.reflect.factory.Factory
 
createConditional() - Method in class spoon.reflect.factory.FactoryImpl
 
createConditional() - Method in class spoon.support.DefaultCoreFactory
 
createConstructor() - Method in interface spoon.reflect.factory.CoreFactory
Creates a constructor.
createConstructor() - Method in interface spoon.reflect.factory.Factory
 
createConstructor(CtClass, CtConstructor<?>) - Method in interface spoon.reflect.factory.Factory
 
createConstructor(CtClass, CtMethod<?>) - Method in interface spoon.reflect.factory.Factory
 
createConstructor(CtClass, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in interface spoon.reflect.factory.Factory
 
createConstructor(CtClass, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock) - Method in interface spoon.reflect.factory.Factory
 
createConstructor() - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructor(CtClass, CtConstructor<?>) - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructor(CtClass, CtMethod<?>) - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructor(CtClass, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructor(CtClass, Set<ModifierKind>, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock) - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructor() - Method in class spoon.support.DefaultCoreFactory
 
createConstructorCall(CtTypeReference<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.CodeFactory
Creates a constructor call.
createConstructorCall() - Method in interface spoon.reflect.factory.CoreFactory
Creates a constructor call expression.
createConstructorCall(CtTypeReference<T>, CtExpression<?>...) - Method in interface spoon.reflect.factory.Factory
 
createConstructorCall() - Method in interface spoon.reflect.factory.Factory
 
createConstructorCall(CtTypeReference<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructorCall() - Method in class spoon.reflect.factory.FactoryImpl
 
createConstructorCall() - Method in class spoon.support.DefaultCoreFactory
 
createContinue() - Method in interface spoon.reflect.factory.CoreFactory
Creates a continue statement.
createContinue() - Method in interface spoon.reflect.factory.Factory
 
createContinue() - Method in class spoon.reflect.factory.FactoryImpl
 
createContinue() - Method in class spoon.support.DefaultCoreFactory
 
createCtBlock(T) - Method in class spoon.reflect.factory.CodeFactory
Creates a block.
createCtBlock(T) - Method in interface spoon.reflect.factory.Factory
 
createCtBlock(T) - Method in class spoon.reflect.factory.FactoryImpl
 
createCtCatch(String, Class<? extends Throwable>, CtBlock<?>) - Method in class spoon.reflect.factory.CodeFactory
Creates a catch element.
createCtCatch(String, Class<? extends Throwable>, CtBlock<?>) - Method in interface spoon.reflect.factory.Factory
 
createCtCatch(String, Class<? extends Throwable>, CtBlock<?>) - Method in class spoon.reflect.factory.FactoryImpl
 
createCtField(String, CtTypeReference<T>, String, ModifierKind...) - Method in class spoon.reflect.factory.CodeFactory
Creates a field.
createCtField(String, CtTypeReference<T>, String, ModifierKind...) - Method in interface spoon.reflect.factory.Factory
 
createCtField(String, CtTypeReference<T>, String, ModifierKind...) - Method in class spoon.reflect.factory.FactoryImpl
 
createCtPackageReference(Package) - Method in class spoon.reflect.factory.CodeFactory
Creates a package reference.
createCtPackageReference(Package) - Method in interface spoon.reflect.factory.Factory
 
createCtPackageReference(Package) - Method in class spoon.reflect.factory.FactoryImpl
 
createCtThrow(String) - Method in class spoon.reflect.factory.CodeFactory
Creates a throw.
createCtThrow(String) - Method in interface spoon.reflect.factory.Factory
 
createCtThrow(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createCtTypeReference(Class<?>) - Method in class spoon.reflect.factory.CodeFactory
Creates a type reference.
createCtTypeReference(Class<?>) - Method in interface spoon.reflect.factory.Factory
 
createCtTypeReference(Class<?>) - Method in class spoon.reflect.factory.FactoryImpl
 
createDeclarationSourcePosition(CompilationUnit, int, int, int, int, int, int, int[]) - Method in interface spoon.reflect.factory.CoreFactory
Creates a declaration source position.
createDeclarationSourcePosition(CompilationUnit, int, int, int, int, int, int, int[]) - Method in interface spoon.reflect.factory.Factory
 
createDeclarationSourcePosition(CompilationUnit, int, int, int, int, int, int, int[]) - Method in class spoon.reflect.factory.FactoryImpl
 
createDeclarationSourcePosition(CompilationUnit, int, int, int, int, int, int, int[]) - Method in class spoon.support.DefaultCoreFactory
 
createDefault(CtClass<T>) - Method in class spoon.reflect.factory.ConstructorFactory
Create the default empty constructor.
createDefault(CtClass<T>) - Method in interface spoon.reflect.factory.Factory
 
createDefault(CtClass<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createDo() - Method in interface spoon.reflect.factory.CoreFactory
Creates a do loop.
createDo() - Method in interface spoon.reflect.factory.Factory
 
createDo() - Method in class spoon.reflect.factory.FactoryImpl
 
createDo() - Method in class spoon.support.DefaultCoreFactory
 
createElement(Class<? extends CtElement>) - Method in interface spoon.reflect.factory.Factory
 
createElement(Class<? extends CtElement>) - Method in class spoon.reflect.factory.FactoryImpl
 
createEnclosingHierarchy(CtType<?>) - Method in class spoon.support.visitor.ClassTypingContext
might be used to create custom chain of super type hierarchies
createEnclosingHierarchy(CtTypeReference<?>) - Method in class spoon.support.visitor.ClassTypingContext
might be used to create custom chain of super type hierarchies
createEnum() - Method in interface spoon.reflect.factory.CoreFactory
Creates an enum.
createEnum() - Method in interface spoon.reflect.factory.Factory
 
createEnum(String) - Method in interface spoon.reflect.factory.Factory
 
createEnum(CtPackage, String) - Method in interface spoon.reflect.factory.Factory
 
createEnum() - Method in class spoon.reflect.factory.FactoryImpl
 
createEnum(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createEnum(CtPackage, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createEnum() - Method in class spoon.support.DefaultCoreFactory
 
createEnumValue() - Method in interface spoon.reflect.factory.CoreFactory
Creates an enum value.
createEnumValue() - Method in interface spoon.reflect.factory.Factory
 
createEnumValue() - Method in class spoon.reflect.factory.FactoryImpl
 
createEnumValue() - Method in class spoon.support.DefaultCoreFactory
 
createEnvironment() - Method in class spoon.Launcher
 
createEnvironment() - Method in interface spoon.SpoonAPI
Creates a new Spoon environment (may be overridden)
createExecutableReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates an executable reference.
createExecutableReference() - Method in interface spoon.reflect.factory.Factory
 
createExecutableReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createExecutableReference() - Method in class spoon.support.DefaultCoreFactory
 
createExecutableReferenceExpression() - Method in interface spoon.reflect.factory.CoreFactory
Creates a new executable reference expression.
createExecutableReferenceExpression() - Method in interface spoon.reflect.factory.Factory
 
createExecutableReferenceExpression() - Method in class spoon.reflect.factory.FactoryImpl
 
createExecutableReferenceExpression() - Method in class spoon.support.DefaultCoreFactory
 
createExpressionCannotBeRemovedIssue(CtInvocation<?>, CtExpression<?>) - Method in class spoon.refactoring.CtParameterRemoveRefactoring
Override this method to get access to details about this refactoring issue.
createFactory() - Method in class spoon.Launcher
 
createFactory() - Method in interface spoon.SpoonAPI
Creates a new Spoon factory (may be overridden)
createFactory() - Static method in class spoon.testing.utils.ModelUtils
 
createField() - Method in interface spoon.reflect.factory.CoreFactory
Creates a field.
createField() - Method in interface spoon.reflect.factory.Factory
 
createField(CtType<?>, Set<ModifierKind>, CtTypeReference, String) - Method in interface spoon.reflect.factory.Factory
 
createField(CtType<?>, Set<ModifierKind>, CtTypeReference, String, CtExpression) - Method in interface spoon.reflect.factory.Factory
 
createField(CtType<?>, CtField) - Method in interface spoon.reflect.factory.Factory
 
createField() - Method in class spoon.reflect.factory.FactoryImpl
 
createField(CtType<?>, Set<ModifierKind>, CtTypeReference, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createField(CtType<?>, Set<ModifierKind>, CtTypeReference, String, CtExpression) - Method in class spoon.reflect.factory.FactoryImpl
 
createField(CtType<?>, CtField) - Method in class spoon.reflect.factory.FactoryImpl
 
createField() - Method in class spoon.support.DefaultCoreFactory
 
createFieldAccess(CtVariableReference<T>, CtExpression<?>, boolean) - Method in class spoon.support.compiler.jdt.JDTTreeBuilderHelper
Creates variable access from a CtVariableReference.
createFieldRead() - Method in interface spoon.reflect.factory.CoreFactory
Creates a field read access.
createFieldRead() - Method in interface spoon.reflect.factory.Factory
 
createFieldRead() - Method in class spoon.reflect.factory.FactoryImpl
 
createFieldRead() - Method in class spoon.support.DefaultCoreFactory
 
createFieldReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a field reference.
createFieldReference() - Method in interface spoon.reflect.factory.Factory
 
createFieldReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createFieldReference() - Method in class spoon.support.DefaultCoreFactory
 
createFieldWrite() - Method in interface spoon.reflect.factory.CoreFactory
Creates a field write access.
createFieldWrite() - Method in interface spoon.reflect.factory.Factory
 
createFieldWrite() - Method in class spoon.reflect.factory.FactoryImpl
 
createFieldWrite() - Method in class spoon.support.DefaultCoreFactory
 
createFile(File) - Static method in class spoon.compiler.SpoonResourceHelper
Creates the SpoonFile corresponding to the given file.
createFolder(File) - Static method in class spoon.compiler.SpoonResourceHelper
Creates the SpoonFolder corresponding to the given file.
createFor() - Method in interface spoon.reflect.factory.CoreFactory
Creates a for loop.
createFor() - Method in interface spoon.reflect.factory.Factory
 
createFor() - Method in class spoon.reflect.factory.FactoryImpl
 
createFor() - Method in class spoon.support.DefaultCoreFactory
 
createForEach() - Method in interface spoon.reflect.factory.CoreFactory
Creates a foreach loop.
createForEach() - Method in interface spoon.reflect.factory.Factory
 
createForEach() - Method in class spoon.reflect.factory.FactoryImpl
 
createForEach() - Method in class spoon.support.DefaultCoreFactory
 
createIf() - Method in interface spoon.reflect.factory.CoreFactory
Creates an if statement.
createIf() - Method in interface spoon.reflect.factory.Factory
 
createIf() - Method in class spoon.reflect.factory.FactoryImpl
 
createIf() - Method in class spoon.support.DefaultCoreFactory
 
createImport() - Method in interface spoon.reflect.factory.CoreFactory
Creates an import.
createImport(CtReference) - Method in interface spoon.reflect.factory.Factory
 
createImport(CtReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createImport(CtReference) - Method in class spoon.reflect.factory.TypeFactory
Creates an import declaration.
createImport() - Method in class spoon.support.DefaultCoreFactory
 
createInlineComment(String) - Method in class spoon.reflect.factory.CodeFactory
Creates an inline comment
createInlineComment(String) - Method in interface spoon.reflect.factory.Factory
 
createInlineComment(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createInterface() - Method in interface spoon.reflect.factory.CoreFactory
Creates an interface.
createInterface() - Method in interface spoon.reflect.factory.Factory
 
createInterface(CtPackage, String) - Method in interface spoon.reflect.factory.Factory
 
createInterface(CtType, String) - Method in interface spoon.reflect.factory.Factory
 
createInterface(String) - Method in interface spoon.reflect.factory.Factory
 
createInterface() - Method in class spoon.reflect.factory.FactoryImpl
 
createInterface(CtPackage, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createInterface(CtType, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createInterface(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createInterface() - Method in class spoon.support.DefaultCoreFactory
 
createIntersectionTypeReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates an intersection type reference.
createIntersectionTypeReference() - Method in interface spoon.reflect.factory.Factory
 
createIntersectionTypeReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createIntersectionTypeReference() - Method in class spoon.support.DefaultCoreFactory
 
createIntersectionTypeReferenceWithBounds(List<CtTypeReference<?>>) - Method in interface spoon.reflect.factory.Factory
 
createIntersectionTypeReferenceWithBounds(List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createIntersectionTypeReferenceWithBounds(List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.TypeFactory
Creates an intersection type reference.
createInvisibleArrayConstructor() - Method in interface spoon.reflect.factory.CoreFactory
Creates an invisible array constructor.
createInvisibleArrayConstructor() - Method in interface spoon.reflect.factory.Factory
 
createInvisibleArrayConstructor() - Method in class spoon.reflect.factory.FactoryImpl
 
createInvisibleArrayConstructor() - Method in class spoon.support.DefaultCoreFactory
 
createInvocation(CtExpression<?>, CtExecutableReference<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.CodeFactory
Creates an invocation (can be a statement or an expression).
createInvocation(CtExpression<?>, CtExecutableReference<T>, List<CtExpression<?>>) - Method in class spoon.reflect.factory.CodeFactory
Creates an invocation (can be a statement or an expression).
createInvocation() - Method in interface spoon.reflect.factory.CoreFactory
Creates an invocation expression.
createInvocation(CtExpression<?>, CtExecutableReference<T>, List<CtExpression<?>>) - Method in interface spoon.reflect.factory.Factory
 
createInvocation(CtExpression<?>, CtExecutableReference<T>, CtExpression<?>...) - Method in interface spoon.reflect.factory.Factory
 
createInvocation() - Method in interface spoon.reflect.factory.Factory
 
createInvocation(CtExpression<?>, CtExecutableReference<T>, List<CtExpression<?>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createInvocation(CtExpression<?>, CtExecutableReference<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.FactoryImpl
 
createInvocation() - Method in class spoon.reflect.factory.FactoryImpl
 
createInvocation() - Method in class spoon.support.DefaultCoreFactory
 
createJavaDoc() - Method in interface spoon.reflect.factory.CoreFactory
Creates a javadoc comment.
createJavaDoc() - Method in class spoon.support.DefaultCoreFactory
 
createJavaDocTag(String, CtJavaDocTag.TagType) - Method in class spoon.reflect.factory.CodeFactory
Creates a javadoc tag
createJavaDocTag() - Method in interface spoon.reflect.factory.CoreFactory
Creates a javadoc tag.
createJavaDocTag(String, CtJavaDocTag.TagType) - Method in interface spoon.reflect.factory.Factory
 
createJavaDocTag(String, CtJavaDocTag.TagType) - Method in class spoon.reflect.factory.FactoryImpl
 
createJavaDocTag() - Method in class spoon.support.DefaultCoreFactory
 
createJavaFile(CtType<?>) - Method in class spoon.support.JavaOutputProcessor
Creates the Java file associated to the given element.
createLambda() - Method in interface spoon.reflect.factory.CoreFactory
Creates a new anonymous method expression.
createLambda() - Method in interface spoon.reflect.factory.Factory
 
createLambda() - Method in class spoon.reflect.factory.FactoryImpl
 
createLambda() - Method in class spoon.support.DefaultCoreFactory
 
createLiteral(T) - Method in class spoon.reflect.factory.CodeFactory
Creates a literal with a given value.
createLiteral() - Method in interface spoon.reflect.factory.CoreFactory
Creates a literal expression.
createLiteral(T) - Method in interface spoon.reflect.factory.Factory
 
createLiteral() - Method in interface spoon.reflect.factory.Factory
 
createLiteral(T) - Method in class spoon.reflect.factory.FactoryImpl
 
createLiteral() - Method in class spoon.reflect.factory.FactoryImpl
 
createLiteral() - Method in class spoon.support.DefaultCoreFactory
 
createLiteralArray(T[]) - Method in class spoon.reflect.factory.CodeFactory
Creates a one-dimension array that must only contain literals.
createLiteralArray(T[]) - Method in interface spoon.reflect.factory.Factory
 
createLiteralArray(T[]) - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariable(CtTypeReference<T>, String, CtExpression<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a local variable declaration.
createLocalVariable() - Method in interface spoon.reflect.factory.CoreFactory
Creates a local variable declaration statement.
createLocalVariable(CtTypeReference<T>, String, CtExpression<T>) - Method in interface spoon.reflect.factory.Factory
 
createLocalVariable() - Method in interface spoon.reflect.factory.Factory
 
createLocalVariable(CtTypeReference<T>, String, CtExpression<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariable() - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariable() - Method in class spoon.support.DefaultCoreFactory
 
createLocalVariableReference(CtLocalVariable<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a local variable reference that points to an existing local variable (strong referencing).
createLocalVariableReference(CtTypeReference<T>, String) - Method in class spoon.reflect.factory.CodeFactory
Creates a local variable reference with its name an type (weak referencing).
createLocalVariableReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a local variable reference.
createLocalVariableReference(CtLocalVariable<T>) - Method in interface spoon.reflect.factory.Factory
 
createLocalVariableReference(CtTypeReference<T>, String) - Method in interface spoon.reflect.factory.Factory
 
createLocalVariableReference() - Method in interface spoon.reflect.factory.Factory
 
createLocalVariableReference(CtLocalVariable<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariableReference(CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariableReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createLocalVariableReference() - Method in class spoon.support.DefaultCoreFactory
 
createMethod() - Method in interface spoon.reflect.factory.CoreFactory
Creates a method.
createMethod() - Method in interface spoon.reflect.factory.Factory
 
createMethod(CtClass<?>, Set<ModifierKind>, CtTypeReference, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock) - Method in interface spoon.reflect.factory.Factory
 
createMethod(CtType<?>, CtMethod, boolean) - Method in interface spoon.reflect.factory.Factory
 
createMethod(CtType<?>, Set<ModifierKind>, CtTypeReference, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in interface spoon.reflect.factory.Factory
 
createMethod() - Method in class spoon.reflect.factory.FactoryImpl
 
createMethod(CtClass<?>, Set<ModifierKind>, CtTypeReference, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock) - Method in class spoon.reflect.factory.FactoryImpl
 
createMethod(CtType<?>, CtMethod, boolean) - Method in class spoon.reflect.factory.FactoryImpl
 
createMethod(CtType<?>, Set<ModifierKind>, CtTypeReference, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createMethod() - Method in class spoon.support.DefaultCoreFactory
 
createModule() - Method in interface spoon.reflect.factory.CoreFactory
Creates a Java 9 module
createModule(String) - Method in interface spoon.reflect.factory.Factory
 
createModule(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createModule() - Method in class spoon.support.DefaultCoreFactory
 
createModuleReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a reference to a Java 9 module
createModuleReference(CtModule) - Method in interface spoon.reflect.factory.Factory
 
createModuleReference(CtModule) - Method in class spoon.reflect.factory.FactoryImpl
 
createModuleReference() - Method in class spoon.support.DefaultCoreFactory
 
createModuleRequirement() - Method in interface spoon.reflect.factory.CoreFactory
Creates a "requires" directive for a Java 9 module file
createModuleRequirement(CtModuleReference) - Method in interface spoon.reflect.factory.Factory
 
createModuleRequirement(CtModuleReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createModuleRequirement(CtModuleReference) - Method in class spoon.reflect.factory.ModuleFactory
 
createModuleRequirement() - Method in class spoon.support.DefaultCoreFactory
 
createNameConflictIssue(CtVariable<?>) - Method in class spoon.refactoring.CtRenameLocalVariableRefactoring
Override this method to get access to details about this refactoring issue
createNameConflictIssue(CtVariable<?>, CtVariableReference<?>) - Method in class spoon.refactoring.CtRenameLocalVariableRefactoring
Override this method to get access to details about this refactoring issue
createNewArray() - Method in interface spoon.reflect.factory.CoreFactory
Creates a new array expression.
createNewArray() - Method in interface spoon.reflect.factory.Factory
 
createNewArray() - Method in class spoon.reflect.factory.FactoryImpl
 
createNewArray() - Method in class spoon.support.DefaultCoreFactory
 
createNewClass(CtTypeReference<T>, CtClass<?>, CtExpression<?>...) - Method in class spoon.reflect.factory.CodeFactory
Creates a new class with an anonymous class.
createNewClass() - Method in interface spoon.reflect.factory.CoreFactory
Creates a new anonymous class expression.
createNewClass(CtTypeReference<T>, CtClass<?>, CtExpression<?>...) - Method in interface spoon.reflect.factory.Factory
 
createNewClass() - Method in interface spoon.reflect.factory.Factory
 
createNewClass(CtTypeReference<T>, CtClass<?>, CtExpression<?>...) - Method in class spoon.reflect.factory.FactoryImpl
 
createNewClass() - Method in class spoon.reflect.factory.FactoryImpl
 
createNewClass() - Method in class spoon.support.DefaultCoreFactory
 
createOperatorAssignment() - Method in interface spoon.reflect.factory.CoreFactory
Creates a new operator assignment (like +=).
createOperatorAssignment() - Method in interface spoon.reflect.factory.Factory
 
createOperatorAssignment() - Method in class spoon.reflect.factory.FactoryImpl
 
createOperatorAssignment() - Method in class spoon.support.DefaultCoreFactory
 
createOutputWriter() - Method in class spoon.Launcher
 
createPackage() - Method in interface spoon.reflect.factory.CoreFactory
Creates a package.
createPackage() - Method in interface spoon.reflect.factory.Factory
 
createPackage(CtPackage, String) - Method in interface spoon.reflect.factory.Factory
 
createPackage() - Method in class spoon.reflect.factory.FactoryImpl
 
createPackage(CtPackage, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createPackage() - Method in class spoon.support.DefaultCoreFactory
 
createPackageExport() - Method in interface spoon.reflect.factory.CoreFactory
Creates a "export" directive for a Java 9 module file
createPackageExport(CtPackageReference) - Method in interface spoon.reflect.factory.Factory
 
createPackageExport(CtPackageReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createPackageExport(CtPackageReference) - Method in class spoon.reflect.factory.ModuleFactory
 
createPackageExport() - Method in class spoon.support.DefaultCoreFactory
 
createPackageReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a package reference.
createPackageReference() - Method in interface spoon.reflect.factory.Factory
 
createPackageReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createPackageReference() - Method in class spoon.support.DefaultCoreFactory
 
createParameter() - Method in interface spoon.reflect.factory.CoreFactory
Creates a parameter.
createParameter(CtExecutable<?>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.ExecutableFactory
Creates a new parameter.
createParameter() - Method in interface spoon.reflect.factory.Factory
 
createParameter(CtExecutable<?>, CtTypeReference<T>, String) - Method in interface spoon.reflect.factory.Factory
 
createParameter() - Method in class spoon.reflect.factory.FactoryImpl
 
createParameter(CtExecutable<?>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FactoryImpl
 
createParameter() - Method in class spoon.support.DefaultCoreFactory
 
createParameterReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a parameter reference.
createParameterReference(CtParameter<T>) - Method in class spoon.reflect.factory.ExecutableFactory
Creates a parameter reference from an existing parameter.
createParameterReference() - Method in interface spoon.reflect.factory.Factory
 
createParameterReference(CtParameter<T>) - Method in interface spoon.reflect.factory.Factory
 
createParameterReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createParameterReference(CtParameter<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createParameterReference() - Method in class spoon.support.DefaultCoreFactory
 
createParameterUsedIssue(CtParameter<?>, CtParameterReference<?>) - Method in class spoon.refactoring.CtParameterRemoveRefactoring
Override this method to get access to details about this refactoring issue
createPartialEvaluator() - Method in class spoon.reflect.factory.EvalFactory
Creates a partial evaluator on the Spoon meta-model.
createPartialEvaluator() - Method in interface spoon.reflect.factory.Factory
 
createPartialEvaluator() - Method in class spoon.reflect.factory.FactoryImpl
 
createPartialSourcePosition(CompilationUnit) - Method in interface spoon.reflect.factory.CoreFactory
Creates a source position that points to the given compilation unit
createPartialSourcePosition(CompilationUnit) - Method in interface spoon.reflect.factory.Factory
 
createPartialSourcePosition(CompilationUnit) - Method in class spoon.reflect.factory.FactoryImpl
 
createPartialSourcePosition(CompilationUnit) - Method in class spoon.support.DefaultCoreFactory
 
createPrettyPrinter() - Method in class spoon.Launcher
 
createProvidedService() - Method in interface spoon.reflect.factory.CoreFactory
Creates a "provides" directive for a Java 9 module file
createProvidedService(CtTypeReference) - Method in interface spoon.reflect.factory.Factory
 
createProvidedService(CtTypeReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createProvidedService(CtTypeReference) - Method in class spoon.reflect.factory.ModuleFactory
 
createProvidedService() - Method in class spoon.support.DefaultCoreFactory
 
createQuery() - Method in interface spoon.reflect.factory.Factory
 
createQuery(Object) - Method in interface spoon.reflect.factory.Factory
 
createQuery(Object...) - Method in interface spoon.reflect.factory.Factory
 
createQuery(Iterable<?>) - Method in interface spoon.reflect.factory.Factory
 
createQuery() - Method in class spoon.reflect.factory.FactoryImpl
 
createQuery(Object) - Method in class spoon.reflect.factory.FactoryImpl
 
createQuery(Object[]) - Method in class spoon.reflect.factory.FactoryImpl
 
createQuery(Iterable<?>) - Method in class spoon.reflect.factory.FactoryImpl
 
createQuery() - Method in class spoon.reflect.factory.QueryFactory
Creates a unbound query.
createQuery(Object) - Method in class spoon.reflect.factory.QueryFactory
Creates a bound query.
createQuery(Iterable<?>) - Method in class spoon.reflect.factory.QueryFactory
Creates a bound query.
createQuery(Object...) - Method in class spoon.reflect.factory.QueryFactory
Creates a bound query with an optional number of inputs elements to the query (see CtQuery.setInput(Object...))
createReference(CtConstructor<T>) - Method in class spoon.reflect.factory.ConstructorFactory
Creates a constructor reference from an existing constructor.
createReference(Constructor<T>) - Method in class spoon.reflect.factory.ConstructorFactory
Creates a constructor reference from an actual constructor.
createReference(CtTypeReference<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.ConstructorFactory
Creates a constructor reference.
createReference(CtExecutable<T>) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference from an existing executable.
createReference(CtTypeReference<?>, CtTypeReference<T>, String, CtTypeReference<?>...) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference.
createReference(CtTypeReference<?>, boolean, CtTypeReference<T>, String, CtTypeReference<?>...) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference.
createReference(CtTypeReference<?>, boolean, CtTypeReference<T>, String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference.
createReference(CtTypeReference<?>, CtTypeReference<T>, String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference.
createReference(String) - Method in class spoon.reflect.factory.ExecutableFactory
Creates an executable reference from its signature, as defined by the executable reference's toString.
createReference(CtField<T>) - Method in class spoon.reflect.factory.FieldFactory
Creates a field reference from an existing field.
createReference(CtTypeReference<?>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FieldFactory
Creates a field reference.
createReference(Field) - Method in class spoon.reflect.factory.FieldFactory
Creates a field reference from a java.lang.reflect field.
createReference(String) - Method in class spoon.reflect.factory.FieldFactory
Creates a field reference from its signature, as defined by the field reference's toString.
createReference(CtMethod<T>) - Method in class spoon.reflect.factory.MethodFactory
Creates a method reference.
createReference(Method) - Method in class spoon.reflect.factory.MethodFactory
Creates a method reference from an actual method.
createReference(CtModule) - Method in class spoon.reflect.factory.ModuleFactory
 
createReference(CtPackage) - Method in class spoon.reflect.factory.PackageFactory
Creates a reference to an existing package.
createReference(Package) - Method in class spoon.reflect.factory.PackageFactory
Creates a reference to a package by using its Java runtime representation.
createReference(String) - Method in class spoon.reflect.factory.PackageFactory
Creates a reference to a package.
createReference(Class<T>) - Method in class spoon.reflect.factory.TypeFactory
 
createReference(Class<T>, boolean) - Method in class spoon.reflect.factory.TypeFactory
Creates a reference to a simple type
createReference(CtType<T>) - Method in class spoon.reflect.factory.TypeFactory
Create a reference to a simple type
createReference(CtType<T>, boolean) - Method in class spoon.reflect.factory.TypeFactory
 
createReference(CtTypeParameter) - Method in class spoon.reflect.factory.TypeFactory
Create a reference to a simple type
createReference(String) - Method in class spoon.reflect.factory.TypeFactory
Create a reference to a simple type
createReferences(List<Class<?>>) - Method in interface spoon.reflect.factory.Factory
 
createReferences(List<Class<?>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createReferences(List<Class<?>>) - Method in class spoon.reflect.factory.TypeFactory
Creates a collection of type references from a collection of classes.
createResource(File) - Static method in class spoon.compiler.SpoonResourceHelper
Creates the SpoonResource corresponding to the given file.
createReturn() - Method in interface spoon.reflect.factory.CoreFactory
Creates a return statement.
createReturn() - Method in interface spoon.reflect.factory.Factory
 
createReturn() - Method in class spoon.reflect.factory.FactoryImpl
 
createReturn() - Method in class spoon.support.DefaultCoreFactory
 
createSourcePosition(CompilationUnit, int, int, int[]) - Method in interface spoon.reflect.factory.CoreFactory
Creates a source position.
createSourcePosition(CompilationUnit, int, int, int[]) - Method in interface spoon.reflect.factory.Factory
 
createSourcePosition(CompilationUnit, int, int, int[]) - Method in class spoon.reflect.factory.FactoryImpl
 
createSourcePosition(CompilationUnit, int, int, int[]) - Method in class spoon.support.DefaultCoreFactory
 
createStatementList(CtBlock<R>) - Method in class spoon.reflect.factory.CodeFactory
Creates a new statement list from an existing block.
createStatementList() - Method in interface spoon.reflect.factory.CoreFactory
Creates a statement list.
createStatementList(CtBlock<R>) - Method in interface spoon.reflect.factory.Factory
 
createStatementList() - Method in interface spoon.reflect.factory.Factory
 
createStatementList(CtBlock<R>) - Method in class spoon.reflect.factory.FactoryImpl
 
createStatementList() - Method in class spoon.reflect.factory.FactoryImpl
 
createStatementList() - Method in class spoon.support.DefaultCoreFactory
 
createSuperAccess() - Method in interface spoon.reflect.factory.CoreFactory
Creates an access expression to super.
createSuperAccess() - Method in interface spoon.reflect.factory.Factory
 
createSuperAccess() - Method in class spoon.reflect.factory.FactoryImpl
 
createSuperAccess() - Method in class spoon.support.DefaultCoreFactory
 
createSwitch() - Method in interface spoon.reflect.factory.CoreFactory
Creates a switch statement.
createSwitch() - Method in interface spoon.reflect.factory.Factory
 
createSwitch() - Method in class spoon.reflect.factory.FactoryImpl
 
createSwitch() - Method in class spoon.support.DefaultCoreFactory
 
createSynchronized() - Method in interface spoon.reflect.factory.CoreFactory
Creates a synchronized statement.
createSynchronized() - Method in interface spoon.reflect.factory.Factory
 
createSynchronized() - Method in class spoon.reflect.factory.FactoryImpl
 
createSynchronized() - Method in class spoon.support.DefaultCoreFactory
 
createThisAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates an explicit access to a this variable (of the form type.this).
createThisAccess(CtTypeReference<T>, boolean) - Method in class spoon.reflect.factory.CodeFactory
Creates an access to a this variable (of the form type.this).
createThisAccess() - Method in interface spoon.reflect.factory.CoreFactory
Creates an access expression to this.
createThisAccess(CtTypeReference<T>) - Method in interface spoon.reflect.factory.Factory
 
createThisAccess(CtTypeReference<T>, boolean) - Method in interface spoon.reflect.factory.Factory
 
createThisAccess() - Method in interface spoon.reflect.factory.Factory
 
createThisAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createThisAccess(CtTypeReference<T>, boolean) - Method in class spoon.reflect.factory.FactoryImpl
 
createThisAccess() - Method in class spoon.reflect.factory.FactoryImpl
 
createThisAccess() - Method in class spoon.support.DefaultCoreFactory
 
createThrow() - Method in interface spoon.reflect.factory.CoreFactory
Creates a throw statement.
createThrow() - Method in interface spoon.reflect.factory.Factory
 
createThrow() - Method in class spoon.reflect.factory.FactoryImpl
 
createThrow() - Method in class spoon.support.DefaultCoreFactory
 
createTry() - Method in interface spoon.reflect.factory.CoreFactory
Creates a try block.
createTry() - Method in interface spoon.reflect.factory.Factory
 
createTry() - Method in class spoon.reflect.factory.FactoryImpl
 
createTry() - Method in class spoon.support.DefaultCoreFactory
 
createTryWithResource() - Method in interface spoon.reflect.factory.CoreFactory
Creates a try with resource block.
createTryWithResource() - Method in interface spoon.reflect.factory.Factory
 
createTryWithResource() - Method in class spoon.reflect.factory.FactoryImpl
 
createTryWithResource() - Method in class spoon.support.DefaultCoreFactory
 
createTypeAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a accessed type.
createTypeAccess(CtTypeReference<T>, boolean) - Method in class spoon.reflect.factory.CodeFactory
Creates a accessed type.
createTypeAccess() - Method in interface spoon.reflect.factory.CoreFactory
Creates a type access expression.
createTypeAccess(CtTypeReference<T>) - Method in interface spoon.reflect.factory.Factory
 
createTypeAccess(CtTypeReference<T>, boolean) - Method in interface spoon.reflect.factory.Factory
 
createTypeAccess() - Method in interface spoon.reflect.factory.Factory
 
createTypeAccess(CtTypeReference<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeAccess(CtTypeReference<T>, boolean) - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeAccess() - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeAccess() - Method in class spoon.support.DefaultCoreFactory
 
createTypeAccessWithoutCloningReference(CtTypeReference<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a accessed type, see CodeFactory.createTypeAccess(CtTypeReference) for details.
createTypeAccessWithoutCloningReference(CtTypeReference<T>) - Method in interface spoon.reflect.factory.Factory
 
createTypeAccessWithoutCloningReference(CtTypeReference<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeAdapter(CtFormalTypeDeclarer) - Method in interface spoon.reflect.factory.Factory
 
createTypeAdapter(CtFormalTypeDeclarer) - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeAdapter(CtFormalTypeDeclarer) - Method in class spoon.reflect.factory.TypeFactory
Create a GenericTypeAdapter for adapting of formal type parameters from any compatible context to the context of provided `formalTypeDeclarer`
createTypeFromTemplate(String, CtType<?>, Map<String, Object>) - Static method in class spoon.template.Substitution
Generates a type (class, interface, enum, ...) from the template model `templateOfType` by by substituting all the template parameters by their values.
createTypeParameter() - Method in interface spoon.reflect.factory.CoreFactory
Creates a type parameter declaration.
createTypeParameter() - Method in interface spoon.reflect.factory.Factory
 
createTypeParameter() - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeParameter() - Method in class spoon.support.DefaultCoreFactory
 
createTypeParameterReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a type parameter reference.
createTypeParameterReference() - Method in interface spoon.reflect.factory.Factory
 
createTypeParameterReference(String) - Method in interface spoon.reflect.factory.Factory
 
createTypeParameterReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeParameterReference(String) - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeParameterReference(String) - Method in class spoon.reflect.factory.TypeFactory
Creates a type parameter reference with no bounds.
createTypeParameterReference() - Method in class spoon.support.DefaultCoreFactory
 
createTypeReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a type reference.
createTypeReference() - Method in interface spoon.reflect.factory.Factory
 
createTypeReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createTypeReference() - Method in class spoon.support.DefaultCoreFactory
 
createUnaryOperator() - Method in interface spoon.reflect.factory.CoreFactory
Creates a unary operator expression.
createUnaryOperator() - Method in interface spoon.reflect.factory.Factory
 
createUnaryOperator() - Method in class spoon.reflect.factory.FactoryImpl
 
createUnaryOperator() - Method in class spoon.support.DefaultCoreFactory
 
createUnboundVariableReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates an unbound variable used in noclasspath.
createUnboundVariableReference() - Method in interface spoon.reflect.factory.Factory
 
createUnboundVariableReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createUnboundVariableReference() - Method in class spoon.support.DefaultCoreFactory
 
createUsedService() - Method in interface spoon.reflect.factory.CoreFactory
Creates a "uses" directive for a Java 9 module file
createUsedService(CtTypeReference) - Method in interface spoon.reflect.factory.Factory
 
createUsedService(CtTypeReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createUsedService(CtTypeReference) - Method in class spoon.reflect.factory.ModuleFactory
 
createUsedService() - Method in class spoon.support.DefaultCoreFactory
 
createVariableAccess(CtVariableReference<T>, boolean) - Method in class spoon.support.compiler.jdt.JDTTreeBuilderHelper
Creates variable access from a CtVariableReference.
createVariableAssignment(CtVariableReference<A>, boolean, CtExpression<T>) - Method in class spoon.reflect.factory.CodeFactory
Creates a variable assignment (can be an expression or a statement).
createVariableAssignment(CtVariableReference<A>, boolean, CtExpression<T>) - Method in interface spoon.reflect.factory.Factory
 
createVariableAssignment(CtVariableReference<A>, boolean, CtExpression<T>) - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableAssignments(List<? extends CtVariable<T>>, List<? extends CtExpression<T>>) - Method in class spoon.reflect.factory.CodeFactory
Creates a list of statements that contains the assignments of a set of variables.
createVariableAssignments(List<? extends CtVariable<T>>, List<? extends CtExpression<T>>) - Method in interface spoon.reflect.factory.Factory
 
createVariableAssignments(List<? extends CtVariable<T>>, List<? extends CtExpression<T>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableRead(CtVariableReference<T>, boolean) - Method in class spoon.reflect.factory.CodeFactory
Creates a variable access.
createVariableRead() - Method in interface spoon.reflect.factory.CoreFactory
Creates a variable read expression.
createVariableRead(CtVariableReference<T>, boolean) - Method in interface spoon.reflect.factory.Factory
 
createVariableRead() - Method in interface spoon.reflect.factory.Factory
 
createVariableRead(CtVariableReference<T>, boolean) - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableRead() - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableRead() - Method in class spoon.support.DefaultCoreFactory
 
createVariableReads(List<? extends CtVariable<?>>) - Method in class spoon.reflect.factory.CodeFactory
Creates a list of variable accesses.
createVariableReads(List<? extends CtVariable<?>>) - Method in interface spoon.reflect.factory.Factory
 
createVariableReads(List<? extends CtVariable<?>>) - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableWrite() - Method in interface spoon.reflect.factory.CoreFactory
Creates a variable write expression.
createVariableWrite() - Method in interface spoon.reflect.factory.Factory
 
createVariableWrite() - Method in class spoon.reflect.factory.FactoryImpl
 
createVariableWrite() - Method in class spoon.support.DefaultCoreFactory
 
createWhile() - Method in interface spoon.reflect.factory.CoreFactory
Creates a while loop.
createWhile() - Method in interface spoon.reflect.factory.Factory
 
createWhile() - Method in class spoon.reflect.factory.FactoryImpl
 
createWhile() - Method in class spoon.support.DefaultCoreFactory
 
createWildcardReference() - Method in interface spoon.reflect.factory.CoreFactory
Creates a wildcard reference.
createWildcardReference() - Method in interface spoon.reflect.factory.Factory
 
createWildcardReference() - Method in class spoon.reflect.factory.FactoryImpl
 
createWildcardReference() - Method in class spoon.support.DefaultCoreFactory
 
createWildcardStaticTypeMemberReference() - Method in interface spoon.reflect.factory.CoreFactory
Create a wildcard reference to a type member, used in a static import
createWildcardStaticTypeMemberReference(CtTypeReference) - Method in interface spoon.reflect.factory.Factory
 
createWildcardStaticTypeMemberReference(CtTypeReference) - Method in class spoon.reflect.factory.FactoryImpl
 
createWildcardStaticTypeMemberReference(CtTypeReference) - Method in class spoon.reflect.factory.TypeFactory
Create a wildcard reference to a simple type
createWildcardStaticTypeMemberReference() - Method in class spoon.support.DefaultCoreFactory
 
CtAbstractBiScanner - Class in spoon.reflect.visitor
Defines the core bi-scan responsibility.
CtAbstractBiScanner() - Constructor for class spoon.reflect.visitor.CtAbstractBiScanner
 
CtAbstractInvocation<T> - Interface in spoon.reflect.code
This code element defines an abstract invocation on a CtExecutable.
CtAbstractVisitor - Class in spoon.reflect.visitor
Provides an empty implementation of CtVIsitor.
CtAbstractVisitor() - Constructor for class spoon.reflect.visitor.CtAbstractVisitor
 
CtActualTypeContainer - Interface in spoon.reflect.reference
This interface defines the capability related to binding generics (aka type parameters).
CtAnnotatedElementType - Enum in spoon.reflect.declaration
This enum specifies the element type which is annotated by the annotation
CtAnnotation<A extends Annotation> - Interface in spoon.reflect.declaration
This element represents an annotation on an element.
CtAnnotationFieldAccess<T> - Interface in spoon.reflect.code
This code element defines an access to a annotation parameter variable.
CtAnnotationFieldAccessImpl<T> - Class in spoon.support.reflect.code
 
CtAnnotationFieldAccessImpl() - Constructor for class spoon.support.reflect.code.CtAnnotationFieldAccessImpl
 
CtAnnotationImpl<A extends Annotation> - Class in spoon.support.reflect.declaration
The implementation for CtAnnotation.
CtAnnotationImpl() - Constructor for class spoon.support.reflect.declaration.CtAnnotationImpl
 
CtAnnotationMethod<T> - Interface in spoon.reflect.declaration
This element defines an annotation method declared in an annotation type.
CtAnnotationMethodImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtAnnotationMethod.
CtAnnotationMethodImpl() - Constructor for class spoon.support.reflect.declaration.CtAnnotationMethodImpl
 
CtAnnotationType<T extends Annotation> - Interface in spoon.reflect.declaration
This element defines an annotation type.
CtAnnotationTypeImpl<T extends Annotation> - Class in spoon.support.reflect.declaration
The implementation for CtAnnotationType.
CtAnnotationTypeImpl() - Constructor for class spoon.support.reflect.declaration.CtAnnotationTypeImpl
 
CtAnonymousExecutable - Interface in spoon.reflect.declaration
This element defines an anonymous executable block declaration in a class.
CtAnonymousExecutableImpl - Class in spoon.support.reflect.declaration
 
CtAnonymousExecutableImpl() - Constructor for class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
 
CtArrayAccess<T,E extends CtExpression<?>> - Interface in spoon.reflect.code
This code element defines a one-dimensional array access.
CtArrayAccessImpl<T,V extends CtExpression<?>> - Class in spoon.support.reflect.code
 
CtArrayAccessImpl() - Constructor for class spoon.support.reflect.code.CtArrayAccessImpl
 
CtArrayRead<T> - Interface in spoon.reflect.code
This code element defines a read access to an array.
CtArrayReadImpl<T> - Class in spoon.support.reflect.code
 
CtArrayReadImpl() - Constructor for class spoon.support.reflect.code.CtArrayReadImpl
 
CtArrayTypeReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to an array.
CtArrayTypeReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtArrayTypeReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
CtArrayWrite<T> - Interface in spoon.reflect.code
This code element defines a write access to an array.
CtArrayWriteImpl<T> - Class in spoon.support.reflect.code
 
CtArrayWriteImpl() - Constructor for class spoon.support.reflect.code.CtArrayWriteImpl
 
CtAssert<T> - Interface in spoon.reflect.code
This code element defines an assert clause.
CtAssertImpl<T> - Class in spoon.support.reflect.code
 
CtAssertImpl() - Constructor for class spoon.support.reflect.code.CtAssertImpl
 
CtAssignment<T,A extends T> - Interface in spoon.reflect.code
This code element defines an assignment.
CtAssignmentImpl<T,A extends T> - Class in spoon.support.reflect.code
 
CtAssignmentImpl() - Constructor for class spoon.support.reflect.code.CtAssignmentImpl
 
CtBinaryOperator<T> - Interface in spoon.reflect.code
This interface defines a binary operator.
CtBinaryOperatorImpl<T> - Class in spoon.support.reflect.code
 
CtBinaryOperatorImpl() - Constructor for class spoon.support.reflect.code.CtBinaryOperatorImpl
 
CtBiScannerDefault - Class in spoon.reflect.visitor
This visitor implements a deep-search scan on the model for 2 elements.
CtBiScannerDefault() - Constructor for class spoon.reflect.visitor.CtBiScannerDefault
 
CtBlock<R> - Interface in spoon.reflect.code
This code element represents a block of code, that is to say a list of statements enclosed in curly brackets.
CtBlockImpl<R> - Class in spoon.support.reflect.code
 
CtBlockImpl() - Constructor for class spoon.support.reflect.code.CtBlockImpl
 
CtBodyHolder - Interface in spoon.reflect.code
This abstract code element defines an element, which contains a body
CtBreak - Interface in spoon.reflect.code
This code element defines a break statement.
CtBreakImpl - Class in spoon.support.reflect.code
 
CtBreakImpl() - Constructor for class spoon.support.reflect.code.CtBreakImpl
 
CtCase<S> - Interface in spoon.reflect.code
This code element defines a case within a switch-case.
CtCaseImpl<E> - Class in spoon.support.reflect.code
 
CtCaseImpl() - Constructor for class spoon.support.reflect.code.CtCaseImpl
 
CtCatch - Interface in spoon.reflect.code
This code element defines a catch of a try.
CtCatchImpl - Class in spoon.support.reflect.code
 
CtCatchImpl() - Constructor for class spoon.support.reflect.code.CtCatchImpl
 
CtCatchVariable<T> - Interface in spoon.reflect.code
This code element defines an exception variable in a catch.
CtCatchVariableImpl<T> - Class in spoon.support.reflect.code
 
CtCatchVariableImpl() - Constructor for class spoon.support.reflect.code.CtCatchVariableImpl
 
CtCatchVariableReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to CtCatchVariable.
CtCatchVariableReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtCatchVariableReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtCatchVariableReferenceImpl
 
CtCFlowBreak - Interface in spoon.reflect.code
This abstract code element represents all the statements that break the control flow of the program.
CtClass<T> - Interface in spoon.reflect.declaration
This element represents a class declaration.
CtClassImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtClass.
CtClassImpl() - Constructor for class spoon.support.reflect.declaration.CtClassImpl
 
CtCodeElement - Interface in spoon.reflect.code
This interface is the root interface of the code elements.
CtCodeElementImpl - Class in spoon.support.reflect.code
 
CtCodeElementImpl() - Constructor for class spoon.support.reflect.code.CtCodeElementImpl
 
CtCodeSnippet - Interface in spoon.reflect.declaration
This interface represents snippets of source code that can be used in the AST to represent complex code without having to build the corresponding program model structure.
CtCodeSnippetExpression<T> - Interface in spoon.reflect.code
This element is a code snippet that must represent an expression and can thus be inserted in the program's model as is.
CtCodeSnippetExpressionImpl<T> - Class in spoon.support.reflect.code
 
CtCodeSnippetExpressionImpl() - Constructor for class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
 
CtCodeSnippetStatement - Interface in spoon.reflect.code
This element is a code snippet that must represent a statement and can thus be inserted in the program's model as is.
CtCodeSnippetStatementImpl - Class in spoon.support.reflect.code
 
CtCodeSnippetStatementImpl() - Constructor for class spoon.support.reflect.code.CtCodeSnippetStatementImpl
 
CtComment - Interface in spoon.reflect.code
This code element defines a comment Example: int x = 0; // a comment
CtComment.CommentType - Enum in spoon.reflect.code
 
CtCommentImpl - Class in spoon.support.reflect.code
 
CtCommentImpl() - Constructor for class spoon.support.reflect.code.CtCommentImpl
 
CtCommentImpl(CtComment.CommentType) - Constructor for class spoon.support.reflect.code.CtCommentImpl
 
CtConditional<T> - Interface in spoon.reflect.code
This code element defines conditional expressions using the ? (ternary expressions).
CtConditionalImpl<T> - Class in spoon.support.reflect.code
 
CtConditionalImpl() - Constructor for class spoon.support.reflect.code.CtConditionalImpl
 
CtConstructor<T> - Interface in spoon.reflect.declaration
This element defines a constructor declaration.
CtConstructorCall<T> - Interface in spoon.reflect.code
This code element represents a constructor call.
CtConstructorCallImpl<T> - Class in spoon.support.reflect.code
 
CtConstructorCallImpl() - Constructor for class spoon.support.reflect.code.CtConstructorCallImpl
 
CtConstructorImpl<T> - Class in spoon.support.reflect.declaration
 
CtConstructorImpl() - Constructor for class spoon.support.reflect.declaration.CtConstructorImpl
 
CtConsumableFunction<T> - Interface in spoon.reflect.visitor.chain
Represents a function, as CtFunction.
CtConsumer<T> - Interface in spoon.reflect.visitor.chain
The functional interface used to receive objects.
CtContinue - Interface in spoon.reflect.code
This code element defines the continue statement.
CtContinueImpl - Class in spoon.support.reflect.code
 
CtContinueImpl() - Constructor for class spoon.support.reflect.code.CtContinueImpl
 
CtDequeScanner - Class in spoon.reflect.visitor
This class defines a scanner that maintains a scanning stack for contextual awareness.
CtDequeScanner() - Constructor for class spoon.reflect.visitor.CtDequeScanner
Default constructor.
CtDo - Interface in spoon.reflect.code
This code element defines a do loop.
CtDoImpl - Class in spoon.support.reflect.code
 
CtDoImpl() - Constructor for class spoon.support.reflect.code.CtDoImpl
 
CtElement - Interface in spoon.reflect.declaration
This interface is the root interface for the metamodel elements (any program element).
CtElementAssert - Class in spoon.testing
 
CtElementAssert(CtElement) - Constructor for class spoon.testing.CtElementAssert
 
CtElementImpl - Class in spoon.support.reflect.declaration
Contains the default implementation of most CtElement methods.
CtElementImpl() - Constructor for class spoon.support.reflect.declaration.CtElementImpl
 
CtElementPathBuilder - Class in spoon.reflect.path
This builder allow to create some CtPath from CtElements Created by nharrand on 21/02/2018.
CtElementPathBuilder() - Constructor for class spoon.reflect.path.CtElementPathBuilder
 
CtEnum<T extends Enum<?>> - Interface in spoon.reflect.declaration
This element represents an enumeration declaration.
CtEnumImpl<T extends Enum<?>> - Class in spoon.support.reflect.declaration
 
CtEnumImpl() - Constructor for class spoon.support.reflect.declaration.CtEnumImpl
 
CtEnumValue<T> - Interface in spoon.reflect.declaration
Corresponds to one enum value specified in an enumeration.
CtEnumValueImpl<T> - Class in spoon.support.reflect.declaration
 
CtEnumValueImpl() - Constructor for class spoon.support.reflect.declaration.CtEnumValueImpl
 
CtExecutable<R> - Interface in spoon.reflect.declaration
This element represents an executable element such as a method, a constructor, or an anonymous block.
CtExecutableImpl<R> - Class in spoon.support.reflect.declaration
The implementation for CtExecutable.
CtExecutableImpl() - Constructor for class spoon.support.reflect.declaration.CtExecutableImpl
 
CtExecutableReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to a CtExecutable.
CtExecutableReferenceExpression<T,E extends CtExpression<?>> - Interface in spoon.reflect.code
This abstract code element defines an expression which represents an executable reference.
CtExecutableReferenceExpressionImpl<T,E extends CtExpression<?>> - Class in spoon.support.reflect.code
 
CtExecutableReferenceExpressionImpl() - Constructor for class spoon.support.reflect.code.CtExecutableReferenceExpressionImpl
 
CtExecutableReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtExecutableReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
CtExpression<T> - Interface in spoon.reflect.code
This abstract code element defines a typed expression.
CtExpressionImpl<T> - Class in spoon.support.reflect.code
 
CtExpressionImpl() - Constructor for class spoon.support.reflect.code.CtExpressionImpl
 
CtExtendedModifier - Class in spoon.support.reflect
Represents a modifier (eg "public").
CtExtendedModifier(ModifierKind) - Constructor for class spoon.support.reflect.CtExtendedModifier
 
CtExtendedModifier(ModifierKind, boolean) - Constructor for class spoon.support.reflect.CtExtendedModifier
 
CtField<T> - Interface in spoon.reflect.declaration
This element defines a field declaration.
CtFieldAccess<T> - Interface in spoon.reflect.code
This code element defines an access to a field variable (read and write)
CtFieldAccessImpl<T> - Class in spoon.support.reflect.code
 
CtFieldAccessImpl() - Constructor for class spoon.support.reflect.code.CtFieldAccessImpl
 
CtFieldImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtField.
CtFieldImpl() - Constructor for class spoon.support.reflect.declaration.CtFieldImpl
 
CtFieldRead<T> - Interface in spoon.reflect.code
This code element defines a read access to a field.
CtFieldReadImpl<T> - Class in spoon.support.reflect.code
 
CtFieldReadImpl() - Constructor for class spoon.support.reflect.code.CtFieldReadImpl
 
CtFieldReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to a CtField.
CtFieldReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtFieldReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtFieldReferenceImpl
 
CtFieldWrite<T> - Interface in spoon.reflect.code
This code element defines a write access to a field.
CtFieldWriteImpl<T> - Class in spoon.support.reflect.code
 
CtFieldWriteImpl() - Constructor for class spoon.support.reflect.code.CtFieldWriteImpl
 
CtFor - Interface in spoon.reflect.code
This code element defines a for loop.
CtForEach - Interface in spoon.reflect.code
This code element defines a foreach statement.
CtForEachImpl - Class in spoon.support.reflect.code
 
CtForEachImpl() - Constructor for class spoon.support.reflect.code.CtForEachImpl
 
CtForImpl - Class in spoon.support.reflect.code
 
CtForImpl() - Constructor for class spoon.support.reflect.code.CtForImpl
 
CtFormalTypeDeclarer - Interface in spoon.reflect.declaration
This abstract element defines a declaration that accepts formal type parameters (aka generics), such as a CtType (class A<E>), CtMethod or CtConstructor.
CtFunction<T,R> - Interface in spoon.reflect.visitor.chain
Abstraction for functions in the Spoon realm.
CtIf - Interface in spoon.reflect.code
This code element represents an if statement.
CtIfImpl - Class in spoon.support.reflect.code
 
CtIfImpl() - Constructor for class spoon.support.reflect.code.CtIfImpl
 
CtImport - Interface in spoon.reflect.declaration
This element represents an import declaration.
CtImportImpl - Class in spoon.support.reflect.declaration
 
CtImportImpl() - Constructor for class spoon.support.reflect.declaration.CtImportImpl
 
CtImportKind - Enum in spoon.reflect.declaration
 
CtInheritanceScanner - Class in spoon.reflect.visitor
This class provides an abstract implementation of the visitor that allows its subclasses to scans the metamodel elements by recursively using their (abstract) supertype scanning methods.
CtInheritanceScanner() - Constructor for class spoon.reflect.visitor.CtInheritanceScanner
Default constructor.
CtInterface<T> - Interface in spoon.reflect.declaration
This element defines an interface declaration.
CtInterfaceImpl<T> - Class in spoon.support.reflect.declaration
 
CtInterfaceImpl() - Constructor for class spoon.support.reflect.declaration.CtInterfaceImpl
 
CtIntersectionTypeReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to an intersection type in generics or in casts.
CtIntersectionTypeReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtIntersectionTypeReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
 
CtInvocation<T> - Interface in spoon.reflect.code
This code element defines a concrete invocation.
CtInvocationImpl<T> - Class in spoon.support.reflect.code
 
CtInvocationImpl() - Constructor for class spoon.support.reflect.code.CtInvocationImpl
 
CtIterator - Class in spoon.reflect.visitor
A class to be able to iterate over the children elements in the tree of a given node, in depth-first order.
CtIterator(CtElement) - Constructor for class spoon.reflect.visitor.CtIterator
CtIterator constructor, prepares the iterator from the @root node
CtJavaDoc - Interface in spoon.reflect.code
This code element defines a javadoc comment Example:
CtJavaDocImpl - Class in spoon.support.reflect.code
 
CtJavaDocImpl() - Constructor for class spoon.support.reflect.code.CtJavaDocImpl
 
CtJavaDocTag - Interface in spoon.reflect.code
This code element defines a javadoc tag Example:
CtJavaDocTag.TagType - Enum in spoon.reflect.code
Define the possible type for a tag
CtJavaDocTagImpl - Class in spoon.support.reflect.code
 
CtJavaDocTagImpl() - Constructor for class spoon.support.reflect.code.CtJavaDocTagImpl
 
CtLabelledFlowBreak - Interface in spoon.reflect.code
This abstract code element represents all the statements that break the control flow of the program and which can support a label.
CtLambda<T> - Interface in spoon.reflect.code
This code element represents the creation of a lambda.
CtLambdaImpl<T> - Class in spoon.support.reflect.code
 
CtLambdaImpl() - Constructor for class spoon.support.reflect.code.CtLambdaImpl
 
CtLineElementComparator - Class in spoon.support.comparator
Comparator of compile-time elements.
CtLineElementComparator() - Constructor for class spoon.support.comparator.CtLineElementComparator
 
CtLiteral<T> - Interface in spoon.reflect.code
This code element defines a literal value (an int, a string, etc).
CtLiteralImpl<T> - Class in spoon.support.reflect.code
 
CtLiteralImpl() - Constructor for class spoon.support.reflect.code.CtLiteralImpl
 
CtLocalVariable<T> - Interface in spoon.reflect.code
This code element defines a local variable definition (within an executable body).
CtLocalVariableImpl<T> - Class in spoon.support.reflect.code
 
CtLocalVariableImpl() - Constructor for class spoon.support.reflect.code.CtLocalVariableImpl
 
CtLocalVariableReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to CtLocalVariable.
CtLocalVariableReferenceImpl<T> - Class in spoon.support.reflect.reference
An implementation for CtLocalVariableReference.
CtLocalVariableReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
Default constructor.
CtLoop - Interface in spoon.reflect.code
This abstract code element defines a loop.
CtLoopImpl - Class in spoon.support.reflect.code
 
CtLoopImpl() - Constructor for class spoon.support.reflect.code.CtLoopImpl
 
CtMethod<T> - Interface in spoon.reflect.declaration
This element defines a method declaration.
CtMethodImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtMethod.
CtMethodImpl() - Constructor for class spoon.support.reflect.declaration.CtMethodImpl
 
CtModel - Interface in spoon.reflect
represents a Java program, modeled by a set of compile-time (Ct) objects where each object is a program element (for instance, a CtClass represents a class).
CtModelImpl - Class in spoon.reflect
 
CtModelImpl(Factory) - Constructor for class spoon.reflect.CtModelImpl
 
CtModelImpl.CtRootPackage - Class in spoon.reflect
 
CtModifiable - Interface in spoon.reflect.declaration
This interface defines an element that accepts modifiers.
CtModifierHandler - Class in spoon.support.reflect
 
CtModifierHandler(CtElement) - Constructor for class spoon.support.reflect.CtModifierHandler
 
CtModule - Interface in spoon.reflect.declaration
Represents a Java module as defined in Java 9.
CtModuleDirective - Interface in spoon.reflect.declaration
Represents a directive of a CtModule The directives of a module declaration specify the module's dependences on other modules CtModuleRequirement, the packages it makes available to other modules CtPackageExport, the services it consumes CtUsedService, and the services it provides CtProvidedService.
CtModuleImpl - Class in spoon.support.reflect.declaration
 
CtModuleImpl() - Constructor for class spoon.support.reflect.declaration.CtModuleImpl
 
CtModuleReference - Interface in spoon.reflect.reference
Represents a reference to a CtModule
CtModuleReferenceImpl - Class in spoon.support.reflect.reference
 
CtModuleReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtModuleReferenceImpl
 
CtModuleRequirement - Interface in spoon.reflect.declaration
Represents a require module in a Java module definition The requires directive specifies the name of a module on which the current module has a dependence.
CtModuleRequirement.RequiresModifier - Enum in spoon.reflect.declaration
 
CtModuleRequirementImpl - Class in spoon.support.reflect.declaration
 
CtModuleRequirementImpl() - Constructor for class spoon.support.reflect.declaration.CtModuleRequirementImpl
 
CtMultiTypedElement - Interface in spoon.reflect.declaration
Defined an element with several types.
CtNamedElement - Interface in spoon.reflect.declaration
Declares an element that has a name (a class, a method, a variable, etc).
CtNamedElementImpl - Class in spoon.support.reflect.declaration
 
CtNamedElementImpl() - Constructor for class spoon.support.reflect.declaration.CtNamedElementImpl
 
CtNamedPathElement - Class in spoon.reflect.path.impl
A CtPathElement that match on CtNamedElement#getSimpleName
CtNamedPathElement(String) - Constructor for class spoon.reflect.path.impl.CtNamedPathElement
 
CtNewArray<T> - Interface in spoon.reflect.code
This code element defines the inline creation of a new array.
CtNewArrayImpl<T> - Class in spoon.support.reflect.code
 
CtNewArrayImpl() - Constructor for class spoon.support.reflect.code.CtNewArrayImpl
 
CtNewClass<T> - Interface in spoon.reflect.code
This code element represents the creation of a anonymous class.
CtNewClassImpl<T> - Class in spoon.support.reflect.code
 
CtNewClassImpl() - Constructor for class spoon.support.reflect.code.CtNewClassImpl
 
CtOperatorAssignment<T,A extends T> - Interface in spoon.reflect.code
This code element defines an self-operated assignment such as += or *=.
CtOperatorAssignmentImpl<T,A extends T> - Class in spoon.support.reflect.code
 
CtOperatorAssignmentImpl() - Constructor for class spoon.support.reflect.code.CtOperatorAssignmentImpl
 
CtPackage - Interface in spoon.reflect.declaration
This element defines a package declaration.
CtPackageAssert - Class in spoon.testing
 
CtPackageAssert(CtPackage) - Constructor for class spoon.testing.CtPackageAssert
 
CtPackageExport - Interface in spoon.reflect.declaration
Represents an exported or opened package in a Java module The exports directive specifies the name of a package to be exported by the current module.
CtPackageExportImpl - Class in spoon.support.reflect.declaration
 
CtPackageExportImpl() - Constructor for class spoon.support.reflect.declaration.CtPackageExportImpl
 
CtPackageImpl - Class in spoon.support.reflect.declaration
The implementation for CtPackage.
CtPackageImpl() - Constructor for class spoon.support.reflect.declaration.CtPackageImpl
 
CtPackageReference - Interface in spoon.reflect.reference
This interface defines a reference to a CtPackage.
CtPackageReferenceImpl - Class in spoon.support.reflect.reference
 
CtPackageReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtPackageReferenceImpl
 
CtParameter<T> - Interface in spoon.reflect.declaration
This element defines an executable parameter declaration.
CtParameterImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtParameter.
CtParameterImpl() - Constructor for class spoon.support.reflect.declaration.CtParameterImpl
 
CtParameterReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to a CtParameter of a method.
CtParameterReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtParameterReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtParameterReferenceImpl
 
CtParameterRemoveRefactoring - Class in spoon.refactoring
Removes target CtParameter from the parent target CtExecutable and from all overriding/overridden methods of related type hierarchies and from all lambda expressions (if any) implementing the modified interface.
CtParameterRemoveRefactoring() - Constructor for class spoon.refactoring.CtParameterRemoveRefactoring
 
CtPath - Interface in spoon.reflect.path
A CtPath allows to define the path to a CtElement in the Spoon model, eg ".spoon.test.path.Foo.foo#body#statement[index=0]"
CtPathBuilder - Class in spoon.reflect.path
This builder allow to create some CtPath.
CtPathBuilder() - Constructor for class spoon.reflect.path.CtPathBuilder
 
CtPathElement<P extends CtElement,T extends CtElement> - Interface in spoon.reflect.path.impl
A single path element from a CtPath.
CtPathException - Exception in spoon.reflect.path
This exception is throw when there are errors during a CtPath building or evaluation.
CtPathException() - Constructor for exception spoon.reflect.path.CtPathException
 
CtPathException(Throwable) - Constructor for exception spoon.reflect.path.CtPathException
 
CtPathException(String) - Constructor for exception spoon.reflect.path.CtPathException
 
CtPathImpl - Class in spoon.reflect.path.impl
Default implementation for a CtPath
CtPathImpl() - Constructor for class spoon.reflect.path.impl.CtPathImpl
 
CtPathStringBuilder - Class in spoon.reflect.path
Created by nicolas on 27/08/2015.
CtPathStringBuilder() - Constructor for class spoon.reflect.path.CtPathStringBuilder
 
CtProvidedService - Interface in spoon.reflect.declaration
Represents a provided service in a CtModule.
CtProvidedServiceImpl - Class in spoon.support.reflect.declaration
 
CtProvidedServiceImpl() - Constructor for class spoon.support.reflect.declaration.CtProvidedServiceImpl
 
CtQuery - Interface in spoon.reflect.visitor.chain
CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.
CtQueryable - Interface in spoon.reflect.visitor.chain
Represents an object on which one can make queries.
CtQueryAware - Interface in spoon.reflect.visitor.chain
Expert-only capability interface so as to write advanced CtFunction and Filter that need to access the state of the top-level CtQuery instance containing the function to be evaluated.
CtQueryImpl - Class in spoon.reflect.visitor.chain
The facade of CtQuery which represents a query bound to the CtElement, which is the constant input of this query.
CtQueryImpl(Object...) - Constructor for class spoon.reflect.visitor.chain.CtQueryImpl
 
CtRefactoring - Interface in spoon.refactoring
Defines basic contract of all refactoring implementations.
Contract: to process a required refactoring.
Usage:
CtReference - Interface in spoon.reflect.reference
This is the root interface for named program element references.
CtReferenceImpl - Class in spoon.support.reflect.reference
 
CtReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtReferenceImpl
 
CtRenameLocalVariableRefactoring - Class in spoon.refactoring
Spoon model refactoring function which renames `target` local variable to `newName`
This refactoring will throw RefactoringException if the model would be not consistent after rename to new name.
CtRenameLocalVariableRefactoring() - Constructor for class spoon.refactoring.CtRenameLocalVariableRefactoring
 
CtRenameRefactoring<T extends CtNamedElement> - Interface in spoon.refactoring
The kind of refactoring, which renames a `target` element to the `newName`
Usage:
CtReturn<R> - Interface in spoon.reflect.code
This code element represents a return statement.
CtReturnImpl<R> - Class in spoon.support.reflect.code
 
CtReturnImpl() - Constructor for class spoon.support.reflect.code.CtReturnImpl
 
CtRHSReceiver<A> - Interface in spoon.reflect.code
Represents the right hand side of an assignment See CtAssignment, CtLocalVariable, CtField
CtRole - Enum in spoon.reflect.path
Identifies the roles of attributes of spoon model.
CtRolePathElement - Class in spoon.reflect.path.impl
A CtPathElement that define some roles for matching.
CtRolePathElement(CtRole) - Constructor for class spoon.reflect.path.impl.CtRolePathElement
 
CtRootPackage() - Constructor for class spoon.reflect.CtModelImpl.CtRootPackage
 
CtScanner - Class in spoon.reflect.visitor
This visitor implements a deep-search scan on the model.
CtScanner() - Constructor for class spoon.reflect.visitor.CtScanner
Default constructor.
CtScannerFunction - Class in spoon.reflect.visitor.filter
Returns all children of an element.
CtScannerFunction() - Constructor for class spoon.reflect.visitor.filter.CtScannerFunction
 
CtScannerListener - Interface in spoon.reflect.visitor.chain
Responsible for performing an action when a scanner enters/exits a node while scanning the AST.
CtShadowable - Interface in spoon.reflect.declaration
A shadow element is an element that is in the Spoon model, but does not exist in the actual source code.
CtStatement - Interface in spoon.reflect.code
This abstract code element represents all the statements, which can be part of a block.
CtStatementImpl - Class in spoon.support.reflect.code
 
CtStatementImpl() - Constructor for class spoon.support.reflect.code.CtStatementImpl
 
CtStatementList - Interface in spoon.reflect.code
This code element represents a list of statements.
CtStatementListImpl<R> - Class in spoon.support.reflect.code
 
CtStatementListImpl() - Constructor for class spoon.support.reflect.code.CtStatementListImpl
 
CtSuperAccess<T> - Interface in spoon.reflect.code
This code element defines an access to super.
CtSuperAccessImpl<T> - Class in spoon.support.reflect.code
 
CtSuperAccessImpl() - Constructor for class spoon.support.reflect.code.CtSuperAccessImpl
 
CtSwitch<S> - Interface in spoon.reflect.code
This code element defines a switch statement.
CtSwitchImpl<S> - Class in spoon.support.reflect.code
 
CtSwitchImpl() - Constructor for class spoon.support.reflect.code.CtSwitchImpl
 
CtSynchronized - Interface in spoon.reflect.code
This code element defines a synchronized statement.
CtSynchronizedImpl - Class in spoon.support.reflect.code
 
CtSynchronizedImpl() - Constructor for class spoon.support.reflect.code.CtSynchronizedImpl
 
CtTargetedExpression<T,E extends CtExpression<?>> - Interface in spoon.reflect.code
This abstract code element defines an expression which contains a target expression.
CtTargetedExpressionImpl<E,T extends CtExpression<?>> - Class in spoon.support.reflect.code
 
CtTargetedExpressionImpl() - Constructor for class spoon.support.reflect.code.CtTargetedExpressionImpl
 
CtThisAccess<T> - Interface in spoon.reflect.code
This code element defines an access to this.
CtThisAccessImpl<T> - Class in spoon.support.reflect.code
 
CtThisAccessImpl() - Constructor for class spoon.support.reflect.code.CtThisAccessImpl
 
CtThrow - Interface in spoon.reflect.code
This code element defines a throw statement.
CtThrowImpl - Class in spoon.support.reflect.code
 
CtThrowImpl() - Constructor for class spoon.support.reflect.code.CtThrowImpl
 
CtTry - Interface in spoon.reflect.code
This code element defines a try statement.
CtTryImpl - Class in spoon.support.reflect.code
 
CtTryImpl() - Constructor for class spoon.support.reflect.code.CtTryImpl
 
CtTryWithResource - Interface in spoon.reflect.code
This code element defines a try with resource statement.
CtTryWithResourceImpl - Class in spoon.support.reflect.code
 
CtTryWithResourceImpl() - Constructor for class spoon.support.reflect.code.CtTryWithResourceImpl
 
CtType<T> - Interface in spoon.reflect.declaration
This abstract element defines a super-type for classes and interfaces, which can declare methods.
CtTypeAccess<A> - Interface in spoon.reflect.code
This code element represents a type reference usable as an expression.
CtTypeAccessImpl<A> - Class in spoon.support.reflect.code
 
CtTypeAccessImpl() - Constructor for class spoon.support.reflect.code.CtTypeAccessImpl
 
CtTypedElement<T> - Interface in spoon.reflect.declaration
This abstract element defines a typed element.
CtTypedNameElement<P extends CtElement,T extends CtElement> - Class in spoon.reflect.path.impl
spoon.reflect.path.impl.CtPathElement that match on CtNamedElement
CtTypedNameElement(Class<T>) - Constructor for class spoon.reflect.path.impl.CtTypedNameElement
 
CtTypeImpl<T> - Class in spoon.support.reflect.declaration
The implementation for CtType.
CtTypeImpl() - Constructor for class spoon.support.reflect.declaration.CtTypeImpl
 
CtTypeInformation - Interface in spoon.reflect.declaration
Returns information that can be obtained both at compile-time and run-time For CtElement, the compile-time information is given For CtTypeReference, the runtime information is given (using the Reflection API)
CtTypeMember - Interface in spoon.reflect.declaration
This interface represents a member of a class (field, method, nested class or static/instance initializer).
CtTypeParameter - Interface in spoon.reflect.declaration
This element defines a declaration of a type parameter (aka generics).
CtTypeParameterImpl - Class in spoon.support.reflect.declaration
 
CtTypeParameterImpl() - Constructor for class spoon.support.reflect.declaration.CtTypeParameterImpl
 
CtTypeParameterReference - Interface in spoon.reflect.reference
This interface defines a reference to a type parameter (aka generics).
CtTypeParameterReferenceImpl - Class in spoon.support.reflect.reference
 
CtTypeParameterReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
CtTypeReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to a CtType or sub-type.
CtTypeReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtTypeReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtTypeReferenceImpl
 
CTTYPES - Static variable in interface spoon.SpoonModelBuilder.InputType
 
CtUnaryOperator<T> - Interface in spoon.reflect.code
This code element represents a unary operator.
CtUnaryOperatorImpl<T> - Class in spoon.support.reflect.code
 
CtUnaryOperatorImpl() - Constructor for class spoon.support.reflect.code.CtUnaryOperatorImpl
 
CtUnboundVariableReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to an unbound CtVariable.
CtUnboundVariableReferenceImpl<T> - Class in spoon.support.reflect.reference
represents a reference to an unbound field (used when no full classpath is available
CtUnboundVariableReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtUnboundVariableReferenceImpl
 
CtUnnamedModule() - Constructor for class spoon.reflect.factory.ModuleFactory.CtUnnamedModule
 
CtUsedService - Interface in spoon.reflect.declaration
Represents the declaration of a used service in a CtModule The uses directive specifies a service for which the current module may discover providers via java.util.ServiceLoader.
CtUsedServiceImpl - Class in spoon.support.reflect.declaration
 
CtUsedServiceImpl() - Constructor for class spoon.support.reflect.declaration.CtUsedServiceImpl
 
CtVariable<T> - Interface in spoon.reflect.declaration
This abstract element defines a variable declaration.
CtVariableAccess<T> - Interface in spoon.reflect.code
This code element defines an access to a variable (read and write).
CtVariableAccessImpl<T> - Class in spoon.support.reflect.code
 
CtVariableAccessImpl() - Constructor for class spoon.support.reflect.code.CtVariableAccessImpl
 
CtVariableRead<T> - Interface in spoon.reflect.code
This code element defines an read access to a variable.
CtVariableReadImpl<T> - Class in spoon.support.reflect.code
 
CtVariableReadImpl() - Constructor for class spoon.support.reflect.code.CtVariableReadImpl
 
CtVariableReference<T> - Interface in spoon.reflect.reference
This interface defines a reference to a CtVariable or sub-type.
CtVariableReferenceImpl<T> - Class in spoon.support.reflect.reference
 
CtVariableReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtVariableReferenceImpl
 
CtVariableWrite<T> - Interface in spoon.reflect.code
This code element defines a write to a variable.
CtVariableWriteImpl<T> - Class in spoon.support.reflect.code
 
CtVariableWriteImpl() - Constructor for class spoon.support.reflect.code.CtVariableWriteImpl
 
CtVisitable - Interface in spoon.reflect.visitor
Define a visitable element in spoon.
CtVisitor - Interface in spoon.reflect.visitor
This interface defines the visitor for the Spoon metamodel, as defined in spoon.reflect.declaration, spoon.reflect.code, and spoon.reflect.reference.
CtWhile - Interface in spoon.reflect.code
This code element defines a while loop.
CtWhileImpl - Class in spoon.support.reflect.code
 
CtWhileImpl() - Constructor for class spoon.support.reflect.code.CtWhileImpl
 
CtWildcardReference - Interface in spoon.reflect.reference
Represents a wildcard in generic type annotations, i.e.
CtWildcardReferenceImpl - Class in spoon.support.reflect.reference
 
CtWildcardReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtWildcardReferenceImpl
 
CtWildcardStaticTypeMemberReferenceImpl - Class in spoon.support.reflect.reference
This class intends to be used only to represent the reference of a static import of all members of a type: import static org.junit.Assert.*;
CtWildcardStaticTypeMemberReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtWildcardStaticTypeMemberReferenceImpl
 

D

DATE - Variable in class spoon.reflect.factory.TypeFactory
 
dateType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the date type.
debugMessage(String) - Method in interface spoon.compiler.Environment
This method should be called to print out a message with a source position link during the processing.
debugMessage(String) - Method in class spoon.support.StandardEnvironment
 
DeclarationSourcePosition - Interface in spoon.reflect.cu.position
This interface represents the position of a program element in a source file.
DeclarationSourcePositionImpl - Class in spoon.support.reflect.cu.position
This class represents the position of a Java program element in a source file.
DeclarationSourcePositionImpl(CompilationUnit, int, int, int, int, int, int, int[]) - Constructor for class spoon.support.reflect.cu.position.DeclarationSourcePositionImpl
 
decTab() - Method in class spoon.reflect.visitor.DefaultTokenWriter
 
decTab() - Method in class spoon.reflect.visitor.PrinterHelper
Decrements the current number of tabs.
decTab() - Method in interface spoon.reflect.visitor.TokenWriter
decrements indentation
dedup(String) - Method in class spoon.reflect.factory.FactoryImpl
Returns a String equal to the given symbol.
DeepRepresentationComparator - Class in spoon.support.comparator
Compares based on a toString representation.
DeepRepresentationComparator() - Constructor for class spoon.support.comparator.DeepRepresentationComparator
 
DEFAULT_CODE_COMPLIANCE_LEVEL - Static variable in class spoon.support.StandardEnvironment
 
DefaultCoreFactory - Class in spoon.support
This class implements a default core factory for Spoon's meta-model.
DefaultCoreFactory() - Constructor for class spoon.support.DefaultCoreFactory
Default constructor.
DefaultGenerator - Class in spoon.pattern.internal
Drives generation process
DefaultGenerator(Factory, ListOfNodes) - Constructor for class spoon.pattern.internal.DefaultGenerator
 
DefaultJavaPrettyPrinter - Class in spoon.reflect.visitor
A visitor for generating Java code from the program compile-time model.
DefaultJavaPrettyPrinter(Environment) - Constructor for class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Creates a new code generator visitor.
DefaultOutputDestinationHandler - Class in spoon.support
Default behavior for the destination of the spoon.
DefaultOutputDestinationHandler(File, Environment) - Constructor for class spoon.support.DefaultOutputDestinationHandler
 
DefaultTokenWriter - Class in spoon.reflect.visitor
Implementation of TokenWriter, which writes all tokens to PrinterHelper
DefaultTokenWriter(PrinterHelper) - Constructor for class spoon.reflect.visitor.DefaultTokenWriter
 
defineArgs() - Static method in class spoon.Launcher
Defines the common arguments for sub-launchers.
delete() - Method in interface spoon.reflect.declaration.CtElement
Deletes the element.
delete() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
DeleteAction<T> - Class in spoon.support.modelobs.action
defines the delete action
DeleteAction(Context, T) - Constructor for class spoon.support.modelobs.action.DeleteAction
 
DeleteAllAction<T> - Class in spoon.support.modelobs.action
defines the delete all action.
DeleteAllAction(Context, Collection) - Constructor for class spoon.support.modelobs.action.DeleteAllAction
 
DeleteAllAction(Context, Map) - Constructor for class spoon.support.modelobs.action.DeleteAllAction
 
DerivedProperty - Annotation Type in spoon.support
Tells that a metamodel property is derived, ie computed from the value of another property.
descendantIterator() - Method in interface spoon.reflect.declaration.CtElement
Returns an iterator over this CtElement's descendants.
descendantIterator() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
deserialize(byte[]) - Static method in class spoon.support.util.ByteSerialization
 
detectIssues() - Method in class spoon.refactoring.AbstractRenameRefactoring
 
detectIssues() - Method in class spoon.refactoring.CtParameterRemoveRefactoring
validates whether this refactoring can be done without changing behavior of the refactored code.
detectNameConflicts() - Method in class spoon.refactoring.AbstractRenameRefactoring
client may implement this method to check whether AbstractRenameRefactoring.newName is in conflict with names of other model elements
detectNameConflicts() - Method in class spoon.refactoring.CtRenameLocalVariableRefactoring
 
DirectReferenceFilter<T extends CtReference> - Class in spoon.reflect.visitor.filter
This simple filter matches all the references to a given element by using reference equality.
DirectReferenceFilter(CtReference) - Constructor for class spoon.reflect.visitor.filter.DirectReferenceFilter
Creates the filter.
disableConsistencyChecks() - Method in interface spoon.compiler.Environment
Disable all consistency checks on the AST.
disableConsistencyChecks() - Method in class spoon.support.StandardEnvironment
 
distinctSet(Set<String>) - Method in class spoon.reflect.visitor.filter.AllTypeMembersFunction
The types whose qualified name is in distinctSet are not visited.
DistinctTypeListener(Set<String>) - Constructor for class spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction.DistinctTypeListener
 
doScan(CtRole, CtElement, ScanningMode) - Method in class spoon.reflect.visitor.EarlyTerminatingScanner
This method is called ONLY when the listener decides that the current element and children should be visited.
DOUBLE - Variable in class spoon.reflect.factory.TypeFactory
 
DOUBLE_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
 
doublePrimitiveType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the double primitive type.
doubleType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the double type.

E

EarlyTerminatingScanner<T> - Class in spoon.reflect.visitor
Extends CtScanner, to support early termination of scanning process and scan listeners.
EarlyTerminatingScanner() - Constructor for class spoon.reflect.visitor.EarlyTerminatingScanner
 
element - Variable in class spoon.support.compiler.jdt.ASTPair
 
ElementNode - Class in spoon.pattern.internal.node
Generates/Matches a copy of a single CtElement AST node with all it's children (whole AST tree of the root CtElement)
ElementNode(MetamodelConcept, CtElement) - Constructor for class spoon.pattern.internal.node.ElementNode
 
ElementPrinterHelper - Class in spoon.reflect.visitor
 
ElementPrinterHelper(TokenWriter, DefaultJavaPrettyPrinter, Environment) - Constructor for class spoon.reflect.visitor.ElementPrinterHelper
 
elementsDeque - Variable in class spoon.reflect.visitor.CtDequeScanner
The stack of elements.
EmptyClearableList<E> - Class in spoon.support.util
 
EmptyClearableSet<E> - Class in spoon.support.util
 
EmptyIterator<E> - Class in spoon.support.util
 
emptyList() - Static method in class spoon.support.reflect.declaration.CtElementImpl
 
EmptyModelChangeListener - Class in spoon.support.modelobs
is the listener that creates the action on the model.
EmptyModelChangeListener() - Constructor for class spoon.support.modelobs.EmptyModelChangeListener
 
emptySet() - Static method in class spoon.support.reflect.declaration.CtElementImpl
 
enableJavadoc() - Method in class spoon.compiler.builder.AdvancedOptions
 
encoding(String) - Method in class spoon.compiler.builder.ClasspathOptions
 
end(SpoonProgress.Process) - Method in class spoon.support.compiler.ProgressLogger
 
end(SpoonProgress.Process) - Method in interface spoon.support.compiler.SpoonProgress
is called when a new process is started
endVisit(AllocationExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(AND_AND_Expression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(AnnotationMethodDeclaration, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(Argument, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayAllocationExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayInitializer, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayQualifiedTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ArrayQualifiedTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(AssertStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(Assignment, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(BinaryExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(Block, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(BreakStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(CaseStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(CharLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ClassLiteralAccess, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(CompoundAssignment, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ConditionalExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ConstructorDeclaration, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ContinueStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(DoStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(DoubleLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(EqualExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ExplicitConstructorCall, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ExtendedStringLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(FalseLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(FieldDeclaration, MethodScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(FieldReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(FloatLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ForeachStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ForStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(IfStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(Initializer, MethodScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(InstanceOfExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(IntLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(LocalDeclaration, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(LongLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(NormalAnnotation, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MarkerAnnotation, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MarkerAnnotation, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MemberValuePair, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MemberValuePair, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MessageSend, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(MethodDeclaration, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(NormalAnnotation, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(NullLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(OR_OR_Expression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ParameterizedQualifiedTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ParameterizedQualifiedTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ParameterizedSingleTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ParameterizedSingleTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(PostfixExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(PrefixExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedAllocationExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedNameReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedThisReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ReturnStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SingleMemberAnnotation, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SingleNameReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SingleTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SingleTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(StringLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(StringLiteralConcatenation, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedSuperReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SuperReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(QualifiedThisReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ThisReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SwitchStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(SynchronizedStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ThrowStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TrueLiteral, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TryStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TypeParameter, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TypeParameter, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TypeDeclaration, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TypeDeclaration, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(TypeDeclaration, CompilationUnitScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(UnaryExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(WhileStatement, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(CompilationUnitDeclaration, CompilationUnitScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(ReferenceExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(LambdaExpression, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(UnionTypeReference, BlockScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
endVisit(UnionTypeReference, ClassScope) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
enter(CtElement) - Method in interface spoon.reflect.visitor.chain.CtScannerListener
Called before the scanner enters an element
enter(CtElement) - Method in class spoon.reflect.visitor.CtBiScannerDefault
 
enter(CtElement) - Method in class spoon.reflect.visitor.CtDequeScanner
Pushes the element.
enter(CtElement) - Method in class spoon.reflect.visitor.CtScanner
This method is upcalled by the scanner when entering a scanned element.
enter(CtElement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
This method is called by DefaultJavaPrettyPrinter.scan(CtElement) when entering a scanned element.
enter(CtElement) - Method in class spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction.DistinctTypeListener
 
enter(CtElement) - Method in class spoon.reflect.visitor.filter.VariableReferenceFunction.Visitor
 
enter(CtElement) - Method in class spoon.reflect.visitor.filter.VariableScopeFunction.Visitor
 
enter(CtElement) - Method in class spoon.reflect.visitor.ModelConsistencyChecker
Enters an element.
enter(CtElement) - Method in class spoon.support.gui.SpoonTreeBuilder
 
enter(CtElement) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
enterCtExpression(CtExpression<?>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Enters an expression.
enterCtStatement(CtStatement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Enters a statement.
Enum() - Method in interface spoon.reflect.factory.Factory
Access to EnumFactory subfactory
Enum() - Method in class spoon.reflect.factory.FactoryImpl
The CtEnum sub-factory.
ENUM - Variable in class spoon.reflect.factory.TypeFactory
 
EnumFactory - Class in spoon.reflect.factory
The CtEnum sub-factory.
EnumFactory(Factory) - Constructor for class spoon.reflect.factory.EnumFactory
Creates a new enum sub-factory.
Environment - Interface in spoon.compiler
This interface represents the environment in which Spoon is launched - accessible through Factory.getEnvironment().
environment - Variable in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
equals(Object) - Method in class spoon.internal.mavenlauncher.TreeDependency
 
equals(Object) - Method in class spoon.support.compiler.FileSystemFile
 
equals(Object) - Method in class spoon.support.compiler.FileSystemFolder
 
equals(Object) - Method in class spoon.support.compiler.ZipFile
 
equals(Object) - Method in class spoon.support.compiler.ZipFolder
 
equals(Object) - Method in class spoon.support.reflect.code.CtCommentImpl
The comments are not printed during the CtElement equality.
equals(Object) - Method in class spoon.support.reflect.CtExtendedModifier
 
equals(Object) - Method in class spoon.support.reflect.CtModifierHandler
 
equals(Object) - Method in class spoon.support.reflect.cu.position.SourcePositionImpl
 
equals(Object) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
equals(Object) - Method in class spoon.support.util.EmptyClearableList
 
equals(Object) - Method in class spoon.support.util.ImmutableMapImpl
 
equals(Object) - Method in class spoon.support.util.ModelList
 
equals(Object) - Method in class spoon.support.util.ModelSet
 
equals(CtElement, CtElement) - Static method in class spoon.support.visitor.equals.EqualsVisitor
 
equals(Object) - Method in class spoon.support.visitor.java.internal.TypeReferenceRuntimeBuilderContext
 
equals(Object) - Method in class spoon.support.visitor.java.reflect.RtMethod
 
equals(Object) - Method in class spoon.support.visitor.java.reflect.RtParameter
Compares based on the executable and the index.
EqualsChecker - Class in spoon.support.visitor.equals
 
EqualsChecker() - Constructor for class spoon.support.visitor.equals.EqualsChecker
 
EqualsVisitor - Class in spoon.support.visitor.equals
Used to check equality between an element and another one.
EqualsVisitor() - Constructor for class spoon.support.visitor.equals.EqualsVisitor
 
EqualsVisitor(EqualsChecker) - Constructor for class spoon.support.visitor.equals.EqualsVisitor
 
ERROR_MESSAGE_TO_STRING - Static variable in class spoon.support.reflect.declaration.CtElementImpl
 
Eval() - Method in interface spoon.reflect.factory.Factory
Access to EvalFactory subfactory
Eval() - Method in class spoon.reflect.factory.FactoryImpl
The evaluators sub-factory.
EvalFactory - Class in spoon.reflect.factory
A factory to create some evaluation utilities on the Spoon metamodel.
EvalFactory(Factory) - Constructor for class spoon.reflect.factory.EvalFactory
Creates the evaluation factory.
evaluate(R) - Method in interface spoon.reflect.eval.PartialEvaluator
Partially evaluates an element and all its sub-elements.
evaluate(I, CtConsumer<R>) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
Evaluates this query, ignoring bound input - if any
evaluate(R) - Method in class spoon.support.reflect.eval.VisitorPartialEvaluator
 
evaluateOn(CtElement...) - Method in interface spoon.reflect.path.CtPath
Search for elements matching this CtPatch from start nodes given as parameters.
evaluateOn(CtElement...) - Method in class spoon.reflect.path.impl.CtPathImpl
 
exclude(String) - Method in interface spoon.support.compiler.jdt.CompilationUnitFilter
Tests if the file with path path should be excluded from the CtModel create by SpoonModelBuilder.build(spoon.compiler.builder.JDTBuilder).
Executable() - Method in interface spoon.reflect.factory.Factory
Access to ExecutableFactory subfactory
Executable() - Method in class spoon.reflect.factory.FactoryImpl
The CtExecutable sub-factory.
EXECUTABLE_SEPARATOR - Static variable in interface spoon.reflect.declaration.CtExecutable
The separator for a string representation of an executable.
ExecutableFactory - Class in spoon.reflect.factory
The CtExecutable sub-factory.
ExecutableFactory(Factory) - Constructor for class spoon.reflect.factory.ExecutableFactory
Creates a new executable sub-factory.
ExecutableReferenceFilter - Class in spoon.reflect.visitor.filter
This filter matches all the CtExecutableReference referencing defined one or more CtExecutables.
ExecutableReferenceFilter() - Constructor for class spoon.reflect.visitor.filter.ExecutableReferenceFilter
Creates a new executable reference filter.
ExecutableReferenceFilter(CtExecutable<?>) - Constructor for class spoon.reflect.visitor.filter.ExecutableReferenceFilter
Creates a new executable reference filter.
ExecutableRuntimeBuilderContext - Class in spoon.support.visitor.java.internal
 
ExecutableRuntimeBuilderContext(Executable, CtMethod<?>) - Constructor for class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
ExecutableRuntimeBuilderContext(Executable, CtConstructor<?>) - Constructor for class spoon.support.visitor.java.internal.ExecutableRuntimeBuilderContext
 
exit(CtElement) - Method in interface spoon.reflect.visitor.chain.CtScannerListener
This method is called after the element and all its children have been visited.
exit(CtElement) - Method in class spoon.reflect.visitor.CtBiScannerDefault
 
exit(CtElement) - Method in class spoon.reflect.visitor.CtDequeScanner
Pops the element.
exit(CtElement) - Method in class spoon.reflect.visitor.CtScanner
This method is upcalled by the scanner when exiting a scanned element.
exit(CtElement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
This method is called by DefaultJavaPrettyPrinter.scan(CtElement) when entering a scanned element.
exit(CtElement) - Method in class spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction.DistinctTypeListener
 
exit(CtElement) - Method in class spoon.reflect.visitor.ModelConsistencyChecker
Exits an element.
exit(CtElement) - Method in class spoon.support.gui.SpoonTreeBuilder
 
exit(CtElement) - Method in class spoon.support.reflect.eval.InlinePartialEvaluator
 
exit(CtElement) - Method in class spoon.support.reflect.eval.VisitorPartialEvaluator
 
exitCtExpression(CtExpression<?>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Exits an expression.
exitCtStatement(CtStatement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
Exits a statement.
expand(DefaultMutableTreeNode) - Method in class spoon.support.gui.SpoonModelTree
 
expandAll(DefaultMutableTreeNode) - Method in class spoon.support.gui.SpoonModelTree
expand all AST nodes in the GUI
Experimental - Annotation Type in spoon.support
Tells that a type has recently been introduced and may be subject to non-backward compatible changes without deprecation.
expression() - Method in class spoon.template.ExpressionTemplate
This method must be implemented to define the template expression.
ExpressionTemplate<T> - Class in spoon.template
This class represents an expression template parameter expressed in Java.
ExpressionTemplate() - Constructor for class spoon.template.ExpressionTemplate
Creates a new expression template parameter.
ExtensionTemplate - Class in spoon.template
Inserts all the methods, fields, constructors, initialization blocks (if target is a class), inner types, and super interfaces (except Template) from a given template by substituting all the template parameters by their values.
ExtensionTemplate() - Constructor for class spoon.template.ExtensionTemplate
 
extract(File) - Method in class spoon.support.compiler.ZipFolder
physically extracts on disk all files of this zip file in the destinationDir `destDir`

F

factory - Variable in class spoon.Launcher
 
factory - Variable in class spoon.pattern.internal.DefaultGenerator
 
Factory - Interface in spoon.reflect.factory
Provides the sub-factories required by Spoon.
factory - Variable in class spoon.reflect.factory.SubFactory
 
factory - Variable in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
FactoryAccessor - Interface in spoon.processing
This interface represents an object that can access the meta-model factory.
FactoryCompilerConfig - Class in spoon.support.compiler.jdt
 
FactoryCompilerConfig() - Constructor for class spoon.support.compiler.jdt.FactoryCompilerConfig
 
FactoryImpl - Class in spoon.reflect.factory
Implements Factory
FactoryImpl(CoreFactory, Environment, Factory) - Constructor for class spoon.reflect.factory.FactoryImpl
A constructor that takes the parent factory
FactoryImpl(CoreFactory, Environment) - Constructor for class spoon.reflect.factory.FactoryImpl
Should not be called directly.
fail(CtRole, Object, Object) - Method in class spoon.support.visitor.equals.EqualsVisitor
 
failOnClassNotFound(boolean) - Method in class spoon.reflect.visitor.filter.SubInheritanceHierarchyFunction
 
failOnClassNotFound(boolean) - Method in class spoon.reflect.visitor.filter.SuperInheritanceHierarchyFunction
 
failOnClassNotFound(boolean) - Method in class spoon.support.visitor.SubInheritanceHierarchyResolver
 
failurePolicy(QueryFailurePolicy) - Method in interface spoon.reflect.visitor.chain.CtQuery
Defines whether this query will throw ClassCastException when the output of the previous step cannot be cast to type of input of next step.
failurePolicy(QueryFailurePolicy) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
Field() - Method in interface spoon.reflect.factory.Factory
Access to FieldFactory subfactory
Field() - Method in class spoon.reflect.factory.FactoryImpl
The CtField sub-factory.
FIELD_SEPARATOR - Static variable in interface spoon.reflect.declaration.CtField
The separator for a string representation of a field.
FieldAccessFilter - Class in spoon.reflect.visitor.filter
This simple filter matches all the accesses to a given field.
FieldAccessFilter(CtFieldReference<?>) - Constructor for class spoon.reflect.visitor.filter.FieldAccessFilter
Creates a new field access filter.
FieldFactory - Class in spoon.reflect.factory
The CtField sub-factory.
FieldFactory(Factory) - Constructor for class spoon.reflect.factory.FieldFactory
Creates a new field sub-factory.
fieldImports - Variable in class spoon.reflect.visitor.ImportScannerImpl
 
fieldPrefix - Static variable in class spoon.support.template.Parameters
The prefix "_FIELD_" for a parameter that represents a fields in order to avoid name clashes.
FieldReferenceFunction - Class in spoon.reflect.visitor.filter
This Query expects a CtField as input and returns all CtFieldReferences, which refers this input.
FieldReferenceFunction() - Constructor for class spoon.reflect.visitor.filter.FieldReferenceFunction
 
FieldReferenceFunction(CtField<?>) - Constructor for class spoon.reflect.visitor.filter.FieldReferenceFunction
 
FIELDS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
FieldScopeFunction - Class in spoon.reflect.visitor.filter
This Query expects a CtField as input and returns all CtElements, which are in visibility scope of that field.
FieldScopeFunction() - Constructor for class spoon.reflect.visitor.filter.FieldScopeFunction
 
FileAssert - Class in spoon.testing
 
FileAssert(File) - Constructor for class spoon.testing.FileAssert
 
FileCompilerConfig - Class in spoon.support.compiler.jdt
 
FileCompilerConfig(List<SpoonFile>) - Constructor for class spoon.support.compiler.jdt.FileCompilerConfig
 
FileGenerator<T extends CtElement> - Interface in spoon.processing
This interface should be implemented by processing tasks that generate new files as processing results.
FILES - Static variable in interface spoon.SpoonModelBuilder.InputType
 
files - Variable in class spoon.support.compiler.VirtualFolder
 
filesToBeIgnored - Variable in class spoon.support.compiler.jdt.JDTBatchCompiler
 
FileSystemFile - Class in spoon.support.compiler
 
FileSystemFile(String) - Constructor for class spoon.support.compiler.FileSystemFile
 
FileSystemFile(File) - Constructor for class spoon.support.compiler.FileSystemFile
 
FileSystemFolder - Class in spoon.support.compiler
 
FileSystemFolder(File) - Constructor for class spoon.support.compiler.FileSystemFolder
 
FileSystemFolder(String) - Constructor for class spoon.support.compiler.FileSystemFolder
 
Filter<T extends CtElement> - Interface in spoon.reflect.visitor
This interface defines a filter for program elements.
filterChildren(Filter<R>) - Method in class spoon.reflect.CtModelImpl
 
filterChildren(Filter<R>) - Method in interface spoon.reflect.visitor.chain.CtQuery
Recursively scans all children elements of an input element.
filterChildren(Filter<R>) - Method in interface spoon.reflect.visitor.chain.CtQueryable
 
filterChildren(Filter<R>) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
filterChildren(Filter<P>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
FilteringFolder - Class in spoon.support.compiler
A filtering resource, see https://github.com/INRIA/spoon/issues/877
FilteringFolder() - Constructor for class spoon.support.compiler.FilteringFolder
 
FilteringOperator - Enum in spoon.reflect.visitor.filter
This enumeration defines the possible composition operators for filters.
find() - Method in class spoon.reflect.visitor.AccessibleVariablesFinder
 
find(CtElement) - Method in class spoon.template.TemplateMatcher
Finds all target program sub-trees that correspond to a template.
findClass() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
Finds the class requested in CtTypeReferenceImpl.getActualClass().
FineModelChangeListener - Interface in spoon.support.modelobs
Can be subclassed by clients who want to be notified on all changes in AST nodes
first() - Method in interface spoon.reflect.visitor.chain.CtQuery
Actually evaluates the query and returns first elements produced in the last step.
After the first element is found, the query evaluation is terminated.
first(Class<R>) - Method in interface spoon.reflect.visitor.chain.CtQuery
Same as CtQuery.first(), but with static typing on the return type and the final filtering, which matches only the first result, which is assignable from that return type.
first() - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
first(Class<R>) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
FixedOrderBasedOnFileNameCompilationUnitComparator - Class in spoon.support.comparator
 
FixedOrderBasedOnFileNameCompilationUnitComparator() - Constructor for class spoon.support.comparator.FixedOrderBasedOnFileNameCompilationUnitComparator
 
FLOAT - Variable in class spoon.reflect.factory.TypeFactory
 
FLOAT_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
 
floatPrimitiveType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the float primitive type.
floatType() - Method in class spoon.reflect.factory.TypeFactory
Returns a reference on the float type.
FOR_INIT_STATEMENTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
FOR_UPDATE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
 
forceWildcardGenerics() - Method in class spoon.reflect.visitor.PrintingContext
 
forceWildcardGenerics(boolean) - Method in class spoon.reflect.visitor.PrintingContext.Writable
 
forEach(CtConsumer<R>) - Method in interface spoon.reflect.visitor.chain.CtQuery
Actually evaluates the query and for each produced output element of the last step, calls `consumer.accept(outputElement)`.
forEach(CtConsumer<R>) - Method in class spoon.reflect.visitor.chain.CtQueryImpl
 
forEachMatch(Object, CtConsumer<Match>) - Method in class spoon.pattern.Pattern
Finds all target program sub-trees that correspond to a template and calls consumer.accept(Match)
forEachMatch(CtElement, CtConsumer<Match>) - Method in class spoon.template.TemplateMatcher
Finds all target program sub-trees that correspond to a template and calls consumer.accept(matchingElement, )
ForEachNode - Class in spoon.pattern.internal.node
Pattern node of multiple occurrences of the same model, just with different parameters.
ForEachNode() - Constructor for class spoon.pattern.internal.node.ForEachNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.ConstantNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.ElementNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.ForEachNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.ListOfNodes
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.MapEntryNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.ParameterNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in interface spoon.pattern.internal.node.RootNode
Calls consumer for each pair of parameter definition (ParameterInfo) and RootNode, which uses it
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.StringNode
 
forEachParameterInfo(BiConsumer<ParameterInfo, RootNode>) - Method in class spoon.pattern.internal.node.SwitchNode
 
forEachRoleHandler(Consumer<RoleHandler>) - Static method in class spoon.reflect.meta.impl.RoleHandlerHelper
 
forEachSubTypeInPackage(CtConsumer<T>) - Method in class spoon.support.visitor.SubInheritanceHierarchyResolver
Calls `outputConsumer.apply(subType)` for each sub type of the targetSuperTypes that are found in `inputPackage`.
fromElement(CtElement, CtElement) - Method in class spoon.reflect.path.CtElementPathBuilder
Build path to a CtElement el, from one of its parent.
fromName(String) - Static method in enum spoon.reflect.path.CtRole
Get the CtRole associated to the field name
fromString(String) - Static method in enum spoon.OutputType
Gets the output type from an option string.
fromString(String) - Method in class spoon.reflect.path.CtPathStringBuilder
Build path from a string representation.

G

generate(Class<T>, Map<String, Object>) - Method in interface spoon.pattern.Generator
Main method to generate a new AST made from substituting of parameters by values in `params`
generate(Class<T>, ImmutableMap) - Method in interface spoon.pattern.Generator
Utility method that provides the same feature as Generator.generate(Class, Map), but with a ImmutableMap as parameter (a Spoon elegant utility type)
generate(Class<T>, ImmutableMap) - Method in class spoon.pattern.internal.DefaultGenerator
 
generate(Class<T>, Map<String, Object>) - Method in class spoon.pattern.internal.DefaultGenerator
 
generateInlineTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.ForEachNode
 
generateInlineTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in interface spoon.pattern.internal.node.InlineNode
Generates inline statements of this inline RootNode.
generateInlineTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.SwitchNode
 
generateProcessedSourceFiles(OutputType) - Method in interface spoon.SpoonModelBuilder
Generates the source code associated to the classes stored in this compiler's factory.
generateProcessedSourceFiles(OutputType, Filter<CtType<?>>) - Method in interface spoon.SpoonModelBuilder
Generates the source code associated to the classes stored in this compiler's factory.
generateProcessedSourceFiles(OutputType) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
generateProcessedSourceFiles(OutputType, Filter<CtType<?>>) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
generateProcessedSourceFilesUsingCUs() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
generateProcessedSourceFilesUsingTypes(Filter<CtType<?>>) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
generateSingleNodeAttributes(DefaultGenerator, CtElement, ImmutableMap) - Method in class spoon.pattern.internal.node.ElementNode
 
generateSingleTarget(RootNode, ImmutableMap, Class<T>) - Method in class spoon.pattern.internal.DefaultGenerator
Generates one target depending on kind of this RootNode, expected `expectedType` and input `parameters`
generateTargets(RootNode, ImmutableMap, Class<T>) - Method in class spoon.pattern.internal.DefaultGenerator
Generates zero, one or more targets depending on kind of this RootNode, expected `expectedType` and input `parameters`
generateTargets(RootNode, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.DefaultGenerator
Generates zero, one or more target depending on kind of this RootNode, expected `result` and input `parameters`
generateTargets(DefaultGenerator, ResultHolder<U>, ImmutableMap) - Method in class spoon.pattern.internal.node.ConstantNode
 
generateTargets(DefaultGenerator, ResultHolder<U>, ImmutableMap) - Method in class spoon.pattern.internal.node.ElementNode
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.ForEachNode
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.ListOfNodes
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.MapEntryNode
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.ParameterNode
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in interface spoon.pattern.internal.node.RootNode
Generates zero, one or more target depending on kind of this RootNode, expected `result` and input `parameters`
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.StringNode
 
generateTargets(DefaultGenerator, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.node.SwitchNode
 
generateTargets(RootNode, ResultHolder<T>, ImmutableMap) - Method in class spoon.pattern.internal.PatternPrinter
 
generateType(String, Map<String, Object>) - Method in interface spoon.pattern.Generator
Generates type with qualified name `typeQualifiedName` the provided `params`.
generateType(String, Map<String, Object>) - Method in class spoon.pattern.internal.DefaultGenerator
 
Generator - Interface in spoon.pattern
Generates code from patterns.
generator() - Method in class spoon.pattern.Pattern
 
GenericTypeAdapter - Interface in spoon.support.visitor
Provides adapting of generic types from one scope to another scope.
get(Class<T>, String) - Method in interface spoon.processing.ProcessorProperties
Gets the property converted in given type or null (can be an array).
get(Class<T>, String) - Method in class spoon.processing.ProcessorPropertiesImpl
 
get(Class<?>) - Method in class spoon.reflect.factory.ClassFactory
Gets a class from its runtime Java class.
get(String) - Method in class spoon.reflect.factory.ClassFactory
Searches for a class from his qualified name.
get(String) - Method in class spoon.reflect.factory.EnumFactory
Gets an already created enumeration from its qualified name.
get(String) - Method in class spoon.reflect.factory.InterfaceFactory
Gets a created interface
get(Class<?>) - Method in class spoon.reflect.factory.InterfaceFactory
Gets a interface from its runtime Java class.
get(String) - Method in class spoon.reflect.factory.PackageFactory
Gets a package.
get(String) - Method in class spoon.reflect.factory.TypeFactory
Gets a created type from its qualified name.
get(Class<?>) - Method in class spoon.reflect.factory.TypeFactory
Gets a type from its runtime Java class.
get(int) - Method in class spoon.support.util.EmptyClearableList
 
get(int) - Method in class spoon.support.util.ModelList
 
getAccessedType() - Method in interface spoon.reflect.code.CtTypeAccess
Returns type represented and contained in the type access.
getAccessedType() - Method in class spoon.support.reflect.code.CtTypeAccessImpl
 
getAccessType() - Method in interface spoon.reflect.reference.CtTypeReference
Computes nearest access path parent to this type from the context of this type reference.
getAccessType() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtModuleReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
 
getActualAnnotation() - Method in interface spoon.reflect.declaration.CtAnnotation
Returns the actual annotation (a dynamic proxy for this element).
getActualAnnotation() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getActualClass() - Method in interface spoon.reflect.declaration.CtType
Deprecated.
(since Spoon 7.0.0) this will be removed from the public API
getActualClass() - Method in interface spoon.reflect.reference.CtTypeReference
Deprecated.
(Since Spoon 7.0.0) use CtTypeReference.getTypeDeclaration() instead
getActualClass() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getActualClass() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
getActualClass() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
getActualClass() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getActualConstructor() - Method in interface spoon.reflect.reference.CtExecutableReference
Gets the runtime constructor that corresponds to an executable reference if any.
getActualConstructor() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getActualCtMethod() - Method in class spoon.metamodel.MMMethod
 
getActualField() - Method in interface spoon.reflect.reference.CtFieldReference
Gets the runtime member that corresponds to a field reference if any.
getActualField() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
getActualMethod() - Method in interface spoon.reflect.reference.CtExecutableReference
Gets the runtime method that corresponds to an executable reference if any.
getActualMethod() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getActualPackage() - Method in interface spoon.reflect.reference.CtPackageReference
Gets the package element when available in the class path.
getActualPackage() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
 
getActualTypeArguments() - Method in interface spoon.reflect.code.CtConstructorCall
Delegate to the executable reference of the constructor call.
getActualTypeArguments() - Method in interface spoon.reflect.code.CtInvocation
Delegate to the executable reference of the invocation.
getActualTypeArguments() - Method in interface spoon.reflect.code.CtNewClass
Delegate to the executable reference of the new class.
getActualTypeArguments() - Method in interface spoon.reflect.reference.CtActualTypeContainer
Gets the type arguments.
getActualTypeArguments() - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
getActualTypeArguments() - Method in class spoon.support.reflect.code.CtInvocationImpl
 
getActualTypeArguments() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getActualTypeArguments() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
getActualTypeArguments() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getAdaptationScope() - Method in class spoon.support.visitor.ClassTypingContext
 
getAdaptationScope() - Method in interface spoon.support.visitor.GenericTypeAdapter
 
getAdaptationScope() - Method in class spoon.support.visitor.MethodTypingContext
 
getAdded() - Method in class spoon.reflect.Changes
Gets the list of elements added in the model.
getAll() - Method in class spoon.reflect.factory.PackageFactory
Gets the list of all created packages.
getAll() - Method in class spoon.reflect.factory.TypeFactory
Gets the list of all top-level created types.
getAll(boolean) - Method in class spoon.reflect.factory.TypeFactory
Gets the list of all created types.
getAllExecutables() - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets the executables declared by this type and by all its supertypes (static/instance methods, constructors, anonymous static blocks) if applicable.
getAllExecutables() - Method in class spoon.support.reflect.declaration.CtClassImpl
adding the constructors and static executables
getAllExecutables() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getAllExecutables() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
getAllExecutables() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getAllExecutables(Class<?>, Factory) - Static method in class spoon.support.util.RtHelper
return all executables of this class
getAllFields() - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets the fields declared by this type and by all its supertypes if applicable.
getAllFields() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getAllFields() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
getAllFields() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getAllFields(Class<?>) - Static method in class spoon.support.util.RtHelper
Gets all the runtime fields for a given class (including the superclasses and superinterfaces).
getAllFields(Class<?>, Factory) - Static method in class spoon.support.util.RtHelper
Gets all the field references for a given class (including the superclasses').
getAllFiles() - Method in interface spoon.compiler.SpoonFolder
Gets all the files (including folders) in the folder.
getAllFiles() - Method in class spoon.support.compiler.FileSystemFolder
 
getAllFiles() - Method in class spoon.support.compiler.VirtualFolder
 
getAllFiles() - Method in class spoon.support.compiler.ZipFolder
 
getAllImports() - Method in interface spoon.reflect.visitor.ImportScanner
Use computeImports or computeAllImports before getting the different imports.
getAllImports() - Method in class spoon.reflect.visitor.ImportScannerImpl
 
getAllInstantiableMetamodelInterfaces() - Method in class spoon.metamodel.Metamodel
 
getAllJavaFiles() - Method in interface spoon.compiler.SpoonFolder
Gets all the Java source files in the folder.
getAllJavaFiles() - Method in class spoon.support.compiler.FileSystemFolder
 
getAllJavaFiles() - Method in class spoon.support.compiler.VirtualFolder
 
getAllJavaFiles() - Method in class spoon.support.compiler.ZipFolder
 
getAllMetadata() - Method in interface spoon.reflect.declaration.CtElement
Retrieves all metadata stored in an element.
getAllMetadata() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getAllMetamodelInterfaces() - Static method in class spoon.metamodel.Metamodel
Returns all interfaces of the Spoon metamodel.
getAllMethods() - Method in interface spoon.reflect.declaration.CtType
Return all the methods that can be called on an instance of this type.
getAllMethods() - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
getAllMethods() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getAllMethods() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
getAllMethods(Class<?>) - Static method in class spoon.support.util.RtHelper
Gets all the runtime methods for a given class or interface (including the superclasses' or interfaces').
getAllModules() - Method in interface spoon.reflect.CtModel
returns all modules of the model
getAllModules() - Method in class spoon.reflect.CtModelImpl
 
getAllModules() - Method in class spoon.reflect.factory.ModuleFactory.CtUnnamedModule
 
getAllModules() - Method in class spoon.reflect.factory.ModuleFactory
 
getAllPackages() - Method in interface spoon.reflect.CtModel
returns all packages of the model
getAllPackages() - Method in class spoon.reflect.CtModelImpl
 
getAllTemplateParameterFields(Class<? extends Template>) - Static method in class spoon.support.template.Parameters
returns all the runtime fields of a template representing a template parameter
getAllTemplateParameterFields(Class<? extends Template<?>>, Factory) - Static method in class spoon.support.template.Parameters
returns all the compile_time fields of a template representing a template parameter
getAllTypes() - Method in interface spoon.reflect.CtModel
returns all top-level types of the model
getAllTypes() - Method in class spoon.reflect.CtModelImpl
 
getAllValues() - Method in interface spoon.reflect.declaration.CtAnnotation
Get all values of CtAnnotation.getValues(), plus the default ones defined in the annotation type.
getAllValues() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getAnnotatedChildren(Class<? extends Annotation>) - Method in interface spoon.reflect.declaration.CtElement
Gets the child elements annotated with the given annotation type's instances.
getAnnotatedChildren(Class<? extends Annotation>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getAnnotatedElement() - Method in interface spoon.reflect.declaration.CtAnnotation
Returns the element which is annotated by this annotation.
getAnnotatedElement() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getAnnotatedElementType() - Method in interface spoon.reflect.declaration.CtAnnotation
Returns the type of the element which is annotated by this annotation.
getAnnotatedElementType() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getAnnotatedElementTypeForCtElement(CtElement) - Static method in interface spoon.reflect.declaration.CtAnnotation
 
getAnnotation(Class<A>) - Method in interface spoon.reflect.declaration.CtElement
Searches for an annotation of the given class that annotates the current element.
getAnnotation(CtTypeReference<A>) - Method in interface spoon.reflect.declaration.CtElement
Gets the annotation element for a given annotation type.
getAnnotation(Class<A>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getAnnotation(CtTypeReference<A>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getAnnotationMethods() - Method in interface spoon.reflect.declaration.CtAnnotationType
Gets the methods of this annotation type which are necessarily CtAnnotationMethod.
getAnnotationMethods() - Method in class spoon.support.reflect.declaration.CtAnnotationTypeImpl
 
getAnnotations() - Method in interface spoon.reflect.declaration.CtElement
Returns the annotations that are present on this element.
getAnnotations() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getAnnotations() - Method in class spoon.support.reflect.reference.CtUnboundVariableReferenceImpl
 
getAnnotationType() - Method in interface spoon.reflect.declaration.CtAnnotation
Returns the annotation type of this annotation.
getAnnotationType(String) - Method in class spoon.reflect.factory.AnnotationFactory
Gets a annotation type from its name.
getAnnotationType() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getAnonymousClass() - Method in interface spoon.reflect.code.CtNewClass
Gets the created class.
getAnonymousClass() - Method in class spoon.support.reflect.code.CtNewClassImpl
 
getAnonymousExecutables() - Method in interface spoon.reflect.declaration.CtClass
Returns the anonymous blocks of this class.
getAnonymousExecutables() - Method in class spoon.support.reflect.declaration.CtClassImpl
 
getArguments() - Method in class spoon.Launcher
Returns the command-line given launching arguments in JSAP format.
getArguments() - Method in interface spoon.reflect.code.CtAbstractInvocation
The arguments of the invocation.
getArguments() - Method in class spoon.reflect.path.impl.AbstractPathElement
 
getArguments() - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
getArguments() - Method in class spoon.support.reflect.code.CtInvocationImpl
 
getArrayType() - Method in interface spoon.reflect.reference.CtArrayTypeReference
Gets the type of the array elements at the finest grain.
getArrayType() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
getAssertExpression() - Method in interface spoon.reflect.code.CtAssert
Gets the assert expression.
getAssertExpression() - Method in class spoon.support.reflect.code.CtAssertImpl
 
getAssigned() - Method in interface spoon.reflect.code.CtAssignment
Returns the assigned expression on the left-hand side (where the value is stored, e.g.
getAssigned() - Method in class spoon.support.reflect.code.CtAssignmentImpl
 
getAssignment() - Method in interface spoon.reflect.code.CtLocalVariable
getAssignment() - Method in interface spoon.reflect.code.CtRHSReceiver
Returns the right-hand side of the "=" operator.
getAssignment() - Method in interface spoon.reflect.declaration.CtField
getAssignment() - Method in class spoon.support.reflect.code.CtAssignmentImpl
 
getAssignment() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
 
getAssignment() - Method in class spoon.support.reflect.declaration.CtEnumValueImpl
 
getAssignment() - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
getBatchRequestor() - Method in class spoon.support.compiler.jdt.JDTBatchCompiler
 
getBinaryFiles() - Method in interface spoon.reflect.cu.CompilationUnit
Gets all binary (.class) files that corresponds to this compilation unit and have been created by calling SpoonModelBuilder.compile(spoon.SpoonModelBuilder.InputType...).
getBinaryFiles() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
getBinaryOutputDirectory() - Method in interface spoon.compiler.Environment
Set the directory where binary .class files are created
getBinaryOutputDirectory() - Method in interface spoon.SpoonModelBuilder
Gets the binary output directory of the compiler.
getBinaryOutputDirectory() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
getBinaryOutputDirectory() - Method in class spoon.support.StandardEnvironment
 
getBlock() - Method in interface spoon.reflect.code.CtSynchronized
Gets the synchronized block.
getBlock() - Method in class spoon.support.reflect.code.CtSynchronizedImpl
 
getBlock(CtClass<? extends BlockTemplate>) - Static method in class spoon.template.BlockTemplate
Returns the block.
getBody() - Method in interface spoon.reflect.code.CtBodyHolder
Gets the body of this element
getBody() - Method in interface spoon.reflect.code.CtCatch
Gets the catch's body.
getBody() - Method in interface spoon.reflect.code.CtLoop
Gets the body of this loop.
getBody() - Method in interface spoon.reflect.code.CtTry
Gets the try body.
getBody() - Method in interface spoon.reflect.declaration.CtExecutable
Gets the body expression.
getBody() - Method in class spoon.support.reflect.code.CtCatchImpl
 
getBody() - Method in class spoon.support.reflect.code.CtLambdaImpl
 
getBody() - Method in class spoon.support.reflect.code.CtLoopImpl
 
getBody() - Method in class spoon.support.reflect.code.CtTryImpl
 
getBody() - Method in class spoon.support.reflect.declaration.CtAnnotationMethodImpl
 
getBody() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
 
getBodyEnd() - Method in interface spoon.reflect.cu.position.BodyHolderSourcePosition
 
getBodyEnd() - Method in class spoon.support.reflect.cu.position.BodyHolderSourcePositionImpl
 
getBodyStart() - Method in interface spoon.reflect.cu.position.BodyHolderSourcePosition
 
getBodyStart() - Method in class spoon.support.reflect.cu.position.BodyHolderSourcePositionImpl
 
getBoundingType() - Method in interface spoon.reflect.reference.CtTypeParameterReference
A type parameter can have an extends clause which declare one (CtTypeReference or more (CtIntersectionTypeReference references.
getBoundingType() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
getBounds() - Method in interface spoon.reflect.reference.CtIntersectionTypeReference
Gets the bounds of the intersection type.
getBounds() - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
 
getCamelCaseName() - Method in enum spoon.reflect.path.CtRole
Get the camel case representation of the name
getCaseExpression() - Method in interface spoon.reflect.code.CtCase
Gets the case expression.
getCaseExpression() - Method in class spoon.support.reflect.code.CtCaseImpl
 
getCases() - Method in interface spoon.reflect.code.CtSwitch
Gets the list of cases defined for this switch.
getCases() - Method in class spoon.support.reflect.code.CtSwitchImpl
 
getCatchers() - Method in interface spoon.reflect.code.CtTry
Gets the catchers of this try.
getCatchers() - Method in class spoon.support.reflect.code.CtTryImpl
 
getChangeCollector(Environment) - Static method in class spoon.support.modelobs.ChangeCollector
 
getChangedProperty() - Method in class spoon.support.modelobs.context.Context
the role that has been modified
getChangedValue() - Method in class spoon.support.modelobs.action.Action
get the changed value of the model
getChangedValue() - Method in class spoon.support.modelobs.action.AddAction
 
getChangedValue() - Method in class spoon.support.modelobs.action.DeleteAction
 
getChangedValue() - Method in class spoon.support.modelobs.action.UpdateAction
 
getChanges(CtElement) - Method in class spoon.support.modelobs.ChangeCollector
 
getClone() - Method in class spoon.support.visitor.clone.CloneVisitor
 
getColumn() - Method in class spoon.reflect.cu.position.NoSourcePosition
 
getColumn() - Method in interface spoon.reflect.cu.SourcePosition
Gets the column in the source file (1 indexed).
getColumn() - Method in class spoon.support.reflect.cu.position.SourcePositionImpl
 
getColumnCount() - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
 
getColumnName(int) - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
 
getComments() - Method in interface spoon.reflect.declaration.CtElement
The list of comments
getComments(CtElement, CommentOffset) - Method in class spoon.reflect.visitor.ElementPrinterHelper
 
getComments() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getCommentType() - Method in interface spoon.reflect.code.CtComment
Get the type of the comment
getCommentType() - Method in class spoon.support.reflect.code.CtCommentImpl
 
getComparator() - Method in class spoon.support.util.SortedList
 
getCompilationUnit() - Method in class spoon.reflect.cu.position.NoSourcePosition
 
getCompilationUnit() - Method in interface spoon.reflect.cu.SourcePosition
Gets the compilation unit for this position.
getCompilationUnit() - Method in class spoon.support.reflect.cu.position.PartialSourcePositionImpl
 
getCompilationUnit() - Method in class spoon.support.reflect.cu.position.SourcePositionImpl
 
getCompilationUnitFilter() - Method in interface spoon.SpoonModelBuilder
Returns a copy of the internal list of CompilationUnitFilters.
getCompilationUnitFilter() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
getCompilationUnitInputStream(String) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
getCompilationUnits() - Method in class spoon.support.compiler.jdt.JDTBatchCompiler
This method returns the compilation units that will be processed and/or compiled by JDT.
getComplianceLevel() - Method in interface spoon.compiler.Environment
Gets the Java version compliance level.
getComplianceLevel() - Method in class spoon.support.StandardEnvironment
 
getComponentType() - Method in interface spoon.reflect.reference.CtArrayTypeReference
Gets the type of the elements contained in this array.
getComponentType() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
getCompressionType() - Method in interface spoon.compiler.Environment
Get the type of serialization to be used by default
getCompressionType() - Method in class spoon.support.StandardEnvironment
 
getConcept(Class<? extends CtElement>) - Method in class spoon.metamodel.Metamodel
 
getConceptName(CtType<?>) - Static method in class spoon.metamodel.Metamodel
 
getConceptName(Class<? extends CtElement>) - Static method in class spoon.metamodel.Metamodel
 
getConcepts() - Method in class spoon.metamodel.Metamodel
 
getCondition() - Method in interface spoon.reflect.code.CtConditional
Gets the condition expression.
getCondition() - Method in interface spoon.reflect.code.CtIf
Gets the boolean expression that represents the if's condition.
getCondition() - Method in class spoon.support.reflect.code.CtConditionalImpl
 
getCondition() - Method in class spoon.support.reflect.code.CtIfImpl
 
getConflictResolutionMode() - Method in class spoon.pattern.InlinedStatementConfigurator
 
getConflictResolutionMode() - Method in class spoon.pattern.PatternParameterConfigurator
 
getConstructor(CtTypeReference<?>...) - Method in interface spoon.reflect.declaration.CtClass
Returns the constructor of the class that takes the given argument types.
getConstructor(CtTypeReference<?>...) - Method in class spoon.support.reflect.declaration.CtClassImpl
 
getConstructors() - Method in interface spoon.reflect.declaration.CtClass
Returns the constructors of this class.
getConstructors() - Method in class spoon.support.reflect.declaration.CtClassImpl
 
getConsumedAnnotationTypes() - Method in class spoon.processing.AbstractAnnotationProcessor
 
getConsumedAnnotationTypes() - Method in interface spoon.processing.AnnotationProcessor
Gets the annotations types consumed by this processor.
getContainerKind() - Method in class spoon.metamodel.MetamodelProperty
returns the kind of property (list, value, etc)
getContainerKind() - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getContainerKind(ImmutableMap) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getContainerKind(Object, Object) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getContainerKind() - Method in interface spoon.reflect.meta.RoleHandler
 
getContainerKindAccessor(ContainerKind) - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getContainerName() - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getContent() - Method in interface spoon.compiler.SpoonFile
Gets the file content as a stream.
getContent() - Method in interface spoon.reflect.code.CtComment
Get the content of the comment
getContent() - Method in interface spoon.reflect.code.CtJavaDocTag
Get the content of the atg
getContent() - Method in class spoon.support.compiler.FileSystemFile
 
getContent() - Method in class spoon.support.compiler.VirtualFile
 
getContent() - Method in class spoon.support.compiler.ZipFile
 
getContent() - Method in class spoon.support.reflect.code.CtCommentImpl
 
getContent() - Method in class spoon.support.reflect.code.CtJavaDocTagImpl
 
getContext() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
 
getContext() - Method in class spoon.support.modelobs.action.Action
get the context of the change
getContextBuilder() - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
getCreatedFiles() - Method in interface spoon.processing.FileGenerator
Gets the created files.
getCreatedFiles() - Method in class spoon.support.JavaOutputProcessor
 
getCtAnnotation() - Method in class spoon.support.visitor.java.internal.AnnotationRuntimeBuilderContext
 
getCurrentParameter() - Method in class spoon.pattern.PatternParameterConfigurator
 
getCurrentProcessor() - Method in class spoon.support.QueueProcessingManager
 
getCurrentProcessor() - Method in class spoon.support.RuntimeProcessingManager
 
getCurrentTypeReference() - Method in class spoon.reflect.visitor.PrintingContext
 
getDeclaration() - Method in interface spoon.reflect.reference.CtCatchVariableReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtExecutableReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtFieldReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtLocalVariableReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtModuleReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtPackageReference
Gets the package element when available in the source code.
getDeclaration() - Method in interface spoon.reflect.reference.CtParameterReference
 
getDeclaration() - Method in interface spoon.reflect.reference.CtReference
Returns the declaration that corresponds to the referenced element only if the declaration is in the analyzed source files.
getDeclaration() - Method in interface spoon.reflect.reference.CtTypeParameterReference
Returns the CtTypeParameter, a CtTypeParameter, that declares the type parameter referenced or null if the reference is not in a context where such type parameter is declared.
getDeclaration() - Method in interface spoon.reflect.reference.CtTypeReference
Returns the CtType, that corresponds to the reference or null if the type declaration is not in the analyzed source files, CtTypeReference.getTypeDeclaration() is a newer and better alternative that never returns null.
getDeclaration() - Method in interface spoon.reflect.reference.CtVariableReference
Tries to get the declaration of the reference.
getDeclaration() - Method in class spoon.support.reflect.reference.CtCatchVariableReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtModuleReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaration() - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
 
getDeclaredAnnotations() - Method in class spoon.support.visitor.java.reflect.RtMethod
 
getDeclaredAnnotations() - Method in class spoon.support.visitor.java.reflect.RtParameter
Return annotations which declared on the parameter.
getDeclaredExecutables() - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets the executables declared by this type if applicable.
getDeclaredExecutables() - Method in class spoon.support.reflect.declaration.CtClassImpl
 
getDeclaredExecutables() - Method in class spoon.support.reflect.declaration.CtInterfaceImpl
 
getDeclaredExecutables() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getDeclaredExecutables() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
getDeclaredExecutables() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaredField(String) - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets a field from its name.
getDeclaredField(String) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getDeclaredField(String) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaredFields() - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets the fields declared by this type.
getDeclaredFields() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getDeclaredFields() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
 
getDeclaredFields() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaredMethods() - Method in class spoon.metamodel.MMMethod
 
getDeclaredModule() - Method in interface spoon.reflect.cu.CompilationUnit
Gets the declared module if the compilationUnit is "module-info.java"
getDeclaredModule() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
getDeclaredOrInheritedField(String) - Method in interface spoon.reflect.declaration.CtTypeInformation
Gets a field from this type or any super type or any implemented interface by field name.
getDeclaredOrInheritedField(String) - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getDeclaredOrInheritedField(String) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaredPackage() - Method in interface spoon.reflect.cu.CompilationUnit
Gets the package declared in the top level type of the compilation unit.
getDeclaredPackage() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
getDeclaredTypes() - Method in interface spoon.reflect.cu.CompilationUnit
Gets all the types declared in this compilation unit.
getDeclaredTypes() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
 
getDeclaringClass() - Method in class spoon.support.visitor.java.reflect.RtMethod
 
getDeclaringExecutable() - Method in interface spoon.reflect.reference.CtParameterReference
Gets the declaring executable of the referenced parameter.
getDeclaringExecutable() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
 
getDeclaringModule() - Method in interface spoon.reflect.declaration.CtPackage
Gets the declaring module.
getDeclaringModule() - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
getDeclaringPackage() - Method in interface spoon.reflect.declaration.CtPackage
Gets the declaring package of the current one.
getDeclaringPackage() - Method in class spoon.support.reflect.declaration.CtPackageImpl
 
getDeclaringType() - Method in interface spoon.reflect.declaration.CtTypeMember
Gets the type that declares this class member.
getDeclaringType() - Method in interface spoon.reflect.reference.CtExecutableReference
Gets the reference to the type that declares this executable.
getDeclaringType() - Method in interface spoon.reflect.reference.CtFieldReference
Gets the type in which the field is declared.
getDeclaringType() - Method in interface spoon.reflect.reference.CtTypeReference
Gets the type that declares the referenced type.
getDeclaringType() - Method in class spoon.support.reflect.declaration.CtConstructorImpl
 
getDeclaringType() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
 
getDeclaringType() - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
getDeclaringType() - Method in class spoon.support.reflect.declaration.CtTypeImpl
 
getDeclaringType() - Method in class spoon.support.reflect.declaration.InvisibleArrayConstructorImpl
 
getDeclaringType() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getDeclaringType() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
 
getDeclaringType() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
 
getDeclaringTypeName(String) - Method in class spoon.reflect.factory.TypeFactory
Gets the declaring type name for a given Java qualified name.
getDefaultBoundingType() - Method in class spoon.reflect.factory.TypeFactory
Returns the default bounding type value
getDefaultCapacity() - Method in class spoon.support.util.ModelList
 
getDefaultExpression() - Method in interface spoon.reflect.declaration.CtAnnotationMethod
Gets the default expression assigned to the annotation method.
getDefaultExpression() - Method in interface spoon.reflect.declaration.CtVariable
Gets the initialization expression assigned to the variable (also known as the initializer), when declared.
getDefaultExpression() - Method in class spoon.support.reflect.code.CtCatchVariableImpl
 
getDefaultExpression() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
 
getDefaultExpression() - Method in class spoon.support.reflect.declaration.CtAnnotationMethodImpl
 
getDefaultExpression() - Method in class spoon.support.reflect.declaration.CtFieldImpl
 
getDefaultExpression() - Method in class spoon.support.reflect.declaration.CtParameterImpl
 
getDefaultFileGenerator() - Method in interface spoon.compiler.Environment
Returns the default file generator for this environment (gives the default output directory for the created files).
getDefaultFileGenerator() - Method in class spoon.support.StandardEnvironment
 
getDefaultOutputDirectory() - Method in class spoon.support.DefaultOutputDestinationHandler
 
getDefaultOutputDirectory() - Method in interface spoon.support.OutputDestinationHandler
 
getDescription() - Method in interface spoon.processing.ProblemFixer
Returns the description of this fixer
getDimensionCount() - Method in interface spoon.reflect.reference.CtArrayTypeReference
Returns the number of dimensions of this array type.
getDimensionCount() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
 
getDimensionExpressions() - Method in interface spoon.reflect.code.CtNewArray
Gets the expressions that define the array's dimensions.
getDimensionExpressions() - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
getDirectChanges(CtElement) - Method in class spoon.support.modelobs.ChangeCollector
 
getDirectoryPath(CtModule, CtPackage, CtType) - Method in class spoon.support.DefaultOutputDestinationHandler
 
getDocComment() - Method in interface spoon.reflect.declaration.CtElement
Returns the text of the documentation ("javadoc") comment of this element.
getDocComment() - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getElementPrinterHelper() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
 
getElements() - Method in interface spoon.reflect.code.CtNewArray
Gets the initialization expressions.
getElements(Filter<E>) - Method in interface spoon.reflect.CtModel
Returns all the model elements matching the filter.
getElements(Filter<E>) - Method in class spoon.reflect.CtModelImpl
 
getElements(Filter<E>) - Method in interface spoon.reflect.declaration.CtElement
Returns all the children elements recursively matching the filter.
getElements(Collection<CtElement>) - Method in class spoon.reflect.path.impl.CtNamedPathElement
 
getElements(Collection<P>) - Method in interface spoon.reflect.path.impl.CtPathElement
Get elements childs of roots that match with this path.
getElements() - Method in class spoon.reflect.path.impl.CtPathImpl
 
getElements(Collection<CtElement>) - Method in class spoon.reflect.path.impl.CtRolePathElement
 
getElements(Collection<P>) - Method in class spoon.reflect.path.impl.CtTypedNameElement
 
getElements(Factory, Filter<E>) - Static method in class spoon.reflect.visitor.Query
Within a given factory, returns all the program elements that match the filter.
getElements(CtElement, Filter<E>) - Static method in class spoon.reflect.visitor.Query
Returns all the program elements that match the filter starting from the given rootElement.
getElements() - Method in class spoon.support.reflect.code.CtNewArrayImpl
 
getElements(Filter<E>) - Method in class spoon.support.reflect.declaration.CtElementImpl
 
getElementType() - Method in class spoon.pattern.internal.node.ElementNode
 
getElementValues() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
 
getElementWhereChangeHappens() - Method in class spoon.support.modelobs.context.Context
the changed parent
getElseExpression() - Method in interface spoon.reflect.code.CtConditional
Gets the "false" expression.
getElseExpression() - Method in class spoon.support.reflect.code.CtConditionalImpl
 
getElseStatement() - Method in interface spoon.reflect.code.CtIf
Gets the statement executed when the condition is false.
getElseStatement() - Method in class spoon.support.reflect.code.CtIfImpl
 
getEmptyContainer() - Method in class spoon.pattern.internal.parameter.AbstractParameterInfo
 
getEmptyContainer() - Method in class spoon.pattern.internal.parameter.ListParameterInfo
 
getEmptyContainer() - Method in class spoon.pattern.internal.parameter.MapParameterInfo
 
getEmptyContainer() - Method in class spoon.pattern.internal.parameter.SetParameterInfo
 
getEnclosingGenericTypeAdapter() - Method in class spoon.support.visitor.ClassTypingContext
 
getEnclosingGenericTypeAdapter() - Method in interface spoon.support.visitor.GenericTypeAdapter
 
getEnclosingGenericTypeAdapter() - Method in class spoon.support.visitor.MethodTypingContext
 
getEncoding() - Method in interface spoon.compiler.Environment
Get the encoding used inside the project
getEncoding() - Method in class spoon.support.StandardEnvironment
 
getEndColumn() - Method in class spoon.reflect.cu.position.NoSourcePosition
 
getEndColumn() - Method in interface spoon.reflect.cu.SourcePosition
Gets the end column in the source file (1 indexed).
getEndColumn() - Method in class spoon.support.reflect.cu.position.CompoundSourcePositionImpl
 
getEndColumn() - Method in class spoon.support.reflect.cu.position.SourcePositionImpl
 
getEndLine() - Method in class spoon.reflect.cu.position.NoSourcePosition
 
getEndLine() - Method in interface spoon.reflect.cu.SourcePosition
Gets the end line in the source file (1 indexed).
getEndLine() - Method in class spoon.support.reflect.cu.position.CompoundSourcePositionImpl
 
getEndLine() - Method in class spoon.support.reflect.cu.position.SourcePositionImpl
 
getEnum(Class<T>) - Method in class spoon.reflect.factory.EnumFactory
Gets a class from its runtime Java class.
getEnumValue(String) - Method in interface spoon.reflect.declaration.CtEnum
Gets an enum value by its name.
getEnumValue(String) - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
getEnumValues() - Method in interface spoon.reflect.declaration.CtEnum
Gets all enum values of the enumeration.
getEnumValues() - Method in class spoon.support.reflect.declaration.CtEnumImpl
 
getEnvironment() - Method in class spoon.Launcher
 
getEnvironment() - Method in class spoon.processing.AbstractManualProcessor
 
getEnvironment() - Method in class spoon.processing.AbstractProcessor
 
getEnvironment() - Method in interface spoon.processing.Processor
Gets the environment of this processor.
getEnvironment() - Method in interface spoon.reflect.factory.Factory
Access to the Environment
getEnvironment() - Method in class spoon.reflect.factory.FactoryImpl
Gets the Spoon environment that encloses this factory.
getEnvironment() - Method in interface spoon.SpoonAPI
Returns the current environment.
getEnvironment() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
 
getEnvironment() - Method in class spoon.support.DefaultOutputDestinationHandler
 
getEnvironment() - Method in class spoon.support.JavaOutputProcessor
 
getErrorCount() - Method in interface spoon.compiler.Environment
Gets the error count from building, processing, and compiling within this environment.
getErrorCount() - Method in class spoon.support.StandardEnvironment
 
getExceptionTypes() - Method in class spoon.support.visitor.java.reflect.RtMethod
 
getExecutable() - Method in interface spoon.reflect.code.CtAbstractInvocation
Returns the invoked executable.
getExecutable() - Method in interface spoon.reflect.code.CtExecutableReferenceExpression
Gets the executable referenced by the expression.
getExecutable() - Method in class spoon.support.reflect.code.CtConstructorCallImpl
 
getExecutable() - Method in class spoon.support.reflect.code.CtExecutableReferenceExpressionImpl
 
getExecutable() - Method in class spoon.support.reflect.code.CtInvocationImpl
 
getExecutableDeclaration() - Method in interface spoon.reflect.reference.CtExecutableReference
Returns a subtype CtExecutable that corresponds to the reference even if its declaring type isn't in the Spoon source path (in this case, the Spoon elements are built with runtime reflection).
getExecutableDeclaration() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
 
getExistingValue(List<Object>) - Method in class spoon.pattern.internal.parameter.ListParameterInfo
 
getExiter() - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
 
getExportedPackages() - Method in interface spoon.reflect.declaration.CtModule
 
getExportedPackages() - Method in class spoon.support.reflect.declaration.CtModuleImpl
 
getExpression() - Method in interface spoon.reflect.code.CtAssert
Gets the expression of the assertion if defined.