- AbstractAnnotationProcessor<A extends java.lang.annotation.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
-
- AbstractParallelProcessor<E extends CtElement> - Class in spoon.processing
-
AbstractParallelProcessor allows using multiple threads for concurrent
processing with
AbstractProcessor
.
- AbstractParallelProcessor(Iterable<Processor<E>>) - Constructor for class spoon.processing.AbstractParallelProcessor
-
Creates a new AbstractParallelProcessor from given iterable.
- AbstractParallelProcessor(Iterable<Processor<E>>, int) - Constructor for class spoon.processing.AbstractParallelProcessor
-
Creates a new AbstractParallelProcessor from given iterable.
- AbstractParallelProcessor(Consumer<E>, int) - Constructor for class spoon.processing.AbstractParallelProcessor
-
Creates a new AbstractParallelProcessor from given consumer.
- 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
-
- 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(CtImportVisitor) - Method in class spoon.experimental.CtUnresolvedImport
-
- accept(CtVisitor) - Method in class spoon.experimental.CtUnresolvedImport
-
- accept(CtImportVisitor) - Method in interface spoon.reflect.declaration.CtImport
-
- 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.CtSwitchExpressionImpl
-
- 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.CtTextBlockImpl
-
- 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.code.CtYieldStatementImpl
-
- 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.CtCompilationUnitImpl
-
- 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(CtImportVisitor) - 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.CtPackageDeclarationImpl
-
- 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.CtTypeMemberWildcardImportReferenceImpl
-
- 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
-
- adaptTypeParameter(CtTypeParameter) - Method in class spoon.support.visitor.MethodTypingContext
-
- add(CtExecutable<?>) - Method in class spoon.refactoring.MethodCallState
-
Adds a CtExecutable to the methods invoking this method.
- add(CtType<?>) - Method in class spoon.refactoring.MethodCallState
-
Adds a CtType to the fields invoking this method.
- add(ElementSourceFragment) - Method in class spoon.support.sniper.internal.ElementSourceFragment
-
- 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 interface spoon.reflect.reference.CtTypeMemberWildcardImportReference
-
- addAnnotation(CtAnnotation<? extends Annotation>) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- addAnnotation(CtAnnotation<? extends Annotation>) - Method in class spoon.support.reflect.reference.CtTypeMemberWildcardImportReferenceImpl
-
- 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
-
- addBlockTag(JavadocBlockTag) - Method in class spoon.javadoc.internal.Javadoc
-
- addBlockTag(String, String, String) - Method in class spoon.javadoc.internal.Javadoc
-
For tags like "@return good things" where tagName is "return", and the rest is content.
- addBlockTag(String) - Method in class spoon.javadoc.internal.Javadoc
-
- addBound(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtIntersectionTypeReference
-
Adds a bound.
- addBound(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
-
- 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.CtAbstractSwitch
-
Adds a case;
- addCase(CtCase<? super S>) - Method in class spoon.support.reflect.code.CtSwitchExpressionImpl
-
- addCase(CtCase<? super S>) - Method in class spoon.support.reflect.code.CtSwitchImpl
-
- addCaseExpression(CtExpression<S>) - Method in interface spoon.reflect.code.CtCase
-
Adds case expression.
- addCaseExpression(CtExpression<E>) - Method in class spoon.support.reflect.code.CtCaseImpl
-
- 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.
- addClone(Collection<T>, T) - Method in class spoon.support.visitor.equals.CloneHelper
-
clones an 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.declaration.CtCompilationUnit
-
Add a type to the list of declared types.
- addDeclaredType(CtType<?>) - Method in class spoon.support.reflect.declaration.CtCompilationUnitImpl
-
- addDeclaredTypeReference(CtTypeReference<?>) - Method in interface spoon.reflect.declaration.CtCompilationUnit
-
Add a type reference to the list of declared types
- addDeclaredTypeReference(CtTypeReference<?>) - Method in class spoon.support.reflect.declaration.CtCompilationUnitImpl
-
- addDefaultValueEnd(int) - Method in interface spoon.reflect.cu.position.DeclarationSourcePosition
-
returns a new position object enriched a default value declaration (immutability pattern)
- addDefaultValueEnd(int) - Method in class spoon.support.reflect.cu.position.DeclarationSourcePositionImpl
-
- 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(JavadocDescriptionElement) - Method in class spoon.javadoc.internal.JavadocDescription
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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(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
-
- addNamedElement(CtNamedElement) - Method in interface spoon.reflect.visitor.LexicalScope
-
adds an element to the scope
- 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
-
- addType(CtType<?>) - Method in interface spoon.reflect.declaration.CtPackage
-
Adds a type to this package.
- addType(CtType) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
add a new type to be pretty-printed
- 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.ComputedParameterInfo
-
- 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
CtTypeMember
s 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();
- AllTypeMembersFunction.Mode - Enum in spoon.reflect.visitor.filter
-
- 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
-
- Annotation() - Method in class spoon.reflect.factory.FactoryImpl
-
- AnnotationFactory - Class in spoon.reflect.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 java.lang.annotation.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
- applyPreProcessors(CtElement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
Warning, this may change the state of the object
- ARGUMENT_END - Static variable in class spoon.reflect.path.impl.AbstractPathElement
-
- ARGUMENT_NAME_SEPARATOR - Static variable in class spoon.reflect.path.impl.AbstractPathElement
-
- ARGUMENT_START - Static variable in class spoon.reflect.path.impl.AbstractPathElement
-
- asCollection(T) - Method in interface spoon.reflect.meta.RoleHandler
-
- asCtIntersectionTypeReference() - Method in interface spoon.reflect.reference.CtTypeReference
-
- 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.
- assertCtElementEquals(CtElement, CtElement) - Static method in class spoon.testing.utils.Check
-
if ct1 is not equals to ct2, tells the exact difference
- assertExists(T) - Static method in class spoon.testing.utils.Check
-
- assertIsSame(A, E) - Static method in class spoon.testing.utils.Check
-
- assertNotNull(String, T) - Static method in class spoon.testing.utils.Check
-
throws AssertionError if "reference" is null
- assertNotNull(T) - Static method in class spoon.testing.utils.Check
-
- assertThat(String) - Static method in class spoon.testing.Assert
-
- assertThat(File) - Static method in class spoon.testing.Assert
-
- assertThat(CtElement) - Static method in class spoon.testing.Assert
-
- assertThat(CtPackage) - Static method in class spoon.testing.Assert
-
- 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
- autoImports(boolean) - Method in class spoon.FluentLauncher
-
Tell to the Java printer to automatically generate imports and use simple
names instead of fully-qualified name.
- autoWriteTabs() - Method in class spoon.reflect.visitor.PrinterHelper
-
- CacheBasedConflictFinder - Class in spoon.reflect.visitor
-
Caches some field and nested type names
- calculate(CtCompilationUnit, List<CtType<?>>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- calculate(CtCompilationUnit, List<CtType<?>>) - Method in interface spoon.reflect.visitor.PrettyPrinter
-
Calculates the resulting source file for a list of types.
- calculate(CtCompilationUnit, List<CtType<?>>) - Method in class spoon.support.sniper.SniperJavaPrettyPrinter
-
- canAccess(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeReference
-
Checks visibility based on public, protected, package protected and private modifiers of type
- canAccess(CtTypeMember) - Method in interface spoon.reflect.reference.CtTypeReference
-
- canAccess(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- canAccess(CtTypeMember) - 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_EXPRESSIONS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
-
- CASE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
-
- CaseKind - Enum in spoon.reflect.code
-
- 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
-
- 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
-
- 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
-
- 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.
- ChangeResolver - Class in spoon.support.sniper.internal
-
Helper which provides details about changes on provided `element`
- ChangeResolver(ChangeCollector, CtElement) - Constructor for class spoon.support.sniper.internal.ChangeResolver
-
- 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
- checkAssignmentContracts() - Method in class spoon.ContractVerifier
-
checks that all assignments are aither a CtFieldWrite, a CtVariableWrite or a CtArrayWrite
- checkBoundAndUnboundTypeReference() - Method in class spoon.ContractVerifier
-
- checkCallState() - Method in class spoon.refactoring.MethodCallState
-
Checks the call state for the method.
- checkContractCtScanner() - Method in class spoon.ContractVerifier
-
verifies the core scanning contracts (enter implies exit, etc)
- checkElementIsContainedInAttributeOfItsParent() - Method in class spoon.ContractVerifier
-
contract: element is contained in attribute of element's parent
- checkElementToPathToElementEquivalence() - Method in class spoon.ContractVerifier
-
checks that for all elements, the path can be obtained, parsed, and give the same element when evaluated
- checkEquals(CtElement, CtElement) - Method in class spoon.support.visitor.equals.EqualsVisitor
-
- checker - Variable in class spoon.support.visitor.equals.EqualsVisitor
-
- checkGenericContracts() - Method in class spoon.ContractVerifier
-
- checkJavaIdentifiers() - Method in class spoon.ContractVerifier
-
checks that the identifiers are valid
- checkModelIsTree() - Method in class spoon.ContractVerifier
-
contract: each element is used only once in the model
- checkModifiers() - Method in class spoon.ContractVerifier
-
verifies that the explicit modifier should be present in the original source code
- checkNewNameIsValid() - Method in class spoon.refactoring.AbstractRenameRefactoring
-
- checkParentConsistency() - Method in class spoon.ContractVerifier
-
checks that the scanner behavior and the parents correspond
- checkParentConsistency(CtElement) - Method in class spoon.ContractVerifier
-
public modifier for testing purpose only, not in the public API
- checkParentContract() - Method in class spoon.ContractVerifier
-
checks that there is always one parent, corresponding to the scanning order
- checkpoint() - Method in interface spoon.support.util.ImmutableMap
-
- checkpoint() - Method in class spoon.support.util.ImmutableMapImpl
-
- checkRoleInParent() - Method in class spoon.ContractVerifier
-
- checksAreSkipped() - Method in interface spoon.compiler.Environment
-
Tells whether Spoon does no checks at all.
- checksAreSkipped() - Method in class spoon.support.StandardEnvironment
-
- checkShadow() - Method in class spoon.ContractVerifier
-
check that we have all shadow elements, and that they are correctly isShadow
- 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
-
- Class() - Method in class spoon.reflect.factory.FactoryImpl
-
- ClassFactory - Class in spoon.reflect.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
-
- cleanComment(String) - Static method in class spoon.support.compiler.jdt.JDTCommentBuilder
-
- 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 class spoon.experimental.CtUnresolvedImport
-
- 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.CtSwitchExpression
-
- clone() - Method in interface spoon.reflect.code.CtSynchronized
-
- clone() - Method in interface spoon.reflect.code.CtTargetedExpression
-
- clone() - Method in interface spoon.reflect.code.CtTextBlock
-
Overriding return type, a clone of a CtTextBlock returns a CtTextBlock
- 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.code.CtYieldStatement
-
- 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.CtCompilationUnit
-
- 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.CtPackageDeclaration
-
- 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.CtTypeMemberWildcardImportReference
-
- 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.CtSwitchExpressionImpl
-
- 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.CtTextBlockImpl
-
- 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.code.CtYieldStatementImpl
-
- 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.CtCompilationUnitImpl
-
- 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.CtPackageDeclarationImpl
-
- 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.CtTypeMemberWildcardImportReferenceImpl
-
- 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(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
-
clones a Set of elements
- 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() - 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
-
- Code() - Method in class spoon.reflect.factory.FactoryImpl
-
- 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
-
- COLLECTION - Variable in class spoon.reflect.factory.TypeFactory
-
- CollectionContext<T extends java.util.Collection<?>> - Class in spoon.support.modelobs.context
-
- CollectionContext(CtElement, CtRole, T) - Constructor for class spoon.support.modelobs.context.CollectionContext
-
- CollectionSourceFragment - Class in spoon.support.sniper.internal
-
- CollectionSourceFragment(List<SourceFragment>) - Constructor for class spoon.support.sniper.internal.CollectionSourceFragment
-
- columnsName - Static variable in class spoon.support.gui.SpoonObjectFieldsTable
-
- comment() - Method in interface spoon.reflect.code.CtBlock
-
If the block is a method body, then all statements inside the body are commented out.
- comment() - Method in interface spoon.reflect.code.CtStatement
-
Comments the statement (eg `// call()`).
- comment() - Method in class spoon.support.reflect.code.CtBlockImpl
-
- comment() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
Replace the statement with a CtComment having the statement as text
- 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
- CommentHelper - Class in spoon.reflect.visitor
-
Computes source code representation of the Comment literal
- CommentOffset - Enum in spoon.reflect.visitor.printer
-
- compare(CtImport, CtImport) - Method in class spoon.reflect.visitor.DefaultImportComparator
-
- compare(CtElement, CtElement) - Method in class spoon.support.comparator.CtLineElementComparator
-
Returns 0 if o1 has the same position as o2, or both positions are invalid and o1.equals(o2).
- 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
-
- COMPILATION_UNIT_DECLARED_TYPES_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
-
- COMPILATION_UNIT_IMPORTS_CONTAINER_DEFAULT_CAPACITY - Static variable in class spoon.reflect.ModelElementContainerDefaultCapacities
-
- CompilationUnit - Interface in spoon.reflect.cu
-
Deprecated.
- CompilationUnit() - Method in interface spoon.reflect.factory.Factory
-
- CompilationUnit() - Method in class spoon.reflect.factory.FactoryImpl
-
- 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
-
- 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
-
Replace all the code snippets that are found in this type by the corresponding Spoon AST.
- compileAndReplaceSnippets() - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- compileAndReplaceSnippetsIn(CtType<?>) - Static method in class spoon.support.compiler.SnippetCompilationHelper
-
Takes the class given as parameter, pretty-prints it, get the JDT'ast and the corrspondong Spoon AST
and finally replace all children of initialClass by the the fresh ones.
- 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
-
- complianceLevel(int) - Method in class spoon.FluentLauncher
-
Sets the Java version compliance level.
- 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 named 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.
- ComputedParameterInfo - Class in spoon.pattern.internal.parameter
-
Represents a parameter which is related to a value of another parameter.
- ComputedParameterInfo(ParameterComputer, ParameterInfo) - Constructor for class spoon.pattern.internal.parameter.ComputedParameterInfo
-
- computeImports(CtElement) - Method in interface spoon.reflect.visitor.ImportScanner
-
- computeImports(CtElement) - Method in class spoon.reflect.visitor.ImportScannerImpl
-
- computeValue(ResultHolder<Object>, ResultHolder<?>) - Method in interface spoon.pattern.internal.parameter.ParameterComputer
-
- computeValue(ResultHolder<Object>, ResultHolder<?>) - Method in class spoon.pattern.internal.parameter.SimpleNameOfTypeReferenceParameterComputer
-
- 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
-
- ConflictResolutionMode - Enum in spoon.pattern
-
- 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
-
- Constructor() - Method in class spoon.reflect.factory.FactoryImpl
-
- 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
-
- 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(CtType<?>) - Method in class spoon.refactoring.MethodCallState
-
- contains(CtExecutable<?>) - Method in class spoon.refactoring.MethodCallState
-
- 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
-
- content - Variable in class spoon.support.reflect.code.CtCommentImpl
-
- 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
-
- ContractVerifier - Class in spoon
-
Verifies all contracts that should hold on any AST.
- ContractVerifier(CtPackage) - Constructor for class spoon.ContractVerifier
-
- ContractVerifier() - Constructor for class spoon.ContractVerifier
-
use at your own risk, not part of the public API
- convertElementToRuntimeObject(CtElement) - Static method in class spoon.support.reflect.eval.EvalHelper
-
Evaluates and converts CtExpression to their equivalent runtime objects
eg "CtLiteral(3) + CtLiteral(4)" -> 7
- 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
-
- 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
-
- create(Set<?>, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
-
- create(Map<String, ?>, Map<CtElement, RootNode>) - Static method in class spoon.pattern.internal.node.ElementNode
-
- create(List<? extends CtElement>) - Static method in class spoon.pattern.PatternBuilder
-
- 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 from its qualified name.
- 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
-
- 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 a 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
-
- 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
-
- createInputHolder() - Method in interface spoon.pattern.internal.parameter.ParameterComputer
-
- createInputHolder() - Method in class spoon.pattern.internal.parameter.SimpleNameOfTypeReferenceParameterComputer
-
- 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 interface spoon.reflect.factory.Factory
-
- createJavaDoc() - Method in class spoon.reflect.factory.FactoryImpl
-
- createJavaDoc() - Method in class spoon.support.DefaultCoreFactory
-
- createJavaDocTag(String, CtJavaDocTag.TagType) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a javadoc tag
- createJavaDocTag(String, CtJavaDocTag.TagType, String) - 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, String) - Method in interface spoon.reflect.factory.Factory
-
- createJavaDocTag() - Method in interface spoon.reflect.factory.Factory
-
- createJavaDocTag(String, CtJavaDocTag.TagType) - Method in class spoon.reflect.factory.FactoryImpl
-
- createJavaDocTag(String, CtJavaDocTag.TagType, String) - Method in class spoon.reflect.factory.FactoryImpl
-
- createJavaDocTag() - 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(CtType<T>, CtExpression<?>...) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a new anonymous class.
- createNewClass() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a new anonymous class expression.
- createNewClass(CtType<?>, CtExpression<?>...) - Method in interface spoon.reflect.factory.Factory
-
Creates an anonymous class
- createNewClass() - Method in interface spoon.reflect.factory.Factory
-
- createNewClass(CtType<?>, 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
-
- createPackageDeclaration() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a package declaration.
- createPackageDeclaration(CtPackageReference) - Method in interface spoon.reflect.factory.Factory
-
- createPackageDeclaration(CtPackageReference) - Method in class spoon.reflect.factory.FactoryImpl
-
- createPackageDeclaration(CtPackageReference) - Method in class spoon.reflect.factory.PackageFactory
-
Creates a package declaration of a package.
- createPackageDeclaration() - 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 interface spoon.compiler.Environment
-
- createPrettyPrinter() - Method in class spoon.Launcher
-
- createPrettyPrinter() - Method in class spoon.support.StandardEnvironment
-
- createPrettyPrinterAutoImport() - Method in interface spoon.compiler.Environment
-
- createPrettyPrinterAutoImport() - Method in class spoon.support.StandardEnvironment
-
- 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
-
- 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(String) - Method in interface spoon.reflect.factory.Factory
-
- createReference(String) - Method in class spoon.reflect.factory.FactoryImpl
-
- 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
-
- 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
-
- createScanner() - Method in class spoon.reflect.visitor.ForceFullyQualifiedProcessor
-
- createScanner() - Method in class spoon.reflect.visitor.ForceImportProcessor
-
- createScanner() - Method in class spoon.reflect.visitor.ImportCleaner
-
- createScanner() - Method in class spoon.reflect.visitor.ImportConflictDetector
-
- createSimplyQualifiedReference(String) - Method in interface spoon.reflect.factory.Factory
-
- createSimplyQualifiedReference(String) - Method in class spoon.reflect.factory.FactoryImpl
-
- createSimplyQualifiedReference(String) - Method in class spoon.reflect.factory.TypeFactory
-
Create a reference to a simple type, setting the beginning of its fully qualified name as implicit
- createSourceFragmentsFrom(CtElement) - Static method in class spoon.support.sniper.internal.ElementSourceFragment
-
Builds a tree of source fragments for `element` and all its children, based on the source positions of each element
- 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
-
- createSwitchExpression() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a switch
expression.
- createSwitchExpression() - Method in interface spoon.reflect.factory.Factory
-
- createSwitchExpression() - Method in class spoon.reflect.factory.FactoryImpl
-
- createSwitchExpression() - 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
-
- createTextBlock(String) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a TextBlock with the given string value.
- createTextBlock() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a TextBlock String Literal
- createTextBlock() - Method in interface spoon.reflect.factory.Factory
-
- createTextBlock(String) - Method in interface spoon.reflect.factory.Factory
-
- createTextBlock(String) - Method in class spoon.reflect.factory.FactoryImpl
-
- createTextBlock() - Method in class spoon.reflect.factory.FactoryImpl
-
- createTextBlock() - 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
-
- 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.
- createTypeMemberWildcardImportReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Create a wildcard reference to a type member, used in a static import
- createTypeMemberWildcardImportReference(CtTypeReference<?>) - Method in interface spoon.reflect.factory.Factory
-
- createTypeMemberWildcardImportReference(CtTypeReference) - Method in class spoon.reflect.factory.FactoryImpl
-
- createTypeMemberWildcardImportReference(CtTypeReference) - Method in class spoon.reflect.factory.TypeFactory
-
Create a wildcard reference to a simple type
- createTypeMemberWildcardImportReference() - Method in class spoon.support.DefaultCoreFactory
-
- 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
-
- createUnresolvedImport() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an unresolved import.
- createUnresolvedImport(String, boolean) - Method in interface spoon.reflect.factory.Factory
-
- createUnresolvedImport(String, boolean) - Method in class spoon.reflect.factory.FactoryImpl
-
- createUnresolvedImport(String, boolean) - Method in class spoon.reflect.factory.TypeFactory
-
- createUnresolvedImport() - 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
-
- 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 for read.
- 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 for read.
- createVariableReads(List<? extends CtVariable<?>>) - Method in interface spoon.reflect.factory.Factory
-
- createVariableReads(List<? extends CtVariable<?>>) - Method in class spoon.reflect.factory.FactoryImpl
-
- createVariableWrite(CtVariableReference<T>, boolean) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a variable access for write.
- createVariableWrite() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a variable write expression.
- createVariableWrite(CtVariableReference<T>, boolean) - Method in interface spoon.reflect.factory.Factory
-
- createVariableWrite() - Method in interface spoon.reflect.factory.Factory
-
- createVariableWrite(CtVariableReference<T>, boolean) - Method in class spoon.reflect.factory.FactoryImpl
-
- 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
-
- createYieldStatement() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a yield
statement
- createYieldStatement(boolean) - Method in interface spoon.reflect.factory.Factory
-
- createYieldStatement(boolean) - Method in class spoon.reflect.factory.FactoryImpl
-
- createYieldStatement() - 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
-
- CtAbstractImportVisitor - Class in spoon.reflect.visitor
-
- CtAbstractImportVisitor() - Constructor for class spoon.reflect.visitor.CtAbstractImportVisitor
-
- CtAbstractInvocation<T> - Interface in spoon.reflect.code
-
This code element defines an abstract invocation on a
CtExecutable
.
- CtAbstractSwitch<S> - Interface in spoon.reflect.code
-
This code element defines an abstract switch
(either switch statement or switch expression).
- 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 java.lang.annotation.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 java.lang.annotation.Annotation> - Class in spoon.support.reflect.declaration
-
- 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
-
- CtAnnotationMethodImpl() - Constructor for class spoon.support.reflect.declaration.CtAnnotationMethodImpl
-
- CtAnnotationType<T extends java.lang.annotation.Annotation> - Interface in spoon.reflect.declaration
-
This element defines an annotation type.
- CtAnnotationTypeImpl<T extends java.lang.annotation.Annotation> - Class in spoon.support.reflect.declaration
-
- 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
-
- CtBFSIterator - Class in spoon.reflect.visitor
-
A class to be able to iterate over the children elements in the tree of a given node, in breadth-first order.
- CtBFSIterator(CtElement) - Constructor for class spoon.reflect.visitor.CtBFSIterator
-
CtIterator constructor, prepares the iterator from the @root node
- 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
-
- 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
-
- 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
-
- CtCompilationUnit - Interface in spoon.reflect.declaration
-
Defines a compilation unit.
- CtCompilationUnit.UNIT_TYPE - Enum in spoon.reflect.declaration
-
- CtCompilationUnitImpl - Class in spoon.support.reflect.declaration
-
Implements a compilation unit.
- CtCompilationUnitImpl() - Constructor for class spoon.support.reflect.declaration.CtCompilationUnitImpl
-
- 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
-
- 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
-
- CtDeprecatedRefactoring - Class in spoon.refactoring
-
- CtDeprecatedRefactoring() - Constructor for class spoon.refactoring.CtDeprecatedRefactoring
-
- 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 java.lang.Enum<?>> - Interface in spoon.reflect.declaration
-
This element represents an enumeration declaration.
- CtEnumImpl<T extends java.lang.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
-
- CtExecutableImpl() - Constructor for class spoon.support.reflect.declaration.CtExecutableImpl
-
- CtExecutableReference<T> - Interface in spoon.reflect.reference
-
- 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
-
- 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
-
- CtImportVisitor - Interface in spoon.reflect.visitor
-
This interface defines the visitor for the different types of CtImport
- CtInheritanceScanner - Class in spoon.reflect.visitor
-
This class provides an abstract implementation of the visitor that allows its
subclasses to scan 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
-
- CtLocalVariableReferenceImpl<T> - Class in spoon.support.reflect.reference
-
- 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
-
- 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
-
- CtModuleImpl - Class in spoon.support.reflect.declaration
-
- CtModuleImpl() - Constructor for class spoon.support.reflect.declaration.CtModuleImpl
-
- CtModuleReference - Interface in spoon.reflect.reference
-
- 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
-
- CtNamedPathElement(String, boolean) - 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
-
- CtPackageDeclaration - Interface in spoon.reflect.declaration
-
This element represents an package declaration.
- CtPackageDeclarationImpl - Class in spoon.support.reflect.declaration
-
- CtPackageDeclarationImpl() - Constructor for class spoon.support.reflect.declaration.CtPackageDeclarationImpl
-
- 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
-
- 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
-
- 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
-
- CtRenameGenericVariableRefactoring - Class in spoon.refactoring
-
Spoon model that can refactor any type of variable (method parameters, local variables, field variables.
- CtRenameGenericVariableRefactoring() - Constructor for class spoon.refactoring.CtRenameGenericVariableRefactoring
-
- 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
-
- 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.
- CtSwitchExpression<T,S> - Interface in spoon.reflect.code
-
This code element defines a switch expression.
- CtSwitchExpressionImpl<T,S> - Class in spoon.support.reflect.code
-
- CtSwitchExpressionImpl() - Constructor for class spoon.support.reflect.code.CtSwitchExpressionImpl
-
- 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
-
- CtTextBlock - Interface in spoon.reflect.code
-
This code element defines a Text Block String Literal.
- CtTextBlockImpl - Class in spoon.support.reflect.code
-
- CtTextBlockImpl() - Constructor for class spoon.support.reflect.code.CtTextBlockImpl
-
- 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).
- CtTypeMemberWildcardImportReference - Interface in spoon.reflect.reference
-
This interface defines a import reference to all static type members of a type.
Example:
somePackage.Type.*;
- CtTypeMemberWildcardImportReferenceImpl - 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.*;
- CtTypeMemberWildcardImportReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtTypeMemberWildcardImportReferenceImpl
-
- 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
-
- CtUnresolvedImport - Class in spoon.experimental
-
- CtUnresolvedImport() - Constructor for class spoon.experimental.CtUnresolvedImport
-
- 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
-
- 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
-
- CtYieldStatement - Interface in spoon.reflect.code
-
This code element defines a yield
statement.
- CtYieldStatementImpl - Class in spoon.support.reflect.code
-
CtYieldStatementImpl
- CtYieldStatementImpl() - Constructor for class spoon.support.reflect.code.CtYieldStatementImpl
-
- generate(Map<String, Object>) - Method in interface spoon.pattern.Generator
-
Main method to generate a new AST made from substituting of parameters by
the values in `params`
- generate(ImmutableMap) - Method in interface spoon.pattern.Generator
-
- generate(String, Map<String, Object>) - Method in interface spoon.pattern.Generator
-
Generates a type with qualified name `typeQualifiedName`
by replacing the generator parameters with the arguments given in `params`.
- generate(ImmutableMap) - Method in class spoon.pattern.internal.DefaultGenerator
-
- generate(Map<String, Object>) - Method in class spoon.pattern.internal.DefaultGenerator
-
- generate(String, 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
-
- 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 if source in the source classpath.
- 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
-
- getActualClass() - Method in interface spoon.reflect.reference.CtTypeReference
-
- 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
-
- getActualClass() - Method in class spoon.support.reflect.reference.CtWildcardReferenceImpl
-
- 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
-
- 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
-
- 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
-
- 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 interface spoon.reflect.reference.CtTypeMemberWildcardImportReference
-
- getAnnotations() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getAnnotations() - Method in class spoon.support.reflect.reference.CtTypeMemberWildcardImportReferenceImpl
-
- 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
-
- getBase() - Method in interface spoon.reflect.code.CtLiteral
-
Gets the base of the numeric literal (2, 8, 10 or 16).
- getBase() - Method in class spoon.support.reflect.code.CtLiteralImpl
-
- getBatchRequestor() - Method in class spoon.support.compiler.jdt.JDTBatchCompiler
-
- getBinaryFiles() - Method in interface spoon.reflect.declaration.CtCompilationUnit
-
- getBinaryFiles() - Method in class spoon.support.reflect.declaration.CtCompilationUnitImpl
-
- 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.
- getBlockTags() - Method in class spoon.javadoc.internal.Javadoc
-
- 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
-
- getBoundingType() - Method in interface spoon.reflect.reference.CtWildcardReference
-
- getBoundingType() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- getBoundingType() - Method in class spoon.support.reflect.reference.CtWildcardReferenceImpl
-
- getBounds() - Method in interface spoon.reflect.reference.CtIntersectionTypeReference
-
Gets the bounds of the intersection type.
- getBounds() - Method in class spoon.support.reflect.reference.CtIntersectionTypeReferenceImpl
-
- getCallerFields() - Method in class spoon.refactoring.MethodCallState
-
Returns a collection containing all types invoking the method with a field.
- getCallerMethods() - Method in class spoon.refactoring.MethodCallState
-
Returns a collection containing all CtExecutable invoking the method.
- 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
-
- getCaseExpressions() - Method in interface spoon.reflect.code.CtCase
-
Gets the case expressions.
- getCaseExpressions() - Method in class spoon.support.reflect.code.CtCaseImpl
-
- getCaseKind() - Method in interface spoon.reflect.code.CtCase
-
Gets the kind of this case - colon (:) or arrow (->)
(Arrow syntax is available as a preview feature since Java 12)
- getCaseKind() - Method in class spoon.support.reflect.code.CtCaseImpl
-
- getCases() - Method in interface spoon.reflect.code.CtAbstractSwitch
-
Gets the list of cases defined for this switch.
- getCases() - Method in class spoon.support.reflect.code.CtSwitchExpressionImpl
-
- 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
-
- getChangeCollector() - Method in class spoon.support.sniper.internal.ChangeResolver
-
- getChangedProperty() - Method in class spoon.support.modelobs.context.