- calculate(CompilationUnit, List<CtSimpleType<?>>) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- calculate(CompilationUnit, List<CtSimpleType<?>>) - Method in class spoon.reflect.visitor.FragmentDrivenJavaPrettyPrinter
-
- calculate(CompilationUnit, List<CtSimpleType<?>>) - Method in interface spoon.reflect.visitor.PrettyPrinter
-
Calculates the resulting source file for a list of types.
- Changes - Class in spoon.reflect
-
This class is a container for a list changes that may have occurred on a model
because of a transformation.
- Changes() - Constructor for class spoon.reflect.Changes
-
Creates an instance to be further initialized.
- CHARACTER - Variable in class spoon.reflect.factory.TypeFactory
-
- CHARACTER_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
-
- characters(char[], int, int) - Method in class spoon.support.processing.SpoonletXmlHandler
-
Handles characters.
- characters(char[], int, int) - Method in class spoon.support.processing.XmlProcessorProperties.Loader
-
Handles a tag content.
- charToHex(char) - Static method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- 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.
- cleanJavadoc(String) - Static method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
- clear() - Method in interface spoon.processing.ProcessingManager
-
Delete the Processors of this ProcessingManager.
- clear() - Method in class spoon.reflect.eval.SymbolicHeap
-
Clears this heap (only the stateful instances).
- clear() - Method in class spoon.support.QueueProcessingManager
-
- clear() - Method in class spoon.support.RuntimeProcessingManager
-
- 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(T) - Method in interface spoon.reflect.factory.CoreFactory
-
Recursively clones a given element of the metamodel and all its child
elements.
- clone(T) - Method in class spoon.support.DefaultCoreFactory
-
- code - Variable in class spoon.reflect.cu.SourceCodeFragment
-
The value of the code, which will be printed as is within the orginal
source code (at the specified position).
- 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
-
- columnsName - Static variable in class spoon.support.gui.SpoonObjectFieldsTable
-
- compare(CtElement, CtElement) - Method in class spoon.support.reflect.cu.CtLineElementComparator
-
Compares two program elements.
- compareTo(CtElement) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- compareTo(CtReference) - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- CompilationUnit - Interface in spoon.reflect.cu
-
Defines a compilation unit.
- 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.
- CompilationUnitImpl - Class in spoon.support.reflect.cu
-
- CompilationUnitImpl() - Constructor for class spoon.support.reflect.cu.CompilationUnitImpl
-
- CompilationUnitVirtualImpl - Class in spoon.support.reflect.declaration
-
- CompilationUnitVirtualImpl() - Constructor for class spoon.support.reflect.declaration.CompilationUnitVirtualImpl
-
- compile() - Method in interface spoon.compiler.SpoonCompiler
-
Generates the bytecode associated to the classes stored in this
compiler's factory.
- 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() - 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.CtSimpleType
-
Compiles and replace all the code snippets that are found in this type.
- compileAndReplaceSnippets() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- compileAndReplaceSnippetsIn(CtSimpleType<?>) - Static method in class spoon.support.compiler.SnippetCompilationHelper
-
- compileExpression(CtCodeSnippetExpression<T>) - Static method in class spoon.support.compiler.SnippetCompilationHelper
-
- compileInputSources() - Method in interface spoon.compiler.SpoonCompiler
-
Generates the bytecode by compiling the input sources.
- compileInputSources() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- CompilerClassLoader - Class in spoon.support.compiler.jdt
-
- CompilerClassLoader(URL[], ClassLoader) - Constructor for class spoon.support.compiler.jdt.CompilerClassLoader
-
- compileStatement(CtCodeSnippetStatement) - Static method in class spoon.support.compiler.SnippetCompilationHelper
-
- 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.
- computeJdtClassPath() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- Constructor() - Method in interface spoon.reflect.factory.Factory
-
- Constructor() - Method in class spoon.reflect.factory.FactoryImpl
-
- CONSTRUCTOR_NAME - Static variable in interface spoon.reflect.reference.CtExecutableReference
-
- ConstructorFactory - Class in spoon.reflect.factory
-
- ConstructorFactory(Factory) - Constructor for class spoon.reflect.factory.ConstructorFactory
-
Creates a new constructor sub-factory.
- contents - Variable in class spoon.support.util.BasicCompilationUnit
-
- context - Variable in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
The printing context.
- convert(Class<T>, Object) - Method in class spoon.support.processing.XmlProcessorProperties
-
Converts an object
o
into an object or a
CtReference
of type type
.
- convertArray(Class<T>, Collection<Object>) - Method in class spoon.support.processing.XmlProcessorProperties
-
Converts a collection of object into an array of type type.
- 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(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(String) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Creates or gets a compilation unit for a given file path.
- 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(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(CtSimpleType<?>, Set<ModifierKind>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field.
- create(CtSimpleType<?>, Set<ModifierKind>, CtTypeReference<T>, String, CtExpression<T>) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field.
- create(CtType<?>, CtField<T>) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field by copying an existing field.
- create(CtPackage, String) - Method in class spoon.reflect.factory.InterfaceFactory
-
Creates an interface.
- create(CtType<T>, String) - Method in class spoon.reflect.factory.InterfaceFactory
-
Creates an inner interface
- create(String) - Method in class spoon.reflect.factory.InterfaceFactory
-
Creates an interface.
- create(CtClass<?>, Set<ModifierKind>, CtTypeReference<R>, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>, CtBlock<B>) - Method in class spoon.reflect.factory.MethodFactory
-
Creates a method.
- create(CtType<?>, CtMethod<T>, boolean) - Method in class spoon.reflect.factory.MethodFactory
-
Creates a method by copying an existing method.
- create(CtType<?>, Set<ModifierKind>, CtTypeReference<T>, String, List<CtParameter<?>>, Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.reflect.factory.MethodFactory
-
Creates an empty method.
- create(CtPackage, String) - Method in class spoon.reflect.factory.PackageFactory
-
- createAnnotation() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an annotation.
- createAnnotation() - Method in class spoon.support.DefaultCoreFactory
-
- createAnnotationFieldAccess() - Method in interface spoon.reflect.factory.CoreFactory
-
Create an access to annotation value
- createAnnotationFieldAccess() - Method in class spoon.support.DefaultCoreFactory
-
- createAnnotationType() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an annotation type.
- createAnnotationType() - Method in class spoon.support.DefaultCoreFactory
-
- createAnonymous(CtClass<?>, CtBlock<?>) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an anonymous executable (initializer block) in a target class).
- createAnonymousExecutable() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an anonymous executable.
- createAnonymousExecutable() - Method in class spoon.support.DefaultCoreFactory
-
- createArrayAccess() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an array access expression.
- createArrayAccess() - Method in class spoon.support.DefaultCoreFactory
-
- createArrayReference(CtSimpleType<T>) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a reference to an array of given type.
- createArrayReference(CtTypeReference<T>) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a reference to a one-dimension array of given type.
- createArrayReference(CtTypeReference<?>, int) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a reference to an n-dimension array of given type.
- createArrayReference(String) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a reference to an array of given type.
- createArrayTypeReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an array type reference.
- createArrayTypeReference() - Method in class spoon.support.DefaultCoreFactory
-
- createAssert() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an assert
statement.
- createAssert() - Method in class spoon.support.DefaultCoreFactory
-
- createAssignment() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an assignment expression.
- createAssignment() - Method in class spoon.support.DefaultCoreFactory
-
- createBatchCompiler(boolean) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- createBatchCompiler() - 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() - Method in class spoon.support.DefaultCoreFactory
-
- createBlock() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a block.
- createBlock() - Method in class spoon.support.DefaultCoreFactory
-
- createBreak() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a break
statement.
- createBreak() - Method in class spoon.support.DefaultCoreFactory
-
- createCase() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a case
clause.
- createCase() - Method in class spoon.support.DefaultCoreFactory
-
- createCatch() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a catch
clause.
- createCatch() - Method in class spoon.support.DefaultCoreFactory
-
- createClass() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a class.
- 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
.
- 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() - 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() - Method in class spoon.support.DefaultCoreFactory
-
- createCompilationUnit() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a compilation unit.
- 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
-
Creates a new Spoon Java compiler in order to process and compile Java
source code.
- 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
-
Creates a new Spoon Java compiler with a default factory in order to
process and compile Java source code.
- 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(List<SpoonResource>, List<SpoonResource>) - Method in class spoon.Launcher
-
Creates a new Spoon Java compiler with a default factory and a list of
input and template sources.
- createConditional() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a conditional expression (boolExpr?
- createConditional() - Method in class spoon.support.DefaultCoreFactory
-
- createConstructor() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a constructor.
- createConstructor() - Method in class spoon.support.DefaultCoreFactory
-
- createContinue() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a continue
statement.
- createContinue() - Method in class spoon.support.DefaultCoreFactory
-
- createDefault(CtClass<T>) - Method in class spoon.reflect.factory.ConstructorFactory
-
Create the default empty constructor.
- createDo() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a do
loop.
- createDo() - Method in class spoon.support.DefaultCoreFactory
-
- createEnum() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an enum.
- createEnum() - Method in class spoon.support.DefaultCoreFactory
-
- createEnvironment() - Method in class spoon.Launcher
-
Creates a new default environment.
- createExecutableReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an executable reference.
- createExecutableReference() - Method in class spoon.support.DefaultCoreFactory
-
- createFactory() - Method in class spoon.Launcher
-
Creates a default Spoon factory, which holds the Java model (AST)
compiled from the source files and which can be processed by Spoon
processors.
- createFactory(Environment) - Method in class spoon.Launcher
-
Creates a default factory with the given environment.
- createField() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a field.
- createField() - Method in class spoon.support.DefaultCoreFactory
-
- createFieldAccess() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a field access expression.
- createFieldAccess() - Method in class spoon.support.DefaultCoreFactory
-
- createFieldReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a field reference.
- createFieldReference() - 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 class spoon.support.DefaultCoreFactory
-
- createForEach() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a foreach
loop.
- createForEach() - Method in class spoon.support.DefaultCoreFactory
-
- createIf() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an if
statement.
- createIf() - Method in class spoon.support.DefaultCoreFactory
-
- createImport(CtTypeReference<?>) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Creates an import for the given type.
- createImport(Class<?>) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Creates an import for the given type.
- createImport(CtFieldReference<?>) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Creates an import for the given field.
- createImport(CtPackageReference) - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Creates an import for the given package.
- createInterface() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an interface.
- createInterface() - 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() - Method in class spoon.support.DefaultCoreFactory
-
- createJavaFile(CtSimpleType<?>) - Method in class spoon.support.JavaOutputProcessor
-
Creates the Java file associated to the given element.
- 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() - 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.
- 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() - 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() - Method in class spoon.support.DefaultCoreFactory
-
- createMethod() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a method.
- createMethod() - Method in class spoon.support.DefaultCoreFactory
-
- createNewArray() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a new array expression.
- createNewArray() - Method in class spoon.support.DefaultCoreFactory
-
- createNewClass() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a new anonymous class expression.
- createNewClass() - Method in class spoon.support.DefaultCoreFactory
-
- createOperatorAssignment() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a new operator assignment (like +=).
- createOperatorAssignment() - Method in class spoon.support.DefaultCoreFactory
-
- createOutputWriter(File) - Method in class spoon.Launcher
-
- createPackage() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a package.
- createPackage() - Method in class spoon.support.DefaultCoreFactory
-
- createPackageReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a package reference.
- 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 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 class spoon.support.DefaultCoreFactory
-
- createPartialEvaluator() - Method in class spoon.reflect.factory.EvalFactory
-
Creates a partial evaluator on the Spoon meta-model.
- createPrettyPrinter() - Method in class spoon.Launcher
-
- 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(CtExecutable<T>) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference from an existing executable.
- createReference(CtTypeReference<?>, CtTypeReference<T>, String, CtTypeReference<?>...) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference.
- createReference(CtTypeReference<?>, boolean, CtTypeReference<T>, String, CtTypeReference<?>...) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference.
- createReference(CtTypeReference<?>, boolean, CtTypeReference<T>, String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference.
- createReference(CtTypeReference<?>, CtTypeReference<T>, String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference.
- createReference(String) - Method in class spoon.reflect.factory.ExecutableFactory
-
Creates an executable reference from its signature, as defined by the
executable reference's toString.
- createReference(CtField<T>) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field reference from an existing field.
- createReference(CtTypeReference<?>, CtTypeReference<T>, String) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field reference.
- createReference(Field) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field reference from a java.lang.reflect
field.
- createReference(String) - Method in class spoon.reflect.factory.FieldFactory
-
Creates a field reference from its signature, as defined by the field
reference's toString.
- createReference(CtMethod<T>) - Method in class spoon.reflect.factory.MethodFactory
-
Creates a method reference.
- createReference(Method) - Method in class spoon.reflect.factory.MethodFactory
-
Creates a method reference from an actual method.
- createReference(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
-
Creates a reference to a simple type
- createReference(CtSimpleType<T>) - 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 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 class spoon.support.DefaultCoreFactory
-
- createSourcePosition(CompilationUnit, int, int, int[]) - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a source position.
- createSourcePosition(CompilationUnit, int, int, int[]) - Method in 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() - Method in class spoon.support.DefaultCoreFactory
-
- createSuperAccess() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates an access expression to super.
- createSuperAccess() - Method in class spoon.support.DefaultCoreFactory
-
- createSwitch() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a switch
statement.
- createSwitch() - Method in class spoon.support.DefaultCoreFactory
-
- createSymbolicEvaluationPaths(Collection<CtMethod<?>>) - Method in class spoon.reflect.factory.EvalFactory
-
Gets the symbolic evaluation paths of the program, as calculated by
SymbolicEvaluator
.
- createSymbolicEvaluator(SymbolicEvaluatorObserver...) - Method in class spoon.reflect.factory.EvalFactory
-
Creates a symbolic evaluator on the Spoon meta-model.
- createSymbolicInstance(SymbolicEvaluator, CtTypeReference<T>, boolean) - Method in class spoon.reflect.factory.EvalFactory
-
Creates a new symbolic instance.
- createSynchronized() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a synchronized
statement.
- createSynchronized() - Method in class spoon.support.DefaultCoreFactory
-
- createThisAccess(CtTypeReference<T>) - 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() - Method in class spoon.support.DefaultCoreFactory
-
- createThrow() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a throw
statement.
- createThrow() - Method in class spoon.support.DefaultCoreFactory
-
- createTmpJavaFile(File) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- createTry() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a try
block.
- createTry() - Method in class spoon.support.DefaultCoreFactory
-
- createTypeParameter() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a type parameter.
- createTypeParameter(CtElement, String) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a type parameter with no bounds.
- createTypeParameter(CtElement, String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a type parameter.
- createTypeParameter() - Method in class spoon.support.DefaultCoreFactory
-
- createTypeParameterReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a type parameter reference.
- createTypeParameterReference(String) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a type parameter reference with no bounds.
- createTypeParameterReference(String, List<CtTypeReference<?>>) - Method in class spoon.reflect.factory.TypeFactory
-
Creates a type parameter reference.
- createTypeParameterReference() - Method in class spoon.support.DefaultCoreFactory
-
- createTypeReference() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a type reference.
- createTypeReference() - Method in class spoon.support.DefaultCoreFactory
-
- createUnaryOperator() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a unary operator expression.
- createUnaryOperator() - Method in class spoon.support.DefaultCoreFactory
-
- createVariableAccess(CtVariableReference<T>, boolean) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a variable access.
- createVariableAccess() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a variable access expression.
- createVariableAccess() - Method in class spoon.support.DefaultCoreFactory
-
- createVariableAccesses(List<? extends CtVariable<?>>) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a list of variable accesses.
- createVariableAssignment(CtVariableReference<A>, boolean, CtExpression<T>) - Method in class spoon.reflect.factory.CodeFactory
-
Creates a variable assignment (can be an expression or a statement).
- 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.
- createVirtualCompilationUnit() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a virtual compilation unit.
- createVirtualCompilationUnit() - Method in class spoon.support.DefaultCoreFactory
-
- createWhile() - Method in interface spoon.reflect.factory.CoreFactory
-
Creates a while
loop.
- createWhile() - Method in class spoon.support.DefaultCoreFactory
-
- CtAbstractInvocation<T> - Interface in spoon.reflect.code
-
This code element defines an abstract invocation on a
CtExecutable
.
- CtAbstractVisitor - Class in spoon.reflect.visitor
-
- CtAbstractVisitor() - Constructor for class spoon.reflect.visitor.CtAbstractVisitor
-
- CtAnnonTypeParameterReference - Interface in spoon.reflect.reference
-
- CtAnnotatedElementType - Enum in spoon.reflect.declaration
-
This enum specifies the element type which is annotated by the annotation
- CtAnnotation<A extends Annotation> - Interface in spoon.reflect.declaration
-
This element defines an annotation, declared on a given annotated element.
- CtAnnotationFieldAccesImpl<T> - Class in spoon.support.reflect.code
-
- CtAnnotationFieldAccesImpl() - Constructor for class spoon.support.reflect.code.CtAnnotationFieldAccesImpl
-
- CtAnnotationFieldAccess<T> - Interface in spoon.reflect.code
-
This code element defines an access to a annotation parameter variable.
- CtAnnotationImpl<A extends Annotation> - Class in spoon.support.reflect.declaration
-
- CtAnnotationImpl() - Constructor for class spoon.support.reflect.declaration.CtAnnotationImpl
-
- CtAnnotationType<T extends Annotation> - Interface in spoon.reflect.declaration
-
This element defines an annotation type.
- CtAnnotationTypeImpl<T extends Annotation> - Class in spoon.support.reflect.declaration
-
- 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
-
- 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
-
- CtAssert<T> - Interface in spoon.reflect.code
-
This code element defines an assert
clause.
- CtAssertImpl<T> - Class in spoon.support.reflect.code
-
- CtAssertImpl() - Constructor for class spoon.support.reflect.code.CtAssertImpl
-
- CtAssignment<T,A extends T> - Interface in spoon.reflect.code
-
This code element defines an assignment.
- CtAssignmentImpl<T,A extends T> - Class in spoon.support.reflect.code
-
- CtAssignmentImpl() - Constructor for class spoon.support.reflect.code.CtAssignmentImpl
-
- CtBinaryOperator<T> - Interface in spoon.reflect.code
-
This interface defines a binary operator.
- CtBinaryOperatorImpl<T> - Class in spoon.support.reflect.code
-
- CtBinaryOperatorImpl() - Constructor for class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- 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
-
- 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
.
- 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
-
- 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
-
- CtConditional<T> - Interface in spoon.reflect.code
-
This code element defines conditional expressions using the ?.
- 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.
- CtConstructorImpl<T> - Class in spoon.support.reflect.declaration
-
- CtConstructorImpl() - Constructor for class spoon.support.reflect.declaration.CtConstructorImpl
-
- 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
-
- 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).
- CtElementImpl - Class in spoon.support.reflect.declaration
-
- CtElementImpl() - Constructor for class spoon.support.reflect.declaration.CtElementImpl
-
- CtEnum<T extends Enum<?>> - Interface in spoon.reflect.declaration
-
This element represents an enumeration declaration.
- CtEnumImpl<T extends Enum<?>> - Class in spoon.support.reflect.declaration
-
- CtEnumImpl() - Constructor for class spoon.support.reflect.declaration.CtEnumImpl
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
loop (enhanced
for
).
- 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
-
- CtGenericElement - Interface in spoon.reflect.declaration
-
This abstract element defines a declaration that accepts formal type
parameters (aka generics).
- CtGenericElementReference - Interface in spoon.reflect.reference
-
- 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
-
- CtInheritanceScanner - Class in spoon.reflect.visitor
-
This class provides an abstract implementation of the visitor that allows its
subclasses to scans the metamodel elements by recursively using their
(abstract) supertype scanning methods.
- CtInheritanceScanner() - Constructor for class spoon.reflect.visitor.CtInheritanceScanner
-
Default constructor.
- CtInterface<T> - Interface in spoon.reflect.declaration
-
This element defines an interface declaration.
- CtInterfaceImpl<T> - Class in spoon.support.reflect.declaration
-
- CtInterfaceImpl() - Constructor for class spoon.support.reflect.declaration.CtInterfaceImpl
-
- 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
-
- CtLineElementComparator - Class in spoon.support.reflect.cu
-
Comparator of compile-time elements.
- CtLineElementComparator() - Constructor for class spoon.support.reflect.cu.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
-
- 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
-
- CtModifiable - Interface in spoon.reflect.declaration
-
This interface defines an element that accepts modifiers.
- CtNamedElement - Interface in spoon.reflect.declaration
-
This element defines a simple (relative) name.
- CtNamedElementImpl - Class in spoon.support.reflect.declaration
-
- CtNamedElementImpl() - Constructor for class spoon.support.reflect.declaration.CtNamedElementImpl
-
- CtNewArray<T> - Interface in spoon.reflect.code
-
This code element defines the 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.
- 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
-
- CtParameterReferenceImpl<T> - Class in spoon.support.reflect.reference
-
- CtParameterReferenceImpl() - Constructor for class spoon.support.reflect.reference.CtParameterReferenceImpl
-
- 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
-
- 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
-
- CtScanner - Class in spoon.reflect.visitor
-
This visitor implements a deep-search scan on the metamodel.
- CtScanner() - Constructor for class spoon.reflect.visitor.CtScanner
-
Default constructor.
- CtSimpleType<T> - Interface in spoon.reflect.declaration
-
This abstract element represents the types that can be declared in a Java
program.
- CtSimpleTypeImpl<T> - Class in spoon.support.reflect.declaration
-
- CtSimpleTypeImpl() - Constructor for class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- CtStackScanner - Class in spoon.reflect.visitor
-
This class defines a scanner that maintains a scanning stack for contextual
awareness.
- CtStackScanner() - Constructor for class spoon.reflect.visitor.CtStackScanner
-
Default constructor.
- CtStatement - Interface in spoon.reflect.code
-
This abstract code element represents all the statements, which can be part
of a block.
- CtStatementImpl - Class in spoon.support.reflect.code
-
- CtStatementImpl() - Constructor for class spoon.support.reflect.code.CtStatementImpl
-
- CtStatementList - Interface in spoon.reflect.code
-
This code element represents a list of statements.
- CtStatementListImpl<R> - Class in spoon.support.reflect.code
-
- CtStatementListImpl() - Constructor for class spoon.support.reflect.code.CtStatementListImpl
-
- CtSuperAccess<T> - Interface in spoon.reflect.code
-
This code element defines an access to super.
- CtSuperAccessImpl<T> - Class in spoon.support.reflect.code
-
- CtSuperAccessImpl() - Constructor for class spoon.support.reflect.code.CtSuperAccessImpl
-
- CtSwitch<S> - Interface in spoon.reflect.code
-
This code element defines a switch
statement.
- CtSwitchImpl<S> - Class in spoon.support.reflect.code
-
- CtSwitchImpl() - Constructor for class spoon.support.reflect.code.CtSwitchImpl
-
- CtSynchronized - Interface in spoon.reflect.code
-
This code element defines a synchronized
statement.
- CtSynchronizedImpl - Class in spoon.support.reflect.code
-
- CtSynchronizedImpl() - Constructor for class spoon.support.reflect.code.CtSynchronizedImpl
-
- CtTargetedAccess<T> - Interface in spoon.reflect.code
-
This code element defines an access to a target.
- CtTargetedAccessImpl<T> - Class in spoon.support.reflect.code
-
- CtTargetedAccessImpl() - Constructor for class spoon.support.reflect.code.CtTargetedAccessImpl
-
- CtTargetedExpression<T,E extends CtExpression<?>> - Interface in spoon.reflect.code
-
This abstract code element defines an expression which contains a target
expression.
- CtTargetedExpressionImpl<E,T extends CtExpression<?>> - Class in spoon.support.reflect.code
-
- CtTargetedExpressionImpl() - Constructor for class spoon.support.reflect.code.CtTargetedExpressionImpl
-
- CtThisAccess<T> - Interface in spoon.reflect.code
-
This code element defines an access to this.
- CtThisAccessImpl<T> - Class in spoon.support.reflect.code
-
- CtThisAccessImpl() - Constructor for class spoon.support.reflect.code.CtThisAccessImpl
-
- CtThrow - Interface in spoon.reflect.code
-
This code element defines a throw
statement.
- CtThrowImpl - Class in spoon.support.reflect.code
-
- CtThrowImpl() - Constructor for class spoon.support.reflect.code.CtThrowImpl
-
- CtTry - Interface in spoon.reflect.code
-
This code element defines a try
statement.
- CtTryImpl - Class in spoon.support.reflect.code
-
- CtTryImpl() - Constructor for class spoon.support.reflect.code.CtTryImpl
-
- CtType<T> - Interface in spoon.reflect.declaration
-
This abstract element defines a super-type for classes and interfaces, which
can declare methods.
- CtTypedElement<T> - Interface in spoon.reflect.declaration
-
This abstract element defines a typed element.
- CtTypeImpl<T> - Class in spoon.support.reflect.declaration
-
The implementation for
CtType
.
- CtTypeImpl() - Constructor for class spoon.support.reflect.declaration.CtTypeImpl
-
- CtTypeParameter - Interface in spoon.reflect.declaration
-
This element defines 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
-
- 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
-
- 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
-
- CtUncomparableException - Exception in spoon.support.reflect.declaration
-
- CtUncomparableException() - Constructor for exception spoon.support.reflect.declaration.CtUncomparableException
-
- CtUncomparableException(String) - Constructor for exception spoon.support.reflect.declaration.CtUncomparableException
-
- CtUncomparableException(Throwable) - Constructor for exception spoon.support.reflect.declaration.CtUncomparableException
-
- 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.
- CtVariableAccessImpl<T> - Class in spoon.support.reflect.code
-
- CtVariableAccessImpl() - Constructor for class spoon.support.reflect.code.CtVariableAccessImpl
-
- 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
-
- 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
-
- generateProcessedSourceFiles(OutputType) - Method in interface spoon.compiler.SpoonCompiler
-
Generates the source code associated to the classes stored in this
compiler's factory.
- generateProcessedSourceFiles(OutputType) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- generateProcessedSourceFilesUsingCUs() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- generateProcessedSourceFilesUsingTypes() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- get(Class<T>, String) - Method in interface spoon.processing.ProcessorProperties
-
Gets the property converted in given type or null (can be an array).
- get(String) - Method in class spoon.reflect.eval.SymbolicEvaluationStep
-
Gets a symbolic instance from its id at the current evaluation step.
- get(String) - Method in class spoon.reflect.eval.SymbolicHeap
-
Gets an existing symbolic instance from its id.
- 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 created package.
- get(String) - Method in class spoon.reflect.factory.TypeFactory
-
Gets a created type from its qualified name.
- get(Class<?>) - Method in class spoon.reflect.factory.TypeFactory
-
Gets a type from its runtime Java class.
- get(Class<T>, String) - Method in class spoon.support.processing.XmlProcessorProperties
-
- getAbstractCause() - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- 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.CtLocalVariableReferenceImpl
-
- getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
-
- getActualAnnotatedElement() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
-
- 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
-
- 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.CtSimpleType
-
Returns the actual runtime class if exists.
- getActualClass() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the Java runtime class of the referenced type.
- getActualClass() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getActualClass() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- getActualClass() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- getActualClass() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getActualConstructor() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Gets the runtime constructor that corresponds to an executable reference
if any.
- getActualConstructor() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- 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.reference.CtGenericElementReference
-
Gets the type arguments.
- getActualTypeArguments() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getActualTypeArguments() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getAdded() - Method in class spoon.reflect.Changes
-
Gets the list of elements added in the model.
- getAll() - Method in class spoon.reflect.factory.PackageFactory
-
Gets the list of all created packages.
- getAll() - Method in class spoon.reflect.factory.TypeFactory
-
Gets the list of all top-level created types.
- getAll(boolean) - Method in class spoon.reflect.factory.TypeFactory
-
Gets the list of all created types.
- getAllExecutables() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the executables declared by this type and by all its supertypes if
applicable.
- getAllExecutables() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getAllFields() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the fields declared by this type and by all its supertypes if
applicable.
- 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').
- 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
-
- 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
-
- getAllMethods() - Method in interface spoon.reflect.declaration.CtType
-
Return all the accessible methods for this type (the recursion stops when
the super-type is not in the model).
- getAllMethods() - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- getAllMethods() - Method in class spoon.support.reflect.declaration.CtEnumImpl
-
- getAllMethods() - Method in class spoon.support.reflect.declaration.CtInterfaceImpl
-
- 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').
- getAllRoots() - Method in class spoon.reflect.factory.PackageFactory
-
Gets the list of all created root packages
- 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
-
- getAnnotation(Class<A>) - Method in interface spoon.reflect.declaration.CtElement
-
Searches for an annotation (proxy) 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 interface spoon.reflect.reference.CtReference
-
Searches for an annotation (proxy) of the given class that annotates the
current referenced element.
- getAnnotation(CtTypeReference<A>) - Method in interface spoon.reflect.reference.CtReference
-
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
-
- getAnnotation(Class<A>) - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- getAnnotation(CtTypeReference<A>) - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- getAnnotation(Class<A>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- getAnnotation(Class<A>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getAnnotations() - Method in interface spoon.reflect.declaration.CtElement
-
Returns the annotations that are present on this element.
- getAnnotations() - Method in interface spoon.reflect.reference.CtReference
-
Returns the annotations that are present on this element.
- getAnnotations() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getAnnotations() - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- 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.eval.SymbolicStackFrame
-
Return the arguments (also present in the variables).
- getArguments() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- getArguments() - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- 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 (a variable, an array access...).
- getAssigned() - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- getAssignment() - Method in interface spoon.reflect.code.CtAssignment
-
Returns the assignment that is set to the assigned expression.
- getAssignment() - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- getBlock() - Method in interface spoon.reflect.code.CtSynchronized
-
Gets the synchronized block.
- getBlock() - Method in class spoon.support.reflect.code.CtSynchronizedImpl
-
- getBlock(CtClass<? extends BlockTemplate>) - Static method in class spoon.template.BlockTemplate
-
Returns the block.
- getBody() - Method in interface spoon.reflect.code.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
-
Sets the tried body.
- getBody() - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
-
Gets the executable block.
- 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.CtLoopImpl
-
- getBody() - Method in class spoon.support.reflect.code.CtTryImpl
-
- getBody() - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- getBody() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- getBoundedTypeReference(TypeBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getBoundedTypesReferences(TypeBinding[]) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getBounds() - Method in interface spoon.reflect.declaration.CtTypeParameter
-
Returns the bounds of this type parameter.
- getBounds() - Method in interface spoon.reflect.reference.CtTypeParameterReference
-
Gets the bounds (aka generics) of the referenced parameter.
- getBounds() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
-
- getBounds() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- getCaller() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the calling instance if applicable.
- getCallingStack() - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Constructs and returns the calling stack for this evaluation stack.
- getCaseExpression() - Method in interface spoon.reflect.code.CtCase
-
Gets the case expression.
- getCaseExpression() - Method in class spoon.support.reflect.code.CtCaseImpl
-
- getCases() - Method in interface spoon.reflect.code.CtSwitch
-
Gets the list of cases defined for this switch.
- getCases() - Method in class spoon.support.reflect.code.CtSwitchImpl
-
- getCatchers() - Method in interface spoon.reflect.code.CtTry
-
Gets the catchers of this try
.
- getCatchers() - Method in class spoon.support.reflect.code.CtTryImpl
-
- getClassLoader() - Method in interface spoon.compiler.Environment
-
Returns a ClassLoader
which is able to load classes from the
class path returned by getSourceClassPath()
- getClassLoader() - Method in class spoon.support.StandardEnvironment
-
- getClone() - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets a copy of this instance (if the instance is stateless, returns
this).
- getColumn() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the column in the source file (1 indexed).
- getColumn() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getColumnCount() - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- getColumnName(int) - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- getComparator() - Method in class spoon.support.util.SortedList
-
- getCompilationUnit() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the compilation unit for this position.
- getCompilationUnit() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getCompilationUnitInputStream(String) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getCompilationUnits(List<SpoonFile>, Factory) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getComplianceLevel() - Method in interface spoon.compiler.Environment
-
Gets the Java version compliance level.
- getComplianceLevel() - Method in class spoon.support.StandardEnvironment
-
- getComponentType() - Method in interface spoon.reflect.reference.CtArrayTypeReference
-
Gets the type of the elements contained in this array.
- getComponentType() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- getConcreteType() - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the type of the abstract instance.
- getCondition() - Method in interface spoon.reflect.code.CtConditional
-
Gets the condition expression.
- getCondition() - Method in interface spoon.reflect.code.CtIf
-
Gets the boolean expression that represents the if
's
condition.
- getCondition() - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- getCondition() - Method in class spoon.support.reflect.code.CtIfImpl
-
- getConstructor(CtTypeReference<?>...) - Method in interface spoon.reflect.declaration.CtClass
-
Returns the constructor of the class that takes the given argument types.
- getConstructor(CtTypeReference<?>...) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- getConstructors() - Method in interface spoon.reflect.declaration.CtClass
-
Returns the constructors of this class.
- getConstructors() - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- getConsumedAnnotationTypes() - Method in class spoon.processing.AbstractAnnotationProcessor
-
- getConsumedAnnotationTypes() - Method in interface spoon.processing.AnnotationProcessor
-
Gets the annotations types consumed by this processor.
- getContent() - Method in interface spoon.compiler.SpoonFile
-
Gets the file content as a stream.
- getContent() - Method in class spoon.support.compiler.FileSystemFile
-
- getContent() - Method in class spoon.support.compiler.VirtualFile
-
- getContent() - Method in class spoon.support.compiler.ZipFile
-
- getContents() - Method in class spoon.support.util.BasicCompilationUnit
-
- getContext() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- getCreatedFiles() - Method in interface spoon.processing.FileGenerator
-
Gets the created files.
- getCreatedFiles() - Method in class spoon.support.JavaOutputProcessor
-
- getCreatedTypes() - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.BuilderContext
-
- getCreatedTypes() - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
- getCurrentProcessor() - Method in interface spoon.processing.ProcessingManager
-
Gets the processor which is currently achieving the processing task if
any.
- getCurrentProcessor() - Method in class spoon.support.QueueProcessingManager
-
- getCurrentProcessor() - Method in class spoon.support.RuntimeProcessingManager
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtExecutableReference
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtFieldReference
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtLocalVariableReference
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtPackageReference
-
Gets the package element when available in the source code.
- getDeclaration() - Method in interface spoon.reflect.reference.CtParameterReference
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtReference
-
Tries to get the declaration that corresponds to the referenced element.
- getDeclaration() - Method in interface spoon.reflect.reference.CtTypeReference
-
- getDeclaration() - Method in interface spoon.reflect.reference.CtVariableReference
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtPackageReferenceImpl
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
-
- getDeclaration() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getDeclaredExecutables() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the executables declared by this type if applicable.
- getDeclaredExecutables() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getDeclaredFields() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the fields declared by this type.
- getDeclaredFields() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getDeclaredTypes() - Method in interface spoon.reflect.cu.CompilationUnit
-
Gets all the types declared in this compilation unit.
- getDeclaredTypes() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getDeclaringExecutable() - Method in interface spoon.reflect.reference.CtParameterReference
-
Gets the declaring executable of the referenced parameter.
- getDeclaringExecutable() - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
-
- getDeclaringPackage() - Method in interface spoon.reflect.declaration.CtPackage
-
Gets the declaring package of the current one.
- getDeclaringPackage() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getDeclaringType() - Method in interface spoon.reflect.declaration.CtConstructor
-
Returns the declaring type of this constructor (always the same as the
constructor's type).
- getDeclaringType() - Method in interface spoon.reflect.declaration.CtExecutable
-
Gets the declaring type
- getDeclaringType() - Method in interface spoon.reflect.declaration.CtField
-
Gets the type that declares this field.
- getDeclaringType() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Gets the type where this one is declared.
- getDeclaringType() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Gets the reference to the type that declares this executable.
- getDeclaringType() - Method in interface spoon.reflect.reference.CtFieldReference
-
Gets the type in which the field is declared.
- getDeclaringType() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the type that declares the referenced type.
- getDeclaringType() - Method in class spoon.support.reflect.declaration.CtConstructorImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.declaration.CtMethodImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- getDeclaringType() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getDeclaringTypeName(String) - Method in class spoon.reflect.factory.TypeFactory
-
Gets the declaring type name for a given Java qualified name.
- getDefaultExpression() - Method in interface spoon.reflect.declaration.CtVariable
-
Gets the initialization expression assigned to the variable (also known
as the initializer), when declared.
- getDefaultExpression() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getDefaultExpression() - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- getDefaultExpression() - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- getDefaultFileGenerator() - Method in interface spoon.compiler.Environment
-
Returns the default file generator for this environment (gives the
default output directory for the created files).
- getDefaultFileGenerator() - Method in class spoon.support.StandardEnvironment
-
- getDescription() - Method in interface spoon.processing.ProblemFixer
-
Returns the description of this fixer
- getDestinationDirectory() - Method in interface spoon.compiler.SpoonCompiler
-
Gets the output directory of this compiler.
- getDestinationDirectory() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getDimensionCount() - Method in interface spoon.reflect.reference.CtArrayTypeReference
-
Returns the number of dimensions of this array type.
- getDimensionCount() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- getDimensionExpressions() - Method in interface spoon.reflect.code.CtNewArray
-
Gets the expressions that define the array's dimensions.
- getDimensionExpressions() - Method in class spoon.support.reflect.code.CtNewArrayImpl
-
- getDocComment() - Method in interface spoon.reflect.declaration.CtElement
-
Returns the text of the documentation ("javadoc") comment of this
element.
- getDocComment() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getElement() - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- getElements() - Method in interface spoon.reflect.code.CtNewArray
-
Gets the initialization expressions.
- getElements(Filter<E>) - Method in interface spoon.reflect.declaration.CtElement
-
- getElements(Factory, Filter<E>) - Static method in class spoon.reflect.visitor.Query
-
Within a given factory, returns all the program elements that match the
filter.
- getElements(CtElement, Filter<E>) - Static method in class spoon.reflect.visitor.Query
-
Returns all the program elements that match the filter.
- getElements() - Method in class spoon.support.reflect.code.CtNewArrayImpl
-
- getElements(Filter<E>) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getElementValue(String) - Method in interface spoon.reflect.declaration.CtAnnotation
-
Gets a value for a given key (with conversion if needed).
- getElementValue(String) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
-
- getElementValues() - Method in interface spoon.reflect.declaration.CtAnnotation
-
Returns this annotation's elements and their values.
- getElementValues() - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
-
- getElseExpression() - Method in interface spoon.reflect.code.CtConditional
-
Gets the "false" expression.
- getElseExpression() - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- getElseStatement() - Method in interface spoon.reflect.code.CtIf
-
Gets the statement executed when the condition is false.
- getElseStatement() - Method in class spoon.support.reflect.code.CtIfImpl
-
- getEncoding() - Method in interface spoon.compiler.SpoonCompiler
-
Gets the encoding used by this compiler.
- getEncoding() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getEndColumn() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the end column in the source file (1 indexed).
- getEndColumn() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getEndLine() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the end line in the source file (1 indexed).
- getEndLine() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getEnterSteps() - Method in class spoon.reflect.eval.SymbolicEvaluationPath
-
Returns a new symbolic evaluation path that only contains the
StepKind.ENTER
steps of this current path.
- getEnum(Class<T>) - Method in class spoon.reflect.factory.EnumFactory
-
Gets a class from its runtime Java class.
- getEnvironment() - Method in class spoon.processing.AbstractManualProcessor
-
- getEnvironment() - Method in class spoon.processing.AbstractProcessor
-
- getEnvironment() - Method in interface spoon.processing.Processor
-
Gets the environment of this processor.
- getEnvironment() - Method in interface spoon.reflect.factory.Factory
-
- getEnvironment() - Method in class spoon.reflect.factory.FactoryImpl
-
Gets the Spoon environment that encloses this factory.
- getEnvironment() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getErrorCount() - Method in interface spoon.compiler.Environment
-
Gets the error count from building, processing, and compiling within this
environment.
- getErrorCount() - Method in class spoon.support.StandardEnvironment
-
- getExecutable() - Method in interface spoon.reflect.code.CtAbstractInvocation
-
Returns the invoked executable.
- getExecutable() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the executable of the frame.
- getExecutable() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- getExecutable() - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- getExecutableReference(MethodBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getExitSteps() - Method in class spoon.reflect.eval.SymbolicEvaluationPath
-
Returns a new symbolic evaluation path that only contains the
StepKind.EXIT
steps of this current path.
- getExpression() - Method in interface spoon.reflect.code.CtAssert
-
Gets the expression of the assertion if defined.
- getExpression() - Method in interface spoon.reflect.code.CtFor
-
Gets the end-loop test expression.
- getExpression() - Method in interface spoon.reflect.code.CtForEach
-
Gets the iterated expression (an iterable of an array).
- getExpression() - Method in interface spoon.reflect.code.CtSynchronized
-
Gets the expression that defines the monitored object if any.
- getExpression() - Method in class spoon.support.reflect.code.CtAssertImpl
-
- getExpression() - Method in class spoon.support.reflect.code.CtForEachImpl
-
- getExpression() - Method in class spoon.support.reflect.code.CtForImpl
-
- getExpression() - Method in class spoon.support.reflect.code.CtSynchronizedImpl
-
- getExpression(CtClass<? extends ExpressionTemplate<?>>) - Static method in class spoon.template.ExpressionTemplate
-
Returns the expression.
- getFactory() - Method in class spoon.Launcher
-
returns the current factory
- getFactory() - Method in class spoon.processing.AbstractManualProcessor
-
- getFactory() - Method in class spoon.processing.AbstractProblemFixer
-
- getFactory() - Method in class spoon.processing.AbstractProcessor
-
- getFactory() - Method in interface spoon.processing.FactoryAccessor
-
Gets the factory of this object.
- getFactory() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getFactory() - Method in class spoon.support.QueueProcessingManager
-
- getFactory() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getFactory() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getFactory() - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- getFactory() - Method in class spoon.support.RuntimeProcessingManager
-
- getFactory() - Method in class spoon.support.StandardEnvironment
-
- getField(String) - Method in interface spoon.reflect.declaration.CtSimpleType
-
Gets a field from its name.
- getField(String) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getFields() - Method in interface spoon.reflect.declaration.CtClass
-
Gets the fields defined by this class.
- getFields() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Returns the fields that are directly declared by this class or interface.
- getFields() - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the fields for this instance.
- getFields() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getFieldValue(CtVariableReference<?>) - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the value of a field belonging to this instance, as an abstract
instance id.
- getFieldValue(String) - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the value of a field belonging to this instance and identified by
its name, as an abstract instance id.
- getFile() - Method in interface spoon.reflect.cu.CompilationUnit
-
Gets the file that corresponds to this compilation unit if any (contains
the source code).
- getFile() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the file for this position.
- getFile() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getFile() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getFileName() - Method in class spoon.support.util.BasicCompilationUnit
-
- getFiles() - Method in interface spoon.compiler.SpoonFolder
-
Gets all the files (excluding folders) in the folder.
- getFiles() - Method in class spoon.support.compiler.FileSystemFolder
-
- getFiles() - Method in class spoon.support.compiler.VirtualFolder
-
- getFiles() - Method in class spoon.support.compiler.ZipFolder
-
- getFileSystemParent() - Method in interface spoon.compiler.SpoonResource
-
Gets the parent of this resource on the file system.
- getFileSystemParent() - Method in class spoon.support.compiler.FileSystemFile
-
- getFileSystemParent() - Method in class spoon.support.compiler.FileSystemFolder
-
- getFileSystemParent() - Method in class spoon.support.compiler.VirtualFile
-
- getFileSystemParent() - Method in class spoon.support.compiler.VirtualFolder
-
- getFileSystemParent() - Method in class spoon.support.compiler.ZipFile
-
- getFileSystemParent() - Method in class spoon.support.compiler.ZipFolder
-
- getFinalizer() - Method in interface spoon.reflect.code.CtTry
-
Gets the finalizer block of this try
(
finally
part).
- getFinalizer() - Method in class spoon.support.reflect.code.CtTryImpl
-
- getFinds() - Method in class spoon.template.TemplateMatcher
-
Returns all the elements that correspond to a given template.
- getForInit() - Method in interface spoon.reflect.code.CtFor
-
Gets the init statements.
- getForInit() - Method in class spoon.support.reflect.code.CtForImpl
-
- getFormalTypeParameters() - Method in interface spoon.reflect.declaration.CtGenericElement
-
Returns the formal type parameters of this generic element.
- getFormalTypeParameters() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- getFormalTypeParameters() - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getForUpdate() - Method in interface spoon.reflect.code.CtFor
-
Gets the update statements.
- getForUpdate() - Method in class spoon.support.reflect.code.CtForImpl
-
- getFrame() - Method in class spoon.reflect.eval.SymbolicEvaluationStep
-
Gets the stack frame that corresponds to this state.
- getFrameStack() - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Gets the frames as a stack.
- getGenericTypes() - Method in interface spoon.reflect.code.CtInvocation
-
- getGenericTypes() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- getHeap() - Method in class spoon.reflect.eval.SymbolicEvaluationStep
-
Gets the heap that corresponds to this state.
- getHeap() - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Gets the heap of the current symbolic evaluation step.
- getHeap() - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- getId() - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the unique Id of this abstract instance.
- getIgnoreGenerics() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter.Printingcontext
-
- getIgnoreImport() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter.Printingcontext
-
- getImports() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
Gets the imports.
- getIndex(CtExpression<?>) - Static method in class spoon.support.template.Parameters
-
Gets the index of a one-dimension array (helper).
- getIndexExpression() - Method in interface spoon.reflect.code.CtArrayAccess
-
Returns the expression that defines the index.
- getIndexExpression() - Method in class spoon.support.reflect.code.CtArrayAccessImpl
-
- getIndexExpressions() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- getInputClassLoader() - Method in interface spoon.compiler.Environment
-
Gets the class loader used to compile/process the input source code.
- getInputClassLoader() - Method in class spoon.support.StandardEnvironment
-
- getInputSources() - Method in interface spoon.compiler.SpoonCompiler
-
- getInputSources() - Method in class spoon.Launcher
-
Gets the list of input sources as files.
- getInputSources() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getInvocation() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the parent invocation of this frame.
- getJavaDoc(Javadoc, CompilationUnitDeclaration) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
- getKind() - Method in interface spoon.reflect.code.CtBinaryOperator
-
Gets the kind of this binary operator.
- getKind() - Method in interface spoon.reflect.code.CtOperatorAssignment
-
Gets the operator kind.
- getKind() - Method in interface spoon.reflect.code.CtUnaryOperator
-
Gets the kind of this operator.
- getKind() - Method in class spoon.reflect.eval.SymbolicEvaluationStep
-
Gets the step kind.
- getKind() - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- getKind() - Method in class spoon.support.reflect.code.CtOperatorAssignmentImpl
-
- getKind() - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- getLabel() - Method in interface spoon.processing.ProblemFixer
-
Returns a short String that represent this fixer.
- getLabel() - Method in interface spoon.reflect.code.CtStatement
-
Gets the label of this statement if defined.
- getLabel() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- getLabel() - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- getLabel() - Method in class spoon.support.reflect.code.CtStatementImpl
-
- getLabel() - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- getLabel() - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- getLabelledStatement() - Method in interface spoon.reflect.code.CtContinue
-
Gets the statement where the control flow continues (null if no label
defined).
- getLabelledStatement() - Method in class spoon.support.reflect.code.CtContinueImpl
-
- getLastStatement() - Method in interface spoon.reflect.code.CtBlock
-
Gets the last statement of this block.
- getLastStatement() - Method in class spoon.support.reflect.code.CtBlockImpl
-
- getLauchingFactory() - Static method in class spoon.reflect.factory.FactoryImpl
-
Gets the factory that was created at launching time (the firstly created
factory).
- getLeftHandOperand() - Method in interface spoon.reflect.code.CtBinaryOperator
-
Returns the left-hand operand.
- getLeftHandOperand() - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- getLine() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the line in the source file (1 indexed).
- getLine() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getLineNumberMapping() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- getLineNumberMapping() - Method in class spoon.reflect.visitor.FragmentDrivenJavaPrettyPrinter
-
- getLineNumberMapping() - Method in interface spoon.reflect.visitor.PrettyPrinter
-
Gets the line number mapping between the generated code and the original
code.
- getLineNumberMappings() - Method in class spoon.support.JavaOutputProcessor
-
- getLocalVariableDeclaration(String) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
- getLoopingExpression() - Method in interface spoon.reflect.code.CtDo
-
Returns the looping test as a boolean expression.
- getLoopingExpression() - Method in interface spoon.reflect.code.CtWhile
-
Gets the looping boolean test expression.
- getLoopingExpression() - Method in class spoon.support.reflect.code.CtDoImpl
-
- getLoopingExpression() - Method in class spoon.support.reflect.code.CtWhileImpl
-
- getMainFactory() - Method in interface spoon.reflect.factory.CoreFactory
-
Gets the main factory of that core factory (cannot be null
).
- getMainFactory() - Method in class spoon.support.DefaultCoreFactory
-
- getMainMethods() - Method in class spoon.reflect.factory.MethodFactory
-
Gets all the main methods stored in this factory.
- getMainType() - Method in interface spoon.reflect.cu.CompilationUnit
-
Searches and returns the main type (the type which has the same name as
the file).
- getMainType() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getMainTypeName() - Method in class spoon.support.util.BasicCompilationUnit
-
- getManager() - Method in interface spoon.compiler.Environment
-
Gets the processing manager.
- getManager() - Method in class spoon.support.StandardEnvironment
-
- getManualImports() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getMap() - Method in class spoon.reflect.factory.CompilationUnitFactory
-
Gets the compilation unit map.
- getMatches() - Method in class spoon.template.TemplateMatcher
-
Returns all the matches in a map where the keys are the corresponding
template parameters.
- getMethod(CtTypeReference<R>, String, CtTypeReference<?>...) - Method in interface spoon.reflect.declaration.CtType
-
Gets a method from its return type, name, and parameter types.
- getMethod(String, CtTypeReference<?>...) - Method in interface spoon.reflect.declaration.CtType
-
Gets a method from its name and parameter types.
- getMethod(CtTypeReference<R>, String, CtTypeReference<?>...) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getMethod(String, CtTypeReference<?>...) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getMethods() - Method in interface spoon.reflect.declaration.CtType
-
Returns the methods that are directly declared by this class or
interface.
- getMethods() - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getMethodsAnnotatedWith(CtTypeReference<?>...) - Method in interface spoon.reflect.declaration.CtType
-
Returns the methods that are directly declared by this class or
interface and annotated with one of the given annotations.
- getMethodsAnnotatedWith(CtTypeReference<?>...) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getMethodsByName(String) - Method in interface spoon.reflect.declaration.CtType
-
Returns the methods that are directly declared by this class or
interface and that have the given name.
- getMethodsByName(String) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getModified() - Method in class spoon.reflect.Changes
-
Gets the list of updated elements.
- getModifiers() - Method in interface spoon.reflect.declaration.CtModifiable
-
Returns the modifiers of this element, excluding annotations.
- getModifiers(int) - Static method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
- getModifiers() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getModifiers() - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- getModifiers() - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- getModifiers() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getModifiers() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- getModifiers() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getModifiers() - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
-
- getModifiers(int) - Static method in class spoon.support.util.RtHelper
-
Return the set of modifiers defined by the modifiers integer
(java.lang.reflect).
- getName() - Method in interface spoon.compiler.SpoonResource
-
Gets the name of this resource.
- getName() - Method in interface spoon.reflect.declaration.CtTypeParameter
-
Returns the name of this type parameter.
- getName() - Method in class spoon.support.compiler.FileSystemFile
-
- getName() - Method in class spoon.support.compiler.FileSystemFolder
-
- getName() - Method in class spoon.support.compiler.VirtualFile
-
- getName() - Method in class spoon.support.compiler.VirtualFolder
-
- getName() - Method in class spoon.support.compiler.ZipFile
-
- getName() - Method in class spoon.support.compiler.ZipFolder
-
- getName() - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
-
- getName() - Method in class spoon.support.util.Timer
-
Gets this timer's name.
- getNames(CtClass<? extends Template>) - Static method in class spoon.support.template.Parameters
-
Gets the names of all the template parameters of a given template type
(including the ones defined by the super types).
- getNestedType(String) - Method in interface spoon.reflect.declaration.CtSimpleType
-
Gets a nested type from its name.
- getNestedType(String) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getNestedTypes() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Returns the declarations of the nested classes and interfaces that are
directly declared by this class or interface.
- getNestedTypes() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getOperand() - Method in interface spoon.reflect.code.CtUnaryOperator
-
Gets the expression to which the operator is applied.
- getOperand() - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- getOrCreate(String) - Method in class spoon.reflect.factory.PackageFactory
-
Gets or creates a package.
- getOriginalSourceCode() - Method in interface spoon.reflect.cu.CompilationUnit
-
Gets the original source code as a string.
- getOriginalSourceCode() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getOriginalSourceCode() - Method in class spoon.support.reflect.declaration.CompilationUnitVirtualImpl
-
- getOutputDirectory() - Method in interface spoon.compiler.SpoonCompiler
-
Gets the output directory of this compiler.
- getOutputDirectory() - Method in interface spoon.processing.FileGenerator
-
Gets the root directory where files are created.
- getOutputDirectory() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getOutputDirectory() - Method in class spoon.support.JavaOutputProcessor
-
- getOverridingExecutable() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Returns the executable overridden by this one, if exists (null otherwise).
- getOverridingExecutable(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Gets an overriding executable for this executable from a given subtype,
if exists.
- getOverridingExecutable(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getOverridingExecutable() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getOwnerClass() - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
-
Gets the class that defines this element.
- getOwnerClass() - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- getPackage(String) - Method in interface spoon.reflect.declaration.CtPackage
-
Searches a child package by name.
- getPackage() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Gets the package where this type is declared.
- getPackage() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the package of the referenced type.
- getPackage(String) - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getPackage() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getPackage() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getPackageDeclaration() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- getPackageDeclaration() - Method in class spoon.reflect.visitor.FragmentDrivenJavaPrettyPrinter
-
- getPackageDeclaration() - Method in interface spoon.reflect.visitor.PrettyPrinter
-
Gets the package declaration contents.
- getPackageName(String) - Method in class spoon.reflect.factory.TypeFactory
-
Gets the package name for a given Java qualified name.
- getPackageName() - Method in class spoon.support.util.BasicCompilationUnit
-
- getPackageReference(PackageBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getPackages() - Method in interface spoon.reflect.declaration.CtPackage
-
Gets the set of included child packages.
- getPackages() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getParameter() - Method in interface spoon.reflect.code.CtCatch
-
Gets the catch's parameter (a throwable).
- getParameter() - Method in class spoon.support.reflect.code.CtCatchImpl
-
- getParameterField(CtClass<? extends Template>, String) - Static method in class spoon.support.template.Parameters
-
- getParameters() - Method in interface spoon.reflect.declaration.CtExecutable
-
Gets the parameters list.
- getParameters() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- getParameterTypes() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Gets the list of the executable's parameter types.
- getParameterTypes() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getParent() - Method in interface spoon.compiler.SpoonResource
-
Gets the folder that contains this resource.
- getParent() - Method in interface spoon.reflect.declaration.CtElement
-
Gets the parent of current element, which can be null.
- getParent(Class<P>) - Method in interface spoon.reflect.declaration.CtElement
-
Gets the first parent that matches the given type.
- getParent() - Method in interface spoon.reflect.declaration.CtParameter
-
Gets the executable that is the parent declaration of this parameter
declaration.
- getParent() - Method in class spoon.support.compiler.FileSystemFile
-
- getParent() - Method in class spoon.support.compiler.FileSystemFolder
-
- getParent() - Method in class spoon.support.compiler.VirtualFile
-
- getParent() - Method in class spoon.support.compiler.VirtualFolder
-
- getParent() - Method in class spoon.support.compiler.ZipFile
-
- getParent() - Method in class spoon.support.compiler.ZipFolder
-
- getParent() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getParent(Class<P>) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getParent() - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- getParentFactory() - Method in class spoon.reflect.factory.FactoryImpl
-
Returns the parent of this factory.
- getParentNoExceptions() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getPath() - Method in interface spoon.compiler.SpoonResource
-
Gets this resource path.
- getPath() - Method in class spoon.support.compiler.FileSystemFile
-
- getPath() - Method in class spoon.support.compiler.FileSystemFolder
-
- getPath() - Method in class spoon.support.compiler.VirtualFile
-
- getPath() - Method in class spoon.support.compiler.VirtualFolder
-
- getPath() - Method in class spoon.support.compiler.ZipFile
-
- getPath() - Method in class spoon.support.compiler.ZipFolder
-
- getPaths() - Method in class spoon.reflect.eval.observer.SymbolicEvaluationPathsMaker
-
Get the paths that where constructed during the evaluation of the
observed evaluator.
- getPosition() - Method in interface spoon.reflect.declaration.CtElement
-
Gets the position of this element in input source files
- getPosition() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getPosition() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getProblems() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getProcessedAnnotationTypes() - Method in class spoon.processing.AbstractAnnotationProcessor
-
- getProcessedAnnotationTypes() - Method in interface spoon.processing.AnnotationProcessor
-
- getProcessedElementTypes() - Method in class spoon.processing.AbstractManualProcessor
-
Invalid method in this context.
- getProcessedElementTypes() - Method in class spoon.processing.AbstractProcessor
-
- getProcessedElementTypes() - Method in interface spoon.processing.Processor
-
Gets all the element types than need to be processed.
- getProcessor() - Method in class spoon.support.visitor.ProcessingVisitor
-
- getProcessorName() - Method in interface spoon.processing.ProcessorProperties
-
Gets the corresponding processor name.
- getProcessorName() - Method in class spoon.support.processing.XmlProcessorProperties
-
- getProcessorProperties(String) - Method in interface spoon.compiler.Environment
-
Returns the properties for a given processor.
- getProcessorProperties(String) - Method in class spoon.support.StandardEnvironment
-
- getProcessors() - Method in interface spoon.processing.ProcessingManager
-
Gets the processors that have been added to the manager and that will be
applied when invoking one of the process
methods).
- getProcessors() - Method in class spoon.support.QueueProcessingManager
-
- getProcessors() - Method in class spoon.support.RuntimeProcessingManager
-
- getProcessorTypes() - Method in class spoon.Launcher
-
Gets the list of processor types to be initially applied during the
processing (-p option).
- getQualifiedName() - Method in interface spoon.reflect.declaration.CtPackage
-
Returns the fully qualified name of this package.
- getQualifiedName() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Returns the fully qualified name of this type declaration.
- getQualifiedName() - Method in interface spoon.reflect.reference.CtFieldReference
-
Gets the qualified name of the field.
- getQualifiedName() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the qualified name.
- getQualifiedName() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getQualifiedName() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getQualifiedName() - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getQualifiedName() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- getQualifiedName() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- getQualifiedName() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getReference() - Method in interface spoon.reflect.code.CtLocalVariable
-
- getReference() - Method in interface spoon.reflect.cu.Import
-
Gets the reference of the element that is imported.
- getReference() - Method in interface spoon.reflect.declaration.CtExecutable
-
- getReference() - Method in interface spoon.reflect.declaration.CtField
-
- getReference() - Method in interface spoon.reflect.declaration.CtNamedElement
-
Returns the corresponding reference.
- getReference() - Method in interface spoon.reflect.declaration.CtPackage
-
- getReference() - Method in interface spoon.reflect.declaration.CtParameter
-
- getReference() - Method in interface spoon.reflect.declaration.CtSimpleType
-
- getReference() - Method in interface spoon.reflect.declaration.CtVariable
-
- getReference() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getReference() - Method in class spoon.support.reflect.cu.ImportImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- getReference() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getReferencedTypes() - Method in interface spoon.reflect.declaration.CtElement
-
Calculates and returns the set of all the types referenced by this
element (and sub-elements in the AST).
- getReferencedTypes() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getReferences(ReferenceFilter<T>) - Method in interface spoon.reflect.declaration.CtElement
-
- getReferences(List<E>) - Method in class spoon.reflect.factory.CodeFactory
-
Gets a list of references from a list of elements.
- getReferences(CtElement, ReferenceFilter<T>) - Static method in class spoon.reflect.visitor.Query
-
Returns all the program element references that match the filter.
- getReferences(Factory, ReferenceFilter<R>) - Static method in class spoon.reflect.visitor.Query
-
Within a given factory, returns all the program element references that
match the filter.
- getReferences(ReferenceFilter<T>) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getReferences() - Method in class spoon.support.visitor.TypeReferenceScanner
-
Returns the set of calculated references.
- getRemoved() - Method in class spoon.reflect.Changes
-
Gets the list of elements removed from the model.
- getResources() - Method in interface spoon.reflect.code.CtTry
-
Gets the auto-closeable resources of this try
.
- getResources() - Method in class spoon.support.reflect.code.CtTryImpl
-
- getResult() - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Gets the current result (returned value) for the top stack frame of this
stack.
- getResult() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the result of this frame execution.
- getResult() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
- getResult() - Method in class spoon.reflect.visitor.FragmentDrivenJavaPrettyPrinter
-
- getResult() - Method in interface spoon.reflect.visitor.PrettyPrinter
-
Gets the contents of the compilation unit.
- getResult() - Method in class spoon.reflect.visitor.QueryVisitor
-
Gets the result (elements matching the filter).
- getResult() - Method in class spoon.reflect.visitor.ReferenceQueryVisitor
-
Gets the result (references matching the filter).
- getReturnedExpression() - Method in interface spoon.reflect.code.CtReturn
-
Gets the returned expression.
- getReturnedExpression() - Method in class spoon.support.reflect.code.CtReturnImpl
-
- getReturnStatement() - Method in exception spoon.support.reflect.eval.ReturnException
-
- getRightHandOperand() - Method in interface spoon.reflect.code.CtBinaryOperator
-
Returns the right-hand operand.
- getRightHandOperand() - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- getRoot() - Method in class spoon.support.gui.SpoonTreeBuilder
-
- getRowCount() - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- getSelector() - Method in interface spoon.reflect.code.CtSwitch
-
Gets the selector.
- getSelector() - Method in class spoon.support.reflect.code.CtSwitchImpl
-
- getSignature() - Method in interface spoon.reflect.declaration.CtElement
-
Gets the signature of the element.
- getSignature() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- getSignature() - Method in class spoon.support.visitor.SignaturePrinter
-
- getSimpleName() - Method in interface spoon.reflect.declaration.CtConstructor
-
Always returns "<init>".
- getSimpleName() - Method in interface spoon.reflect.declaration.CtNamedElement
-
Returns the simple (unqualified) name of this element.
- getSimpleName(String) - Method in class spoon.reflect.factory.TypeFactory
-
Gets the simple name for a given Java qualified name.
- getSimpleName() - Method in interface spoon.reflect.reference.CtArrayTypeReference
-
Returns the simple name of the array type core component type (with no
[]s).
- getSimpleName() - Method in interface spoon.reflect.reference.CtReference
-
Gets the simple name of referenced element.
- getSimpleName() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getSimpleName() - Method in class spoon.support.reflect.declaration.CtConstructorImpl
-
- getSimpleName() - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- getSimpleName() - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- getSimpleName() - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- getSource() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getSourceClasspath() - Method in interface spoon.compiler.Environment
-
Returns the source class path of the Spoon model.
- getSourceClasspath() - Method in interface spoon.compiler.SpoonCompiler
-
Gets the classpath that is used to build/compile the input sources.
- getSourceClasspath() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getSourceClasspath() - Method in class spoon.support.StandardEnvironment
-
- getSourceCodeFragments() - Method in interface spoon.reflect.cu.CompilationUnit
-
Gets the source code fragments for this compilation unit.
- getSourceCodeFragments() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getSourceCodeFraments() - Method in interface spoon.reflect.cu.CompilationUnit
-
Deprecated.
- getSourceCodeFraments() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getSourceEnd() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the index at which the position ends in the source file.
- getSourceEnd() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getSourcePath() - Method in interface spoon.compiler.Environment
-
Gets the current input path
- getSourcePath() - Method in class spoon.support.StandardEnvironment
-
Deprecated.
- getSourceStart() - Method in interface spoon.reflect.cu.SourcePosition
-
Gets the index at which the position starts in the source file.
- getSourceStart() - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- getStack() - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Gets the stack of the symbolic abstract evaluation step.
- getStack() - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- getStack() - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- getStatefullExternals() - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Returns the list of external classes that should be handled as statefull
beans.
- getStatefullExternals() - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- getStatement(int) - Method in interface spoon.reflect.code.CtBlock
-
Gets the ith statement of this block.
- getStatement(int) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- getStatements() - Method in interface spoon.reflect.code.CtStatementList
-
Returns the statement list.
- getStatements() - Method in class spoon.support.reflect.code.CtBlockImpl
-
- getStatements() - Method in class spoon.support.reflect.code.CtCaseImpl
-
- getStatements() - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- getStep(int) - Method in class spoon.reflect.eval.SymbolicEvaluationPath
-
Gets the ith step.
- getStepCount() - Method in class spoon.reflect.eval.SymbolicEvaluationPath
-
Gets the number of steps in this path.
- getSteps() - Method in class spoon.reflect.eval.SymbolicEvaluationPath
-
Returns the evaluation steps list.
- getSubFolders() - Method in interface spoon.compiler.SpoonFolder
-
Gets the subfolders in this folder.
- getSubFolders() - Method in class spoon.support.compiler.FileSystemFolder
-
- getSubFolders() - Method in class spoon.support.compiler.VirtualFolder
-
- getSubFolders() - Method in class spoon.support.compiler.ZipFolder
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtIfImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtLoopImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtReturnImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtThrowImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtTryImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.template.BlockTemplate
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.template.ExpressionTemplate
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.template.StatementTemplate
-
- getSubstitution(CtSimpleType<?>) - Method in interface spoon.template.TemplateParameter
-
Returns the code which must be substituted to this template parameter,
depending on its value.
- getSubstitution(CtSimpleType<?>) - Method in class spoon.template.TypedBlockTemplateParameter
-
- getSubstitution(CtSimpleType<?>) - Method in class spoon.template.TypedStatementListTemplateParameter
-
- getSuperclass() - Method in interface spoon.reflect.declaration.CtClass
-
Returns the class type directly extended by this class.
- getSuperclass() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the superclass of this type if applicable (only for classes).
- getSuperclass() - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- getSuperclass() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getSuperInterfaces() - Method in interface spoon.reflect.declaration.CtType
-
Returns the interface types directly implemented by this class or
extended by this interface.
- getSuperInterfaces() - Method in interface spoon.reflect.reference.CtTypeReference
-
Gets the super interfaces of this type.
- getSuperInterfaces() - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- getSuperInterfaces() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- getSymbolId(CtTypeReference<?>, String) - Static method in class spoon.reflect.eval.SymbolicInstance
-
Helper method to get the symbol's unique Id from its type and its name.
- getSymbolName() - Method in class spoon.reflect.eval.SymbolicInstance
-
Gets the name of this symbolic instance.
- getTabCount(int) - Method in interface spoon.reflect.cu.CompilationUnit
-
Gets the number of tabulations for a given line.
- getTabCount(int) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- getTabulationSize() - Method in interface spoon.compiler.Environment
-
Gets the size of the tabulations in the generated source code.
- getTabulationSize() - Method in class spoon.support.StandardEnvironment
-
- getTarget() - Method in interface spoon.reflect.code.CtTargetedExpression
-
Gets the target expression.
- getTarget() - Method in class spoon.support.reflect.code.CtTargetedAccessImpl
-
- getTarget() - Method in class spoon.support.reflect.code.CtTargetedExpressionImpl
-
- getTargetLabel() - Method in interface spoon.reflect.code.CtBreak
-
Gets the label from which the control flow breaks (null if no label
defined).
- getTargetLabel() - Method in interface spoon.reflect.code.CtContinue
-
Gets the label from which the control flow breaks (null if no label
defined).
- getTargetLabel() - Method in class spoon.support.reflect.code.CtBreakImpl
-
- getTargetLabel() - Method in class spoon.support.reflect.code.CtContinueImpl
-
- getTemplateClasspath() - Method in interface spoon.compiler.SpoonCompiler
-
Gets the classpath that is used to build the template sources.
- getTemplateClasspath() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getTemplates() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getTemplateSources() - Method in interface spoon.compiler.SpoonCompiler
-
- getTemplateSources() - Method in class spoon.Launcher
-
Gets the list of template sources as files.
- getTemplateSources() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- getThenExpression() - Method in interface spoon.reflect.code.CtConditional
-
Gets the "true" expression.
- getThenExpression() - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- getThenStatement() - Method in interface spoon.reflect.code.CtIf
-
Gets the statement executed when the condition is true.
- getThenStatement() - Method in class spoon.support.reflect.code.CtIfImpl
-
- getThis() - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Gets the this value of the top frame.
- getThis() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the this
value.
- getThrownExpression() - Method in interface spoon.reflect.code.CtThrow
-
Returns the thrown expression (must be a throwable).
- getThrownExpression() - Method in class spoon.support.reflect.code.CtThrowImpl
-
- getThrownTypes() - Method in interface spoon.reflect.declaration.CtExecutable
-
Returns the exceptions and other throwables listed in this method or
constructor's throws clause.
- getThrownTypes() - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- getTraversalStrategy() - Method in class spoon.processing.AbstractManualProcessor
-
Invalid method in this context.
- getTraversalStrategy() - Method in class spoon.processing.AbstractProcessor
-
- getTraversalStrategy() - Method in interface spoon.processing.Processor
-
- getTraversalStrategy() - Method in class spoon.support.JavaOutputProcessor
-
- getType(String) - Method in interface spoon.reflect.declaration.CtPackage
-
Finds a top-level type by name.
- getType() - Method in interface spoon.reflect.declaration.CtTypedElement
-
Gets this element's type.
- getType(SymbolicEvaluator, CtTypeReference<T>) - Method in class spoon.reflect.eval.SymbolicHeap
-
Gets/creates a symbolic value of a given type (automatically stored in
the heap).
- getType() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Gets the type of the executable.
- getType() - Method in interface spoon.reflect.reference.CtVariableReference
-
Gets the type of the variable.
- getType() - Method in class spoon.reflect.visitor.filter.AbstractFilter
-
- getType() - Method in class spoon.reflect.visitor.filter.AbstractReferenceFilter
-
- getType() - Method in class spoon.reflect.visitor.filter.CompositeFilter
-
- getType() - Method in interface spoon.reflect.visitor.Filter
-
Gets the runtime type that corresponds to the T
parameter
(the type of the filtered elements).
- getType() - Method in class spoon.reflect.visitor.filter.NameFilter
-
- getType() - Method in class spoon.reflect.visitor.filter.RegexFilter
-
- getType() - Method in interface spoon.reflect.visitor.ReferenceFilter
-
Gets the runtime type that corresponds to the T
parameter
(the type of the filtered references).
- getType() - Method in class spoon.SpoonTask.ProcessorType
-
Gets the processor type.
- getType() - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- getType() - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- getType() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getType() - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- getType() - Method in class spoon.support.reflect.declaration.CtConstructorImpl
-
- getType() - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- getType() - Method in class spoon.support.reflect.declaration.CtMethodImpl
-
- getType(String) - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getType() - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- getType() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- getType() - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
-
- getTypeCasts() - Method in interface spoon.reflect.code.CtExpression
-
Returns the type casts if any.
- getTypeCasts() - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- getTypeCasts() - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- getTypeReference(TypeBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getTypes() - Method in interface spoon.reflect.declaration.CtPackage
-
Returns the set of the top-level types in this package.
- getTypes() - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- getUsedTypes(boolean) - Method in interface spoon.reflect.declaration.CtSimpleType
-
Returns the types used by this type.
- getUsedTypes(boolean) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- getValue() - Method in interface spoon.reflect.code.CtLiteral
-
Gets the actual value of the literal (statically known).
- getValue() - Method in interface spoon.reflect.declaration.CtCodeSnippet
-
Gets the textual value of the code.
- getValue() - Method in class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
-
- getValue() - Method in class spoon.support.reflect.code.CtCodeSnippetStatementImpl
-
- getValue() - Method in class spoon.support.reflect.code.CtLiteralImpl
-
- getValue(Template, String, Integer) - Static method in class spoon.support.template.Parameters
-
Gets a template field parameter value.
- getValue() - Method in class spoon.support.util.Timer
-
Gets the current time of this timer.
- getValueAt(int, int) - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- getValues() - Method in interface spoon.reflect.declaration.CtEnum
-
Returns the set of predefined constant values of this enum
- getValues() - Method in class spoon.support.reflect.declaration.CtEnumImpl
-
- getVariable() - Method in interface spoon.reflect.code.CtAnnotationFieldAccess
-
- getVariable() - Method in interface spoon.reflect.code.CtFieldAccess
-
- getVariable() - Method in interface spoon.reflect.code.CtForEach
-
Gets the variable that references the currently iterated element.
- getVariable() - Method in interface spoon.reflect.code.CtTargetedAccess
-
- getVariable() - Method in interface spoon.reflect.code.CtVariableAccess
-
Gets the reference to the accessed variable.
- getVariable() - Method in class spoon.support.reflect.code.CtForEachImpl
-
- getVariable() - Method in class spoon.support.reflect.code.CtTargetedAccessImpl
-
- getVariable() - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- getVariableReference(MethodBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getVariableReference(VariableBinding) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.ReferenceBuilder
-
- getVariables() - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Gets the local variables defined for this frame.
- getVariableValue(CtVariableReference<?>) - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Gets the symbolic value of a variable within the top frame.
- getVisibility() - Method in interface spoon.reflect.declaration.CtModifiable
-
Gets the visibility of this modifiable element.
- getVisibility() - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- getVisibility() - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- getVisibility() - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- getVisitor() - Method in class spoon.support.QueueProcessingManager
-
- getWarningCount() - Method in interface spoon.compiler.Environment
-
Gets the warning count from building, processing, and compiling within
this environment.
- getWarningCount() - Method in class spoon.support.StandardEnvironment
-
- getXmlRootFolder() - Method in class spoon.support.StandardEnvironment
-
Gets the root folder where the processors' XML configuration files are
located.
- ignoreOptionalProblems() - Method in class spoon.support.util.BasicCompilationUnit
-
- Import - Interface in spoon.reflect.cu
-
This interface represents imports in a compilation unit.
- ImportImpl - Class in spoon.support.reflect.cu
-
- ImportImpl(CtTypeReference<?>) - Constructor for class spoon.support.reflect.cu.ImportImpl
-
- ImportImpl(CtPackageReference) - Constructor for class spoon.support.reflect.cu.ImportImpl
-
- ImportImpl(CtFieldReference<?>) - Constructor for class spoon.support.reflect.cu.ImportImpl
-
- incTab() - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
Increments the current number of tabs.
- inferConsumedAnnotationType() - Method in class spoon.processing.AbstractAnnotationProcessor
-
- inferConsumedAnnotationType() - Method in interface spoon.processing.AnnotationProcessor
-
Returns true (default) if the processor automatically infers the consumed
annotation type to the A
actual type.
- init() - Method in class spoon.processing.AbstractManualProcessor
-
- init() - Method in class spoon.processing.AbstractProcessor
-
- init() - Method in interface spoon.processing.Processor
-
This method is upcalled to initialize the processor before each
processing round.
- init() - Method in class spoon.processing.XMLAnnotationProcessor
-
- init() - Method in class spoon.support.JavaOutputProcessor
-
- initEnvironment(Environment, int, boolean, boolean, File, boolean, int, boolean, boolean, boolean, File) - Method in class spoon.Launcher
-
Initializes an environment with the given parameters.
- initInputClassLoader() - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- initProperties(ProcessorProperties) - Method in class spoon.processing.AbstractManualProcessor
-
- initProperties(ProcessorProperties) - Method in class spoon.processing.AbstractProcessor
-
- initProperties(Processor<?>, ProcessorProperties) - Static method in class spoon.processing.AbstractProcessor
-
Helper method to initialize the properties of a given processor.
- initProperties(ProcessorProperties) - Method in interface spoon.processing.Processor
-
Initializes the properties defined by this processor by using the
environment.
- INNERTTYPE_SEPARATOR - Static variable in interface spoon.reflect.declaration.CtSimpleType
-
The string separator in a Java innertype qualified name.
- insertAfter(Filter<? extends CtStatement>, CtStatement) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement after a set of insertion points given by a
filter.
- insertAfter(Filter<? extends CtStatement>, CtStatementList) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement list after a set of insertion points given by
a filter.
- insertAfter(CtStatement) - Method in interface spoon.reflect.code.CtStatement
-
Inserts a statement after the current statement.
- insertAfter(CtStatementList) - Method in interface spoon.reflect.code.CtStatement
-
Inserts a statement list before the current statement.
- insertAfter(Filter<? extends CtStatement>, CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertAfter(Filter<? extends CtStatement>, CtStatementList) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertAfter(CtStatement) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- insertAfter(CtStatementList) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- insertAfter(CtStatement) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- insertAfter(CtStatementList) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- insertAfter(CtStatement, CtStatement) - Static method in class spoon.support.reflect.code.CtStatementImpl
-
- insertAfter(CtStatement, CtStatementList) - Static method in class spoon.support.reflect.code.CtStatementImpl
-
- insertAfter(CtStatement) - Method in class spoon.support.reflect.code.CtStatementImpl
-
- insertAfter(CtStatementList) - Method in class spoon.support.reflect.code.CtStatementImpl
-
- insertAfter(CtStatement) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- insertAfter(CtStatementList) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- insertAfter(CtStatement) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- insertAfter(CtStatementList) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- insertAll(CtType<?>, T) - Static method in class spoon.template.Substitution
-
Inserts all the methods, fields, constructors, initialization blocks (if
target is a class), inner types, and super interfaces (except
Template
) from a given template by substituting all the template
parameters by their values.
- insertAllConstructors(CtType<?>, Template) - Static method in class spoon.template.Substitution
-
Inserts all constructors and initialization blocks from a given template
by substituting all the template parameters by their values.
- insertAllFields(CtType<?>, Template) - Static method in class spoon.template.Substitution
-
Inserts all the fields from a given template by substituting all the
template parameters by their values.
- insertAllMethods(CtType<?>, Template) - Static method in class spoon.template.Substitution
-
Inserts all the methods from a given template by substituting all the
template parameters by their values.
- insertAllSuperInterfaces(CtType<?>, Template) - Static method in class spoon.template.Substitution
-
Inserts all the super interfaces (except
Template
) from a given
template by substituting all the template parameters by their values.
- insertBefore(Filter<? extends CtStatement>, CtStatement) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement before a set of insertion points given by a
filter.
- insertBefore(Filter<? extends CtStatement>, CtStatementList) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement list before a set of insertion points given
by a filter.
- insertBefore(CtStatement) - Method in interface spoon.reflect.code.CtStatement
-
Inserts a statement given as parameter before the current statement
(this).
- insertBefore(CtStatementList) - Method in interface spoon.reflect.code.CtStatement
-
Inserts a statement list before the current statement.
- insertBefore(Filter<? extends CtStatement>, CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertBefore(Filter<? extends CtStatement>, CtStatementList) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertBefore(CtStatement) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- insertBefore(CtStatementList) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- insertBefore(CtStatement) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- insertBefore(CtStatementList) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- insertBefore(CtStatement, CtStatement) - Static method in class spoon.support.reflect.code.CtStatementImpl
-
- insertBefore(CtStatement, CtStatementList) - Static method in class spoon.support.reflect.code.CtStatementImpl
-
- insertBefore(CtStatement) - Method in class spoon.support.reflect.code.CtStatementImpl
-
- insertBefore(CtStatementList) - Method in class spoon.support.reflect.code.CtStatementImpl
-
- insertBefore(CtStatement) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- insertBefore(CtStatementList) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- insertBefore(CtStatement) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- insertBefore(CtStatementList) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- insertBegin(CtStatement) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement at the beginning of the block.
- insertBegin(CtStatementList) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement list at the beginning of the block.
- insertBegin(CtStatementList) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertBegin(CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertConstructor(CtClass<T>, Template, CtMethod<?>) - Static method in class spoon.template.Substitution
-
Generates a constructor from a template method by substituting all the
template parameters by their values.
- insertConstructor(CtClass<T>, Template, CtConstructor<?>) - Static method in class spoon.template.Substitution
-
Generates a constructor from a template constructor by substituting all
the template parameters by their values.
- insertEnd(CtStatement) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statement at the end of the block.
- insertEnd(CtStatementList) - Method in interface spoon.reflect.code.CtBlock
-
Inserts the given statements at the end of the block.
- insertEnd(CtStatement) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertEnd(CtStatementList) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- insertField(CtType<?>, Template, CtField<T>) - Static method in class spoon.template.Substitution
-
Generates a field (and its initialization expression) from a template
field by substituting all the template parameters by their values.
- insertMethod(CtType<?>, Template, CtMethod<T>) - Static method in class spoon.template.Substitution
-
Generates a method from a template method by substituting all the
template parameters by their values.
- INTEGER - Variable in class spoon.reflect.factory.TypeFactory
-
- INTEGER_PRIMITIVE - Variable in class spoon.reflect.factory.TypeFactory
-
- Interface() - Method in class spoon.reflect.factory.FactoryImpl
-
- InterfaceFactory - Class in spoon.reflect.factory
-
- InterfaceFactory(Factory) - Constructor for class spoon.reflect.factory.InterfaceFactory
-
Creates a new interface sub-factory.
- InvalidClassPathException - Exception in spoon.compiler
-
- InvalidClassPathException() - Constructor for exception spoon.compiler.InvalidClassPathException
-
- InvalidClassPathException(String) - Constructor for exception spoon.compiler.InvalidClassPathException
-
- InvalidClassPathException(Throwable) - Constructor for exception spoon.compiler.InvalidClassPathException
-
- InvalidClassPathException(String, Exception) - Constructor for exception spoon.compiler.InvalidClassPathException
-
- InvocationFilter - Class in spoon.reflect.visitor.filter
-
This simple filter matches all the accesses to a given executable or any
executable that overrides it.
- InvocationFilter(CtExecutableReference<?>) - Constructor for class spoon.reflect.visitor.filter.InvocationFilter
-
Creates a new invocation filter.
- invoke(CtExecutable<?>, SymbolicInstance<?>...) - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Starts a symbolic evaluation by invoking a given static executable.
- invoke(SymbolicInstance<?>, CtExecutable<?>, List<SymbolicInstance<?>>) - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Starts a symbolic evaluation by invoking a given executable.
- invoke(CtExecutable<?>) - Method in interface spoon.reflect.eval.SymbolicEvaluator
-
Starts a symbolic evaluation by invoking a given executable and
constructs default symbolic instances for the parameters and the target
when needed.
- invoke(CtExecutable<?>, SymbolicInstance<?>...) - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- invoke(SymbolicInstance<?>, CtExecutable<?>, List<SymbolicInstance<?>>) - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- invoke(CtExecutable<?>) - Method in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- invoke(CtInvocation<T>) - Static method in class spoon.support.util.RtHelper
-
Actually invokes from a compile-time invocation (by using runtime
reflection).
- isActualFile() - Method in interface spoon.compiler.SpoonFile
-
Tells if this file is an actual file (not a virtual file that holds
in-memory contents).
- isActualFile() - Method in class spoon.support.compiler.FileSystemFile
-
- isActualFile() - Method in class spoon.support.compiler.VirtualFile
-
- isActualFile() - Method in class spoon.support.compiler.ZipFile
-
- isAnonymous() - Method in interface spoon.reflect.reference.CtTypeReference
-
Return true
if the referenced type is a anonymous type
- isAnonymous() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isArchive() - Method in interface spoon.compiler.SpoonResource
-
Tells if this resource is an archive.
- isArchive(File) - Static method in class spoon.compiler.SpoonResourceHelper
-
Tells if the given file is an archive file.
- isArchive() - Method in class spoon.support.compiler.FileSystemFile
-
- isArchive() - Method in class spoon.support.compiler.FileSystemFolder
-
- isArchive() - Method in class spoon.support.compiler.VirtualFile
-
- isArchive() - Method in class spoon.support.compiler.VirtualFolder
-
- isArchive() - Method in class spoon.support.compiler.ZipFile
-
- isArchive() - Method in class spoon.support.compiler.ZipFolder
-
- isArgument(CtElement) - Method in class spoon.support.compiler.jdt.JDTTreeBuilder.BuilderContext
-
- isArrayOperation() - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- isAssignableFrom(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeReference
-
Returns true
if this referenced type is assignable from an
instance of the given type.
- isAssignableFrom(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- isAssignableFrom(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isAutoImport() - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- isAutoImports() - Method in interface spoon.compiler.Environment
-
Returns true is we let Spoon handle imports
- isAutoImports() - Method in class spoon.support.StandardEnvironment
-
- isConstructor() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Tells if this is a reference to a constructor.
- isConstructor() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- isDebug() - Method in interface spoon.compiler.Environment
-
Returns true if Spoon is in debug mode.
- isDebug() - Method in class spoon.support.StandardEnvironment
-
- isExecutableMatching(CtExecutable<?>, String) - Method in class spoon.processing.XMLAnnotationProcessor
-
Override this method to create other types of matchings than the default
one (java.util.regexp).
- isExternal() - Method in class spoon.reflect.eval.SymbolicInstance
-
Tells if this instance is a wrapper for an instance external from the
evaluator (regular Java object).
- isFieldMatching(CtField<?>, String) - Method in class spoon.processing.XMLAnnotationProcessor
-
Override this method to create other types of matchings than the default
one (java.util.regexp).
- isFile() - Method in interface spoon.compiler.SpoonResource
-
Tells if this resource is a file.
- isFile(File) - Static method in class spoon.compiler.SpoonResourceHelper
-
Tells if the given file is file (files are not archives).
- isFile() - Method in class spoon.support.compiler.FileSystemFile
-
- isFile() - Method in class spoon.support.compiler.FileSystemFolder
-
- isFile() - Method in class spoon.support.compiler.VirtualFile
-
- isFile() - Method in class spoon.support.compiler.VirtualFolder
-
- isFile() - Method in class spoon.support.compiler.ZipFile
-
- isFile() - Method in class spoon.support.compiler.ZipFolder
-
- isFinal() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Tells if the referenced executable is final.
- isFinal() - Method in interface spoon.reflect.reference.CtFieldReference
-
Tells if the referenced field is final.
- isFinal() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- isFinal() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- isImplicit() - Method in interface spoon.reflect.declaration.CtElement
-
Returns true if this element is implicit and automatically added by the
Java compiler.
- isImplicit() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- isInterface() - Method in interface spoon.reflect.reference.CtTypeReference
-
Returns true if this type is an interface.
- isInterface() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isJava() - Method in interface spoon.compiler.SpoonFile
-
True if a Java source code file.
- isJava() - Method in class spoon.support.compiler.FileSystemFile
-
- isJava() - Method in class spoon.support.compiler.VirtualFile
-
- isJava() - Method in class spoon.support.compiler.ZipFile
-
- isLegalJavaExecutableIdentifier(String) - Static method in enum spoon.reflect.visitor.JavaIdentifiers
-
Checks if a string is a valid Java package identifier.
- isLegalJavaIdentifier(String) - Static method in enum spoon.reflect.visitor.JavaIdentifiers
-
Checks if a string is a valid Java identifier and not a Java keyword.
- isLegalJavaPackageIdentifier(String) - Static method in enum spoon.reflect.visitor.JavaIdentifiers
-
Checks if a string is a valid Java package identifier.
- isOverriding(CtExecutableReference<?>) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Returns true
if this executable overrides the given
executable.
- isOverriding(CtExecutableReference<?>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- isParameterSource(CtFieldReference<?>) - Static method in class spoon.support.template.Parameters
-
Tells if a given field is a template parameter.
- isParameterSource(Field) - Static method in class spoon.support.template.Parameters
-
Tells if a given field is a template parameter.
- isParentInitialized() - Method in interface spoon.reflect.declaration.CtElement
-
Tells if this parent has been initialized.
- isParentInitialized() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- isPreserveLineNumbers() - Method in interface spoon.compiler.Environment
-
Tells if the source generator will try to preserve the original line numbers.
- isPreserveLineNumbers() - Method in class spoon.support.StandardEnvironment
-
- isPrimitive() - Method in interface spoon.reflect.reference.CtTypeReference
-
Return true
if the referenced type is a primitive type (int,
double, boolean...).
- isPrimitive() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- isPrimitive() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isPrivileged() - Method in class spoon.processing.AbstractManualProcessor
-
Invalid method in this context.
- isProcessingStopped() - Method in interface spoon.compiler.Environment
-
- isProcessingStopped() - Method in class spoon.support.StandardEnvironment
-
- isQualified() - Method in interface spoon.reflect.code.CtThisAccess
-
Tells if this access must be qualified by the class it refers to.
- isQualified() - Method in class spoon.support.reflect.code.CtThisAccessImpl
-
- isRootElement() - Method in interface spoon.reflect.declaration.CtElement
-
Tells if this element is a root of the element tree (and thus has no
parent, which is different from being not initialized).
- isRootElement() - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- isStateful() - Method in class spoon.reflect.eval.SymbolicInstance
-
Tells if this logical value is stateful or not.
- isStatic() - Method in interface spoon.reflect.reference.CtExecutableReference
-
Tells if the referenced executable is static.
- isStatic() - Method in interface spoon.reflect.reference.CtFieldReference
-
Tells if the referenced field is static.
- isStatic() - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- isStatic() - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
Tells if the referenced field is static.
- isSubtypeOf(CtTypeReference<?>) - Method in interface spoon.reflect.declaration.CtType
-
Tells if this type is a subtype of the given type.
- isSubtypeOf(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeReference
-
Returns true if the referenced type is a sub-type of the given type.
- isSubtypeOf(CtTypeReference<?>) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- isSubtypeOf(CtTypeReference<?>) - Method in class spoon.support.reflect.declaration.CtEnumImpl
-
- isSubtypeOf(CtTypeReference<?>) - Method in class spoon.support.reflect.declaration.CtInterfaceImpl
-
- isSubtypeOf(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- isSubtypeOf(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isSuperReference() - Method in interface spoon.reflect.reference.CtTypeReference
-
Returns true if the reference refers to the super implementation
- isSuperReference() - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- isToBeApplied(Class<? extends Processor<?>>) - Method in interface spoon.processing.ProcessingManager
-
Returns true
if the manager will apply a given processor type
when invoking one of the process
methods.
- isToBeApplied(Class<? extends Processor<?>>) - Method in class spoon.support.QueueProcessingManager
-
- isToBeApplied(Class<? extends Processor<?>>) - Method in class spoon.support.RuntimeProcessingManager
-
- isToBeProcessed(E) - Method in class spoon.processing.AbstractAnnotationProcessor
-
Returns true if the element is annotated with an annotation whose type is
processed.
- isToBeProcessed(CtElement) - Method in class spoon.processing.AbstractManualProcessor
-
Always returns false in this context.
- isToBeProcessed(E) - Method in class spoon.processing.AbstractProcessor
-
- isToBeProcessed(E) - Method in interface spoon.processing.Processor
-
Tells if this element is to be processed (returns true
in
the default implementation).
- isTopLevel() - Method in interface spoon.reflect.declaration.CtSimpleType
-
Returns true if this type is top-level (declared as the main type in a
file).
- isTopLevel() - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- isTypeMatching(CtSimpleType<?>, String) - Method in class spoon.processing.XMLAnnotationProcessor
-
Override this method to create other types of matchings than the default
one (java.util.regexp).
- isUpper() - Method in interface spoon.reflect.reference.CtTypeParameterReference
-
Returns true
if the bounds are upper bounds.
- isUpper() - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- isUsingSourceCodeFragments() - Method in interface spoon.compiler.Environment
-
Tells if the code generation use code fragments.
- isUsingSourceCodeFragments() - Method in class spoon.support.StandardEnvironment
-
- isUsingTabulations() - Method in interface spoon.compiler.Environment
-
Tells if Spoon uses tabulations in the source code.
- isUsingTabulations() - Method in class spoon.support.StandardEnvironment
-
- isVarArgs() - Method in interface spoon.reflect.declaration.CtParameter
-
- isVarArgs() - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- isVerbose() - Method in interface spoon.compiler.Environment
-
Returns true if Spoon is in verbose mode.
- isVerbose() - Method in class spoon.support.StandardEnvironment
-
Returns true if Spoon is in verbose mode.
- iterator() - Method in class spoon.support.reflect.code.CtBlockImpl
-
- iterator() - Method in class spoon.support.reflect.code.CtCaseImpl
-
- iterator() - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- S() - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- S() - Method in class spoon.support.reflect.code.CtBlockImpl
-
- S() - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- S() - Method in class spoon.support.reflect.code.CtIfImpl
-
- S() - Method in class spoon.support.reflect.code.CtLoopImpl
-
- S() - Method in class spoon.support.reflect.code.CtReturnImpl
-
- S() - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- S() - Method in class spoon.support.reflect.code.CtThrowImpl
-
- S() - Method in class spoon.support.reflect.code.CtTryImpl
-
- S() - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- S() - Method in class spoon.template.BlockTemplate
-
- S() - Method in class spoon.template.ExpressionTemplate
-
- S() - Method in class spoon.template.StatementTemplate
-
- S() - Method in interface spoon.template.TemplateParameter
-
Gets the type of the template parameter.
- S() - Method in class spoon.template.TypedBlockTemplateParameter
-
- S() - Method in class spoon.template.TypedStatementListTemplateParameter
-
- save(Factory, OutputStream) - Method in interface spoon.reflect.ModelStreamer
-
Saves a factory (and all its associated Java program elements).
- save(Factory, OutputStream) - Method in class spoon.support.SerializationModelStreamer
-
- scan(Collection<? extends CtElement>) - Method in class spoon.reflect.visitor.CtAbstractVisitor
-
Generically scans a collection of meta-model elements.
- scan(CtElement) - Method in class spoon.reflect.visitor.CtAbstractVisitor
-
Generically scans a meta-model element.
- scan(CtReference) - Method in class spoon.reflect.visitor.CtAbstractVisitor
-
Generically scans a meta-model element reference.
- scan(Collection<? extends CtElement>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Generically scans a collection of meta-model elements.
- scan(CtElement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Generically scans a meta-model element.
- scan(CtReference) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Generically scans a meta-model element reference.
- scan(Collection<? extends CtElement>) - Method in class spoon.reflect.visitor.CtScanner
-
Generically scans a collection of meta-model elements.
- scan(CtElement) - Method in class spoon.reflect.visitor.CtScanner
-
Generically scans a meta-model element.
- scan(CtReference) - Method in class spoon.reflect.visitor.CtScanner
-
Generically scans a meta-model element reference.
- scan(Object) - Method in class spoon.reflect.visitor.CtScanner
-
Generically scans an object that can be an element, a reference, or a
collection of those.
- scan(CtElement) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
The generic scan method for an element.
- scan(CtReference) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
The generic scan method for a reference.
- scan(CtElement) - Method in class spoon.reflect.visitor.QueryVisitor
-
- scan(CtReference) - Method in class spoon.reflect.visitor.ReferenceQueryVisitor
-
- scan(Collection<? extends CtElement>) - Method in class spoon.support.template.SubstitutionVisitor
-
Override to scan on collection copies and avoid potential concurrent
modification exceptions.
- scan(CtElement) - Method in class spoon.support.template.SubstitutionVisitor
-
- scan(CtReference) - Method in class spoon.support.template.SubstitutionVisitor
-
Replaces parameters in reference names (even if detected as a substring).
- scan(Collection<? extends CtElement>) - Method in class spoon.support.visitor.ProcessingVisitor
-
- scan(CtElement) - Method in class spoon.support.visitor.ProcessingVisitor
-
Applies the processing to the given element.
- scan(CtElement) - Method in class spoon.support.visitor.SignaturePrinter
-
- scan(CtReference) - Method in class spoon.support.visitor.SignaturePrinter
-
- scan(List<CtTypeReference<?>>) - Method in class spoon.support.visitor.SignaturePrinter
-
- scanCtAbstractInvocation(CtAbstractInvocation<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract invocation.
- scanCtCFlowBreak(CtCFlowBreak) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract control flow break.
- scanCtCodeElement(CtCodeElement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract code element.
- scanCtElement(CtElement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract element.
- scanCtElement(CtElement) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtElement(CtElement) - Method in class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
Remove template-specific
Local
annotations.
- scanCtExecutable(CtExecutable<R>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract executable.
- scanCtExecutable(CtExecutable<R>) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtExecutable(CtExecutable<R>) - Method in class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
Replaces method parameters when defined as a list of
CtParameter
.
- scanCtExpression(CtExpression<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract expression.
- scanCtExpression(CtExpression<T>) - Method in class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
- scanCtGenericElement(CtGenericElement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract generic element.
- scanCtGenericElement(CtGenericElement) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtGenericElementReference(CtGenericElementReference) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract generic element reference.
- scanCtLoop(CtLoop) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract loop.
- scanCtLoop(CtLoop) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtModifiable(CtModifiable) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract modifiable element.
- scanCtModifier(ModifierKind) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans a modifier (enumeration).
- scanCtNamedElement(CtNamedElement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract named element.
- scanCtNamedElement(CtNamedElement) - Method in class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
Replaces parameters in element names (even if detected as a
substring).
- scanCtReference(CtReference) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract reference.
- scanCtSimpleType(CtSimpleType<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract simple type.
- scanCtSimpleType(CtSimpleType<T>) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtStatement(CtStatement) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract statement.
- scanCtTargetedExpression(CtTargetedExpression<T, E>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract targeted expression.
- scanCtTargetedExpression(CtTargetedExpression<T, E>) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtType(CtType<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract type.
- scanCtType(CtType<T>) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtTypedElement(CtTypedElement<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract typed element.
- scanCtTypedElement(CtTypedElement<T>) - Method in class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
- scanCtVariable(CtVariable<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract variable declaration.
- scanCtVariable(CtVariable<T>) - Method in class spoon.support.compiler.jdt.ParentExiter
-
- scanCtVariableReference(CtVariableReference<T>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Scans an abstract variable reference.
- scanFields(Class<?>) - Method in class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- scanReferences(Collection<? extends CtReference>) - Method in class spoon.reflect.visitor.CtInheritanceScanner
-
Generically scans a collection of meta-model references.
- scanReferences(Collection<? extends CtReference>) - Method in class spoon.reflect.visitor.CtScanner
-
Generically scans a collection of meta-model references.
- search() - Method in class spoon.support.gui.SpoonModelTree
-
- searchLineNumber(int[], int) - Static method in class spoon.support.compiler.jdt.JDTTreeBuilder
-
Search the line number corresponding to a specific position
- SerializationModelStreamer - Class in spoon.support
-
This class provides a regular Java serialization-based implementation of the
model streamer.
- SerializationModelStreamer() - Constructor for class spoon.support.SerializationModelStreamer
-
Default constructor.
- setActualTypeArguments(List<CtTypeReference<?>>) - Method in interface spoon.reflect.reference.CtGenericElementReference
-
Sets the type arguments.
- setActualTypeArguments(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- setActualTypeArguments(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- setAnnotations(List<CtAnnotation<? extends Annotation>>) - Method in interface spoon.reflect.declaration.CtElement
-
Sets the annotations for this element.
- setAnnotations(List<CtAnnotation<? extends Annotation>>) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setAnnotationType(CtTypeReference<? extends Annotation>) - Method in interface spoon.reflect.declaration.CtAnnotation
-
Sets the annotation's type.
- setAnnotationType(CtTypeReference<? extends Annotation>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
-
- setAnonymousClass(CtClass<?>) - Method in interface spoon.reflect.code.CtNewClass
-
Sets the created class.
- setAnonymousClass(CtClass<?>) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- setAnonymousExecutables(List<CtAnonymousExecutable>) - Method in interface spoon.reflect.declaration.CtClass
-
Sets the anonymous blocks of this class.
- setAnonymousExecutables(List<CtAnonymousExecutable>) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- setArgs(String[]) - Method in class spoon.Launcher
-
- setArguments(List<CtExpression<?>>) - Method in interface spoon.reflect.code.CtAbstractInvocation
-
Sets the invocation's arguments.
- setArguments(List<CtExpression<?>>) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setArguments(List<CtExpression<?>>) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- setAssertExpression(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtAssert
-
Sets the assert expression.
- setAssertExpression(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtAssertImpl
-
- setAssigned(CtExpression<T>) - Method in interface spoon.reflect.code.CtAssignment
-
Sets the assigned expression.
- setAssigned(CtExpression<T>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- setAssignment(CtExpression<A>) - Method in interface spoon.reflect.code.CtAssignment
-
Sets the expression that is set to the assigned expression.
- setAssignment(CtExpression<A>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- setAutoImport(boolean) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- setAutoImports(boolean) - Method in interface spoon.compiler.Environment
-
Tell to the Java printer to automatically generate imports and use simple
names instead of fully-qualified name.
- setAutoImports(boolean) - Method in class spoon.support.StandardEnvironment
-
- setBlock(CtBlock<?>) - Method in interface spoon.reflect.code.CtSynchronized
-
Sets the synchronized block.
- setBlock(CtBlock<?>) - Method in class spoon.support.reflect.code.CtSynchronizedImpl
-
- setBody(CtBlock<?>) - Method in interface spoon.reflect.code.CtCatch
-
Sets the catch's body.
- setBody(CtStatement) - Method in interface spoon.reflect.code.CtLoop
-
Sets the body of this loop.
- setBody(CtBlock<?>) - Method in interface spoon.reflect.code.CtTry
-
Sets the tried body.
- setBody(CtBlock<?>) - Method in interface spoon.reflect.declaration.CtAnonymousExecutable
-
Sets the executable block.
- setBody(CtBlock<B>) - Method in interface spoon.reflect.declaration.CtExecutable
-
Sets the body expression.
- setBody(CtBlock<?>) - Method in class spoon.support.reflect.code.CtCatchImpl
-
- setBody(CtStatement) - Method in class spoon.support.reflect.code.CtLoopImpl
-
- setBody(CtBlock<?>) - Method in class spoon.support.reflect.code.CtTryImpl
-
- setBody(CtBlock<?>) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- setBody(CtBlock<B>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- setBounds(List<CtTypeReference<?>>) - Method in interface spoon.reflect.declaration.CtTypeParameter
-
Sets the bounds of this type parameter.
- setBounds(List<CtTypeReference<?>>) - Method in interface spoon.reflect.reference.CtTypeParameterReference
-
Sets the bounds (aka generics) of the referenced parameter.
- setBounds(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
-
- setBounds(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- setBuildOnlyOutdatedFiles(boolean) - Method in interface spoon.compiler.SpoonCompiler
-
Sets this compiler to optimize the model building process by ignoring
files that has not be modified since the latest source code generation.
- setBuildOnlyOutdatedFiles(boolean) - Method in class spoon.SpoonTask
-
Sets Spoon to build only the outdated source files (gives better
performances).
- setBuildOnlyOutdatedFiles(boolean) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setCaseExpression(CtExpression<S>) - Method in interface spoon.reflect.code.CtCase
-
Sets the case expression.
- setCaseExpression(CtExpression<E>) - Method in class spoon.support.reflect.code.CtCaseImpl
-
- setCases(List<CtCase<? super S>>) - Method in interface spoon.reflect.code.CtSwitch
-
Sets the list of cases defined for this switch.
- setCases(List<CtCase<? super S>>) - Method in class spoon.support.reflect.code.CtSwitchImpl
-
- setCatchers(List<CtCatch>) - Method in interface spoon.reflect.code.CtTry
-
Sets the catchers of this try
.
- setCatchers(List<CtCatch>) - Method in class spoon.support.reflect.code.CtTryImpl
-
- setCause(SymbolicInstance<? extends Throwable>) - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- setClassName(String) - Method in class spoon.SpoonTask
-
Sets the name of the laucher to be used.
- setComparator(Comparator<? super E>) - Method in class spoon.support.util.SortedList
-
- setCompilationUnit(CompilationUnit) - Method in class spoon.support.reflect.cu.SourcePositionImpl
-
- setCompile(boolean) - Method in class spoon.SpoonTask
-
Tells Spoon to generate class files (bytecode).
- setComplianceLevel(int) - Method in interface spoon.compiler.Environment
-
Sets the Java version compliance level.
- setComplianceLevel(int) - Method in class spoon.support.StandardEnvironment
-
- setComponentType(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtArrayTypeReference
-
Sets the type of the elements contained in this array.
- setComponentType(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtArrayTypeReferenceImpl
-
- setCondition(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtConditional
-
Sets the condition expression.
- setCondition(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtIf
-
Sets the boolean expression that represents the if
's
condition.
- setCondition(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- setCondition(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtIfImpl
-
- setConstructors(Set<CtConstructor<T>>) - Method in interface spoon.reflect.declaration.CtClass
-
Sets the constructors for this class.
- setConstructors(Set<CtConstructor<T>>) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- setDebug(boolean) - Method in interface spoon.compiler.Environment
-
Sets the debug mode.
- setDebug(boolean) - Method in class spoon.SpoonTask
-
Sets Spoon to be in debug mode.
- setDebug(boolean) - Method in class spoon.support.StandardEnvironment
-
- setDeclaration(CtLocalVariable<T>) - Method in interface spoon.reflect.reference.CtLocalVariableReference
-
Sets the local variable declaration that corresponds to this local
variable reference.
- setDeclaration(CtLocalVariable<T>) - Method in class spoon.support.reflect.reference.CtLocalVariableReferenceImpl
-
- setDeclaredTypes(List<CtSimpleType<?>>) - Method in interface spoon.reflect.cu.CompilationUnit
-
Sets the types declared in this compilation unit.
- setDeclaredTypes(List<CtSimpleType<?>>) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- setDeclaringExecutable(CtExecutableReference<?>) - Method in interface spoon.reflect.reference.CtParameterReference
-
Sets the declaring executable of the referenced parameter.
- setDeclaringExecutable(CtExecutableReference<?>) - Method in class spoon.support.reflect.reference.CtParameterReferenceImpl
-
- setDeclaringType(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Sets the declaring type.
- setDeclaringType(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtFieldReference
-
Sets the type in which the field is declared.
- setDeclaringType(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtTypeReference
-
Sets the reference to the declaring type.
- setDeclaringType(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- setDeclaringType(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- setDeclaringType(CtTypeReference<?>) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- setDefaultExpression(CtExpression<T>) - Method in interface spoon.reflect.declaration.CtVariable
-
Sets the initialization expression assigned to the variable, when
declared.
- setDefaultExpression(CtExpression<T>) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- setDefaultExpression(CtExpression<T>) - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- setDefaultExpression(CtExpression<T>) - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- setDefaultFileGenerator(FileGenerator<? extends CtElement>) - Method in interface spoon.compiler.Environment
-
Sets the default file generator for this environment.
- setDefaultFileGenerator(FileGenerator<? extends CtElement>) - Method in class spoon.support.StandardEnvironment
-
- setDestination(File) - Method in class spoon.SpoonTask
-
Sets the destination directory for compiled classes (bytecode).
- setDestinationDirectory(File) - Method in interface spoon.compiler.SpoonCompiler
-
Sets the destination directory for the class files.
- setDestinationDirectory(File) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setDimensionExpressions(List<CtExpression<Integer>>) - Method in interface spoon.reflect.code.CtNewArray
-
Sets the expressions that define the array's dimensions.
- setDimensionExpressions(List<CtExpression<Integer>>) - Method in class spoon.support.reflect.code.CtNewArrayImpl
-
- setDocComment(String) - Method in interface spoon.reflect.declaration.CtElement
-
Sets the text of the documentation ("javadoc") comment of this
declaration.
- setDocComment(String) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setElement(CtElement) - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- setElements(List<CtExpression<?>>) - Method in interface spoon.reflect.code.CtNewArray
-
Sets the initialization expressions.
- setElements(List<CtExpression<?>>) - Method in class spoon.support.reflect.code.CtNewArrayImpl
-
- setElementValues(Map<String, Object>) - Method in interface spoon.reflect.declaration.CtAnnotation
-
Set's this annotation's element names and their values.
- setElementValues(Map<String, Object>) - Method in class spoon.support.reflect.declaration.CtAnnotationImpl
-
- setElseExpression(CtExpression<T>) - Method in interface spoon.reflect.code.CtConditional
-
Sets the "false" expression.
- setElseExpression(CtExpression<T>) - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- setElseStatement(CtStatement) - Method in interface spoon.reflect.code.CtIf
-
Sets the statement executed when the condition is false.
- setElseStatement(CtStatement) - Method in class spoon.support.reflect.code.CtIfImpl
-
- setEncoding(String) - Method in interface spoon.compiler.SpoonCompiler
-
Sets the encoding to use when different from the system encoding.
- setEncoding(String) - Method in class spoon.SpoonTask
-
Sets the encoding to be used by the compiler.
- setEncoding(String) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setEnvironment(INameEnvironment) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setExecutable(CtExecutableReference<T>) - Method in interface spoon.reflect.code.CtAbstractInvocation
-
Sets the invoked executable.
- setExecutable(CtExecutableReference<T>) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setExecutable(CtExecutableReference<T>) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- setExpression(CtExpression<T>) - Method in interface spoon.reflect.code.CtAssert
-
Sets the expression of the assertion.
- setExpression(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtFor
-
Sets the end-loop test expression.
- setExpression(CtExpression<?>) - Method in interface spoon.reflect.code.CtForEach
-
Sets the iterated expression (an iterable of an array).
- setExpression(CtExpression<?>) - Method in interface spoon.reflect.code.CtSynchronized
-
Sets the expression that defines the monitored.
- setExpression(CtExpression<T>) - Method in class spoon.support.reflect.code.CtAssertImpl
-
- setExpression(CtExpression<?>) - Method in class spoon.support.reflect.code.CtForEachImpl
-
- setExpression(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtForImpl
-
- setExpression(CtExpression<?>) - Method in class spoon.support.reflect.code.CtSynchronizedImpl
-
- setFactory(Factory) - Method in class spoon.processing.AbstractManualProcessor
-
- setFactory(Factory) - Method in class spoon.processing.AbstractProblemFixer
-
- setFactory(Factory) - Method in class spoon.processing.AbstractProcessor
-
- setFactory(Factory) - Method in interface spoon.processing.FactoryAccessor
-
Sets the factory object.
- setFactory(Factory) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setFactory(Factory) - Method in class spoon.support.QueueProcessingManager
-
- setFactory(Factory) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- setFactory(Factory) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setFactory(Factory) - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- setFactory(Factory) - Method in class spoon.support.RuntimeProcessingManager
-
- setFields(List<CtField<?>>) - Method in interface spoon.reflect.declaration.CtSimpleType
-
- setFields(List<CtField<?>>) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- setFieldValue(SymbolicHeap, CtVariableReference<?>, SymbolicInstance<?>) - Method in class spoon.reflect.eval.SymbolicInstance
-
Sets the value of a field belonging to this instance, and stores the
instance on the heap.
- setFile(File) - Method in interface spoon.reflect.cu.CompilationUnit
-
Sets the file that corresponds to this compilation unit.
- setFile(File) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- setFinal(boolean) - Method in interface spoon.reflect.reference.CtFieldReference
-
Forces a reference to a final element.
- setFinal(boolean) - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- setFinalizer(CtBlock<?>) - Method in interface spoon.reflect.code.CtTry
-
Sets the finalizer block of this try
(
finally
part).
- setFinalizer(CtBlock<?>) - Method in class spoon.support.reflect.code.CtTryImpl
-
- setForInit(List<CtStatement>) - Method in interface spoon.reflect.code.CtFor
-
Sets the init statements.
- setForInit(List<CtStatement>) - Method in class spoon.support.reflect.code.CtForImpl
-
- setFormalTypeParameters(List<CtTypeReference<?>>) - Method in interface spoon.reflect.declaration.CtGenericElement
-
Sets the type parameters of this generic element.
- setFormalTypeParameters(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- setFormalTypeParameters(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- setForUpdate(List<CtStatement>) - Method in interface spoon.reflect.code.CtFor
-
Sets the update statements.
- setForUpdate(List<CtStatement>) - Method in class spoon.support.reflect.code.CtForImpl
-
- setFragments(boolean) - Method in class spoon.SpoonTask
-
Sets Spoon to use source code fragment driven generation technique
(preserves original formatting).
- setGenericTypes(List<CtTypeReference<?>>) - Method in interface spoon.reflect.code.CtInvocation
-
- setGenericTypes(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setImplicit(boolean) - Method in interface spoon.reflect.declaration.CtElement
-
Sets this element to be implicit (will not be printed).
- setImplicit(boolean) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setIndexExpression(CtExpression<Integer>) - Method in interface spoon.reflect.code.CtArrayAccess
-
Sets the expression that defines the index.
- setIndexExpression(CtExpression<Integer>) - Method in class spoon.support.reflect.code.CtArrayAccessImpl
-
- setIndexExpressions(List<CtExpression<Integer>>) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setInput(File) - Method in class spoon.SpoonTask
-
- setInputClassLoader(ClassLoader) - Method in interface spoon.compiler.Environment
-
Sets the class loader used to compile/process the input source code.
- setInputClassLoader(ClassLoader) - Method in class spoon.support.StandardEnvironment
-
- setJavaCompliance(int) - Method in class spoon.SpoonTask
-
Sets the java14 property (to be able to parse java 1.4 source files).
- setKind(BinaryOperatorKind) - Method in interface spoon.reflect.code.CtBinaryOperator
-
Sets the kind of this binary operator.
- setKind(BinaryOperatorKind) - Method in interface spoon.reflect.code.CtOperatorAssignment
-
Sets the operator kind.
- setKind(UnaryOperatorKind) - Method in interface spoon.reflect.code.CtUnaryOperator
-
Sets the kind of this operator.
- setKind(BinaryOperatorKind) - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- setKind(BinaryOperatorKind) - Method in class spoon.support.reflect.code.CtOperatorAssignmentImpl
-
- setKind(UnaryOperatorKind) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- setLabel(String) - Method in interface spoon.reflect.code.CtStatement
-
Sets the label of this statement.
- setLabel(String) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setLabel(String) - Method in class spoon.support.reflect.code.CtNewClassImpl
-
- setLabel(String) - Method in class spoon.support.reflect.code.CtStatementImpl
-
- setLabel(String) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- setLabel(String) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- setLabelledStatement(CtStatement) - Method in interface spoon.reflect.code.CtContinue
-
Sets the statement where the control flow continues (null if no label
defined).
- setLabelledStatement(CtStatement) - Method in class spoon.support.reflect.code.CtContinueImpl
-
- setLeftHandOperand(CtExpression<?>) - Method in interface spoon.reflect.code.CtBinaryOperator
-
Sets the left-hand operand.
- setLeftHandOperand(CtExpression<?>) - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- setLines(boolean) - Method in class spoon.SpoonTask
-
Tells if Spoon should try to preserve the original line numbers when
generating the source code (may lead to human-unfriendly formatting).
- setLoopingExpression(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtDo
-
Sets the looping test as a boolean expression.
- setLoopingExpression(CtExpression<Boolean>) - Method in interface spoon.reflect.code.CtWhile
-
Sets the looping boolean test expression.
- setLoopingExpression(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtDoImpl
-
- setLoopingExpression(CtExpression<Boolean>) - Method in class spoon.support.reflect.code.CtWhileImpl
-
- setMainFactory(Factory) - Method in interface spoon.reflect.factory.CoreFactory
-
Sets the main factory of that core factory.
- setMainFactory(Factory) - Method in class spoon.support.DefaultCoreFactory
-
- setManager(ProcessingManager) - Method in interface spoon.compiler.Environment
-
Sets the processing manager of this environment.
- setManager(ProcessingManager) - Method in class spoon.support.StandardEnvironment
-
- setManualImports(Set<Import>) - Method in class spoon.support.reflect.cu.CompilationUnitImpl
-
- setMethods(Set<CtMethod<?>>) - Method in interface spoon.reflect.declaration.CtType
-
Sets the methods of this type.
- setMethods(Set<CtMethod<?>>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- setModifiers(Set<ModifierKind>) - Method in interface spoon.reflect.declaration.CtModifiable
-
Sets the modifiers.
- setModifiers(Set<ModifierKind>) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- setModifiers(Set<ModifierKind>) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- setModifiers(Set<ModifierKind>) - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- setName(String) - Method in interface spoon.reflect.declaration.CtTypeParameter
-
Sets the name of this type parameter.
- setName(String) - Method in class spoon.support.reflect.declaration.CtTypeParameterImpl
-
- setNestedTypes(Set<CtSimpleType<?>>) - Method in interface spoon.reflect.declaration.CtSimpleType
-
- setNestedTypes(Set<CtSimpleType<?>>) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- setNoOutput(boolean) - Method in class spoon.SpoonTask
-
Tells Spoon not to generate any source files.
- setOperand(CtExpression<T>) - Method in interface spoon.reflect.code.CtUnaryOperator
-
Sets the expression to which the operator is applied.
- setOperand(CtExpression<T>) - Method in class spoon.support.reflect.code.CtUnaryOperatorImpl
-
- setOutput(File) - Method in class spoon.SpoonTask
-
Sets the output directory for generated sources.
- setOutputDirectory(File) - Method in interface spoon.compiler.SpoonCompiler
-
Sets the output directory for the source files.
- setOutputDirectory(File) - Method in interface spoon.processing.FileGenerator
-
Sets the root directory where files should be created.
- setOutputDirectory(File) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setOutputDirectory(File) - Method in class spoon.support.JavaOutputProcessor
-
- setOutputType(String) - Method in class spoon.SpoonTask
-
Sets the output type (none, classes, or compilationunits).
- setPackage(CtPackageReference) - Method in interface spoon.reflect.reference.CtTypeReference
-
Sets the reference to the declaring package.
- setPackage(CtPackageReference) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- setPackages(Set<CtPackage>) - Method in interface spoon.reflect.declaration.CtPackage
-
Sets the children defined in this package
- setPackages(Set<CtPackage>) - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- setParameter(CtLocalVariable<? extends Throwable>) - Method in interface spoon.reflect.code.CtCatch
-
Sets the catch's parameter (a throwable).
- setParameter(CtLocalVariable<? extends Throwable>) - Method in class spoon.support.reflect.code.CtCatchImpl
-
- setParameters(List<CtParameter<?>>) - Method in interface spoon.reflect.declaration.CtExecutable
-
Sets the parameters.
- setParameters(List<CtParameter<?>>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- setParameterTypes(List<CtTypeReference<?>>) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Sets the list of the executable's parameters types.
- setParameterTypes(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- setParent(CtElement) - Method in interface spoon.reflect.declaration.CtElement
-
Manually sets the parent element of the current element.
- setParent(CtElement) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setParent(CtElement) - Method in class spoon.support.reflect.declaration.CtSimpleTypeImpl
-
- setPosition(SourcePosition) - Method in interface spoon.reflect.declaration.CtElement
-
Sets the position in the Java source file.
- setPosition(SourcePosition) - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- setPosition(SourcePosition) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setPositions(SourcePosition) - Method in interface spoon.reflect.declaration.CtElement
-
Sets the position of this element and all its children element.
- setPositions(SourcePosition) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setPrecompile(boolean) - Method in class spoon.SpoonTask
-
Tells if Spoon should precompile the input files before processing.
- setPreserveLineNumbers(boolean) - Method in interface spoon.compiler.Environment
-
When set, the generated source code will try to generate code that
preserves the line numbers of the original source code.
- setPreserveLineNumbers(boolean) - Method in class spoon.support.StandardEnvironment
-
- setProcessingStopped(boolean) - Method in interface spoon.compiler.Environment
-
This method can be called to stop the processing and all the remaining
tasks.
- setProcessingStopped(boolean) - Method in class spoon.support.StandardEnvironment
-
- setProcessor(Processor<?>) - Method in class spoon.support.visitor.ProcessingVisitor
-
- setProcessorProperties(String, ProcessorProperties) - Method in interface spoon.compiler.Environment
-
Sets the properties for a given processor.
- setProcessorProperties(String, ProcessorProperties) - Method in class spoon.support.StandardEnvironment
-
- setProperties(File) - Method in class spoon.SpoonTask
-
Sets the root directory where the processors' properties XML
configuration files are located.
- setQualified(boolean) - Method in interface spoon.reflect.code.CtThisAccess
-
Sets this access to be qualified by the class it refers to.
- setQualified(boolean) - Method in class spoon.support.reflect.code.CtThisAccessImpl
-
- setRealRef(CtTypeReference<?>) - Method in interface spoon.reflect.reference.CtAnnonTypeParameterReference
-
- setResources(List<CtLocalVariable<? extends AutoCloseable>>) - Method in interface spoon.reflect.code.CtTry
-
Sets the auto-closeable resources of this try
.
- setResources(List<CtLocalVariable<? extends AutoCloseable>>) - Method in class spoon.support.reflect.code.CtTryImpl
-
- setResult(SymbolicInstance<?>) - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Sets the current result (returned value) for the top stack frame of this
stack.
- setResult(SymbolicInstance<?>) - Method in class spoon.reflect.eval.SymbolicStackFrame
-
Sets the result of this frame execution.
- setReturnedExpression(CtExpression<R>) - Method in interface spoon.reflect.code.CtReturn
-
Sets the returned expression.
- setReturnedExpression(CtExpression<R>) - Method in class spoon.support.reflect.code.CtReturnImpl
-
- setRightHandOperand(CtExpression<?>) - Method in interface spoon.reflect.code.CtBinaryOperator
-
Sets the right-hand operand.
- setRightHandOperand(CtExpression<?>) - Method in class spoon.support.reflect.code.CtBinaryOperatorImpl
-
- setRootElement(boolean) - Method in interface spoon.reflect.declaration.CtElement
-
Sets the root element flag to this element.
- setRootElement(boolean) - Method in class spoon.support.reflect.declaration.CtElementImpl
-
- setSelector(CtExpression<S>) - Method in interface spoon.reflect.code.CtSwitch
-
Sets the selector.
- setSelector(CtExpression<S>) - Method in class spoon.support.reflect.code.CtSwitchImpl
-
- setSimpleName(String) - Method in interface spoon.reflect.declaration.CtConstructor
-
This operation is not allowed.
- setSimpleName(String) - Method in interface spoon.reflect.declaration.CtNamedElement
-
Sets the simple (unqualified) name of this element.
- setSimpleName(String) - Method in interface spoon.reflect.reference.CtArrayTypeReference
-
Sets the the simple name of the array type core component type (with no
[]s).
- setSimpleName(String) - Method in interface spoon.reflect.reference.CtReference
-
Sets the name of referenced element.
- setSimpleName(String) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- setSimpleName(String) - Method in class spoon.support.reflect.declaration.CtConstructorImpl
-
- setSimpleName(String) - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- setSimpleName(String) - Method in class spoon.support.reflect.reference.CtReferenceImpl
-
- setSimpleName(String) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- setSourceClasspath(String[]) - Method in interface spoon.compiler.Environment
-
Sets the source class path of the Spoon model.
- setSourceClasspath(String...) - Method in interface spoon.compiler.SpoonCompiler
-
Sets the classpath that is used to build/compile the input sources.
- setSourceClasspath(Path) - Method in class spoon.SpoonTask
-
Set the classpath to be used when building, processing and compiling the
sources.
- setSourceClasspath(String...) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setSourceClasspath(String[]) - Method in class spoon.support.StandardEnvironment
-
- setSourceClasspathRef(Reference) - Method in class spoon.SpoonTask
-
Source classpath to use, by reference.
- setSpoonlet(File) - Method in class spoon.SpoonTask
-
Sets a Spoolet to be deployed.
- setStack(SymbolicEvaluationStack) - Method in exception spoon.support.reflect.eval.SymbolicWrappedException
-
- setStatements(List<CtStatement>) - Method in interface spoon.reflect.code.CtStatementList
-
Sets the statement list.
- setStatements(List<CtStatement>) - Method in class spoon.support.reflect.code.CtBlockImpl
-
- setStatements(List<CtStatement>) - Method in class spoon.support.reflect.code.CtCaseImpl
-
- setStatements(List<CtStatement>) - Method in class spoon.support.reflect.code.CtStatementListImpl
-
- setStatic(boolean) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Sets this executable reference to be static or not.
- setStatic(boolean) - Method in interface spoon.reflect.reference.CtFieldReference
-
Forces a reference to a static element.
- setStatic(boolean) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- setStatic(boolean) - Method in class spoon.support.reflect.reference.CtFieldReferenceImpl
-
- setStats(boolean) - Method in class spoon.SpoonTask
-
Enables/disable printing out statistics on Spoon execution time.
- setSuperclass(CtTypeReference<?>) - Method in interface spoon.reflect.declaration.CtClass
-
Sets the superclass type.
- setSuperclass(CtTypeReference<?>) - Method in class spoon.support.reflect.declaration.CtClassImpl
-
- setSuperInterfaces(Set<CtTypeReference<?>>) - Method in interface spoon.reflect.declaration.CtType
-
Sets the super interfaces of this type.
- setSuperInterfaces(Set<CtTypeReference<?>>) - Method in class spoon.support.reflect.declaration.CtTypeImpl
-
- setSuperReference(boolean) - Method in interface spoon.reflect.reference.CtTypeReference
-
Says that this reference refers to the super implementation
- setSuperReference(boolean) - Method in class spoon.support.reflect.reference.CtTypeReferenceImpl
-
- setTabCount(int) - Method in class spoon.reflect.visitor.DefaultJavaPrettyPrinter
-
Sets the current number of tabs.
- setTabs(boolean) - Method in class spoon.SpoonTask
-
Sets Spoon to use tabulations instead of spaces when printing source.
- setTabSize(int) - Method in class spoon.SpoonTask
-
Sets the tabulation size (default is 4 spaces).
- setTabulationSize(int) - Method in interface spoon.compiler.Environment
-
Sets the size of the tabulations in the generated source code.
- setTabulationSize(int) - Method in class spoon.support.StandardEnvironment
-
- setTarget(E) - Method in interface spoon.reflect.code.CtTargetedExpression
-
Sets the target expression.
- setTarget(CtExpression<?>) - Method in class spoon.support.reflect.code.CtInvocationImpl
-
- setTarget(CtExpression<?>) - Method in class spoon.support.reflect.code.CtTargetedAccessImpl
-
- setTarget(T) - Method in class spoon.support.reflect.code.CtTargetedExpressionImpl
-
- setTargetLabel(String) - Method in interface spoon.reflect.code.CtBreak
-
Sets the label from which the control flow breaks (null if no label
defined).
- setTargetLabel(String) - Method in interface spoon.reflect.code.CtContinue
-
Sets the label from which the control flow breaks (null if no label
defined).
- setTargetLabel(String) - Method in class spoon.support.reflect.code.CtBreakImpl
-
- setTargetLabel(String) - Method in class spoon.support.reflect.code.CtContinueImpl
-
- setTemplate(File) - Method in class spoon.SpoonTask
-
- setTemplateClasspath(String...) - Method in interface spoon.compiler.SpoonCompiler
-
Sets the classpath that is used to build the template sources.
- setTemplateClasspath(Path) - Method in class spoon.SpoonTask
-
Set the classpath to be used when building the template sources.
- setTemplateClasspath(String...) - Method in class spoon.support.compiler.jdt.JDTBasedSpoonCompiler
-
- setTemplateClasspathRef(Reference) - Method in class spoon.SpoonTask
-
Template classpath to use, by reference.
- setThenExpression(CtExpression<T>) - Method in interface spoon.reflect.code.CtConditional
-
Sets the "true" expression.
- setThenExpression(CtExpression<T>) - Method in class spoon.support.reflect.code.CtConditionalImpl
-
- setThenStatement(CtStatement) - Method in interface spoon.reflect.code.CtIf
-
Sets the statement executed when the condition is true.
- setThenStatement(CtStatement) - Method in class spoon.support.reflect.code.CtIfImpl
-
- setThrownExpression(CtExpression<? extends Throwable>) - Method in interface spoon.reflect.code.CtThrow
-
Sets the thrown expression (must be a throwable).
- setThrownExpression(CtExpression<? extends Throwable>) - Method in class spoon.support.reflect.code.CtThrowImpl
-
- setThrownTypes(Set<CtTypeReference<? extends Throwable>>) - Method in interface spoon.reflect.declaration.CtExecutable
-
Sets the thrown types.
- setThrownTypes(Set<CtTypeReference<? extends Throwable>>) - Method in class spoon.support.reflect.declaration.CtExecutableImpl
-
- setType(CtTypeReference<T>) - Method in interface spoon.reflect.declaration.CtConstructor
-
This method has not effect for the constructor since its type is always
the declaring type.
- setType(CtTypeReference<T>) - Method in interface spoon.reflect.declaration.CtTypedElement
-
Sets this element's type.
- setType(CtTypeReference<T>) - Method in interface spoon.reflect.reference.CtExecutableReference
-
Sets the type of the variable.
- setType(CtTypeReference<T>) - Method in interface spoon.reflect.reference.CtVariableReference
-
Sets the type of the variable.
- setType(String) - Method in class spoon.SpoonTask.ProcessorType
-
Sets the processor's type as a string representing the Java qualified
name.
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.declaration.CtConstructorImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.declaration.CtFieldImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.declaration.CtMethodImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.reference.CtExecutableReferenceImpl
-
- setType(CtTypeReference<T>) - Method in class spoon.support.reflect.reference.CtVariableReferenceImpl
-
- setTypeCasts(List<CtTypeReference<?>>) - Method in interface spoon.reflect.code.CtExpression
-
Sets the type casts.
- setTypeCasts(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.code.CtAssignmentImpl
-
- setTypeCasts(List<CtTypeReference<?>>) - Method in class spoon.support.reflect.code.CtExpressionImpl
-
- setTypes(Set<CtSimpleType<?>>) - Method in interface spoon.reflect.declaration.CtPackage
-
Sets the types defined in the package.
- setTypes(Set<CtSimpleType<?>>) - Method in class spoon.support.reflect.declaration.CtPackageImpl
-
- setUpper(boolean) - Method in interface spoon.reflect.reference.CtTypeParameterReference
-
Set to true
if the bounds are upper bounds.
- setUpper(boolean) - Method in class spoon.support.reflect.reference.CtTypeParameterReferenceImpl
-
- setValue(T) - Method in interface spoon.reflect.code.CtLiteral
-
Sets the actual value of the literal.
- setValue(String) - Method in interface spoon.reflect.declaration.CtCodeSnippet
-
Sets the textual value of the code.
- setValue(String) - Method in class spoon.support.reflect.code.CtCodeSnippetExpressionImpl
-
- setValue(String) - Method in class spoon.support.reflect.code.CtCodeSnippetStatementImpl
-
- setValue(T) - Method in class spoon.support.reflect.code.CtLiteralImpl
-
- setValue(Template, String, Integer, Object) - Static method in class spoon.support.template.Parameters
-
Sets a template field parameter value.
- setVarArgs(boolean) - Method in interface spoon.reflect.declaration.CtParameter
-
Sets this parameter to have varargs.
- setVarArgs(boolean) - Method in class spoon.support.reflect.declaration.CtParameterImpl
-
- setVariable(CtLocalVariable<?>) - Method in interface spoon.reflect.code.CtForEach
-
Sets the variable that references the currently iterated element.
- setVariable(CtVariableReference<T>) - Method in interface spoon.reflect.code.CtVariableAccess
-
Sets the reference to the accessed variable.
- setVariable(CtLocalVariable<?>) - Method in class spoon.support.reflect.code.CtForEachImpl
-
- setVariable(CtVariableReference<T>) - Method in class spoon.support.reflect.code.CtTargetedAccessImpl
-
- setVariable(CtVariableReference<T>) - Method in class spoon.support.reflect.code.CtVariableAccessImpl
-
- setVariableValue(CtVariableReference<?>, SymbolicInstance<?>) - Method in class spoon.reflect.eval.SymbolicEvaluationStack
-
Sets the symbolic value of a variable within the top frame.
- setVerbose(boolean) - Method in interface spoon.compiler.Environment
-
Sets/unsets the verbose mode.
- setVerbose(boolean) - Method in class spoon.SpoonTask
-
Sets Spoon to be in verbose mode.
- setVerbose(boolean) - Method in class spoon.support.StandardEnvironment
-
- setVisibility(ModifierKind) - Method in interface spoon.reflect.declaration.CtModifiable
-
Sets the visibility of this modifiable element (replaces old visibility).
- setVisibility(ModifierKind) - Method in class spoon.support.reflect.code.CtLocalVariableImpl
-
- setVisibility(ModifierKind) - Method in class spoon.support.reflect.declaration.CtAnonymousExecutableImpl
-
- setVisibility(ModifierKind) - Method in class spoon.support.reflect.declaration.CtNamedElementImpl
-
- setVisible(DefaultMutableTreeNode) - Method in class spoon.support.gui.SpoonModelTree
-
- setXmlRootFolder(File) - Method in interface spoon.compiler.Environment
-
Sets the root folder where the processors' XML configuration files are
located.
- setXmlRootFolder(File) - Method in class spoon.support.StandardEnvironment
-
- Severity - Enum in spoon.processing
-
Enumeration that specifies the severity of the message reported by processors
- shoudBeConsumed(CtAnnotation<? extends Annotation>) - Method in class spoon.processing.AbstractAnnotationProcessor
-
Returns true if this annotation should be removed from the processed code.
- shoudBeConsumed(CtAnnotation<? extends Annotation>) - Method in interface spoon.processing.AnnotationProcessor
-
Returns true if this annotation should be removed from the processed code.
- SignaturePrinter - Class in spoon.support.visitor
-
- SignaturePrinter() - Constructor for class spoon.support.visitor.SignaturePrinter
-
- SnippetCompilationError - Exception in spoon.support.compiler
-
- SnippetCompilationError(List<String>) - Constructor for exception spoon.support.compiler.SnippetCompilationError
-
- SnippetCompilationError(String) - Constructor for exception spoon.support.compiler.SnippetCompilationError
-
- SnippetCompilationHelper - Class in spoon.support.compiler
-
- SnippetCompilationHelper() - Constructor for class spoon.support.compiler.SnippetCompilationHelper
-
- SortedList<E> - Class in spoon.support.util
-
- SortedList(Comparator<? super E>) - Constructor for class spoon.support.util.SortedList
-
- SourceCodeFragment - Class in spoon.reflect.cu
-
This class defines textual source code fragments that can be attached to a
compilation unit in order to modify its source code by preserving its
original formatting.
- SourceCodeFragment() - Constructor for class spoon.reflect.cu.SourceCodeFragment
-
Creates a new source code fragment with default values.
- SourceCodeFragment(int, String, int) - Constructor for class spoon.reflect.cu.SourceCodeFragment
-
Creates a new source code fragment.
- SourcePosition - Interface in spoon.reflect.cu
-
This interface represents the position of a program element in a source file.
- SourcePositionImpl - Class in spoon.support.reflect.cu
-
This class represents the position of a Java program element in a source
file.
- SourcePositionImpl(CompilationUnit, int, int, int[]) - Constructor for class spoon.support.reflect.cu.SourcePositionImpl
-
- spoon - package spoon
-
This root package provides the default integrated launchers for Spoon program processing.
- spoon.compiler - package spoon.compiler
-
This package defines interfaces for Java file compilation with Spoon.
- spoon.processing - package spoon.processing
-
This package contains the core API for code processing.
- spoon.reflect - package spoon.reflect
-
This package defines the Spoon's compile-time meta-model of Java programs.
- spoon.reflect.code - package spoon.reflect.code
-
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
- spoon.reflect.cu - package spoon.reflect.cu
-
This package defines compilation units that hold the source code and some classes around them (in most cases, these features should be ignored by the programmers).
- spoon.reflect.declaration - package spoon.reflect.declaration
-
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
- spoon.reflect.eval - package spoon.reflect.eval
-
This package defines some evaluators for the Spoon meta-model.
- spoon.reflect.eval.observer - package spoon.reflect.eval.observer
-
This package defines some observers for Spoon evaluators.
- spoon.reflect.factory - package spoon.reflect.factory
-
This package defines all the sub-factories for the Spoon meta-model.
- spoon.reflect.reference - package spoon.reflect.reference
-
This package defines the references to program elements for the meta-model.
- spoon.reflect.visitor - package spoon.reflect.visitor
-
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
- spoon.reflect.visitor.filter - package spoon.reflect.visitor.filter
-
This package contains a set of useful filters when querying the model.
- spoon.support - package spoon.support
-
This package contains some default implementations for commonly used processing tasks.
- spoon.support.compiler - package spoon.support.compiler
-
- spoon.support.compiler.jdt - package spoon.support.compiler.jdt
-
- spoon.support.gui - package spoon.support.gui
-
- spoon.support.processing - package spoon.support.processing
-
- spoon.support.reflect.code - package spoon.support.reflect.code
-
- spoon.support.reflect.cu - package spoon.support.reflect.cu
-
- spoon.support.reflect.declaration - package spoon.support.reflect.declaration
-
- spoon.support.reflect.eval - package spoon.support.reflect.eval
-
- spoon.support.reflect.reference - package spoon.support.reflect.reference
-
- spoon.support.template - package spoon.support.template
-
This package defines the substitution and matching engines for Java templates.
- spoon.support.util - package spoon.support.util
-
- spoon.support.visitor - package spoon.support.visitor
-
- spoon.template - package spoon.template
-
This package defines a framework for well-typed pure-Java templates.
- SpoonCompiler - Interface in spoon.compiler
-
This interface defines the Spoon Java compiler and code processor.
- SpoonException - Exception in spoon
-
is a generic runtime exception for Spoon
- SpoonException() - Constructor for exception spoon.SpoonException
-
- SpoonException(String) - Constructor for exception spoon.SpoonException
-
- SpoonException(Throwable) - Constructor for exception spoon.SpoonException
-
- SpoonException(String, Exception) - Constructor for exception spoon.SpoonException
-
- SpoonFile - Interface in spoon.compiler
-
This interface represents files that can be used as resources for the Spoon
compiler.
- SpoonFolder - Interface in spoon.compiler
-
A Spoon resource that represents a folder.
- SpoonletXmlHandler - Class in spoon.support.processing
-
This class defines the SAX handler to parse a Spoonlet deployment descriptor
file.
- SpoonletXmlHandler(Factory, Launcher, List<SpoonResource>) - Constructor for class spoon.support.processing.SpoonletXmlHandler
-
Creates a new handler.
- SpoonModelTree - Class in spoon.support.gui
-
- SpoonModelTree(Factory) - Constructor for class spoon.support.gui.SpoonModelTree
-
This is the default constructor
- SpoonObjectFieldsTable - Class in spoon.support.gui
-
- SpoonObjectFieldsTable(Object) - Constructor for class spoon.support.gui.SpoonObjectFieldsTable
-
This is the default constructor
- SpoonObjectFieldsTable.SpoonObjectTableModel - Class in spoon.support.gui
-
- SpoonObjectFieldsTable.SpoonObjectTableModel(Object) - Constructor for class spoon.support.gui.SpoonObjectFieldsTable.SpoonObjectTableModel
-
- SpoonResource - Interface in spoon.compiler
-
This interface defines generic resources that are used by
SpoonCompiler
in the Java compilation process.
- SpoonResourceHelper - Class in spoon.compiler
-
This class defines a helper for manipulating resources.
- SpoonTask - Class in spoon
-
This class implements an Ant task for Spoon that encapsulates
Launcher
.
- SpoonTask() - Constructor for class spoon.SpoonTask
-
Constructor.
- SpoonTask.ProcessorType - Class in spoon
-
Nested element to define a processor type.
- SpoonTask.ProcessorType() - Constructor for class spoon.SpoonTask.ProcessorType
-
Ant-required empty constructor.
- SpoonTask.ProcessorType(String) - Constructor for class spoon.SpoonTask.ProcessorType
-
Constructs a new processor type.
- SpoonTreeBuilder - Class in spoon.support.gui
-
- SpoonTreeBuilder() - Constructor for class spoon.support.gui.SpoonTreeBuilder
-
- stack - Variable in class spoon.support.reflect.eval.VisitorSymbolicEvaluator
-
- StandardEnvironment - Class in spoon.support
-
This class implements a simple Spoon environment that reports messages in the
standard output stream (Java-compliant).
- StandardEnvironment() - Constructor for class spoon.support.StandardEnvironment
-
Creates a new environment with a null
default file
generator.
- StandardEnvironment(FileGenerator<? extends CtElement>) - Constructor for class spoon.support.StandardEnvironment
-
Creates a new environment.
- start(String) - Static method in class spoon.support.util.Timer
-
Starts a timer.
- startElement(String, String, String, Attributes) - Method in class spoon.support.processing.SpoonletXmlHandler
-
Handles XML element starts.
- startElement(String, String, String, Attributes) - Method in class spoon.support.processing.XmlProcessorProperties.Loader
-
Handles a tag start.
- statement() - Method in class spoon.template.StatementTemplate
-
This method must be implemented to define the template statement list.
- statements() - Method in class spoon.template.TypedStatementListTemplateParameter
-
This method must be implemented to define the template statement list.
- StatementTemplate - Class in spoon.template
-
This class represents a template parameter that defines a statement list
directly expressed in Java (no returns).
- StatementTemplate() - Constructor for class spoon.template.StatementTemplate
-
Creates a new statement list template parameter.
- StepKind - Enum in spoon.reflect.eval
-
- stop(String) - Static method in class spoon.support.util.Timer
-
Stops a timer.
- stop() - Method in class spoon.support.util.Timer
-
Stops the current timer.
- store(SymbolicInstance<?>) - Method in class spoon.reflect.eval.SymbolicHeap
-
Stores the given symbolic instance in the heap.
- STRING - Variable in class spoon.reflect.factory.TypeFactory
-
- SubFactory - Class in spoon.reflect.factory
-
This class is the superclass for all the sub-factories of
Factory
.
- SubFactory(Factory) - Constructor for class spoon.reflect.factory.SubFactory
-
The sub-factory constructor takes an instance of the parent factory.
- substitute(CtSimpleType<?>, Template, E) - Static method in class spoon.template.Substitution
-
Substitutes all the template parameters in a random piece of code.
- substitute(Template, T) - Static method in class spoon.template.Substitution
-
Substitutes all the template parameters in a given template type and
returns the resulting type.
- substituteFieldDefaultExpression(CtSimpleType<?>, Template, String) - Static method in class spoon.template.Substitution
-
Gets a default expression from a template field with all the template
parameters substituted.
- substituteMethodBody(CtClass<?>, Template, String, CtTypeReference<?>...) - Static method in class spoon.template.Substitution
-
Gets a body from a template executable with all the template parameters
substituted.
- substituteStatement(CtClass<?>, Template, int, String, CtTypeReference<?>...) - Static method in class spoon.template.Substitution
-
Gets a statement from a template executable with all the template
parameters substituted.
- Substitution - Class in spoon.template
-
This class defines the substitution API for templates (see
Template
).
- SubstitutionVisitor - Class in spoon.support.template
-
This visitor implements the substitution engine of Spoon templates.
- SubstitutionVisitor(Factory, CtSimpleType<?>, Template) - Constructor for class spoon.support.template.SubstitutionVisitor
-
Creates a new substitution visitor.
- SubstitutionVisitor.InheritanceSustitutionScanner - Class in spoon.support.template
-
- SubstitutionVisitor.InheritanceSustitutionScanner(SubstitutionVisitor) - Constructor for class spoon.support.template.SubstitutionVisitor.InheritanceSustitutionScanner
-
- SymbolicEvaluationPath - Class in spoon.reflect.eval
-
This class defines a symbolic evaluation path as a list of abstract
evaluation steps (see
SymbolicEvaluationStep
).
- SymbolicEvaluationPath() - Constructor for class spoon.reflect.eval.SymbolicEvaluationPath
-
Creates a symbolic evaluation path.
- SymbolicEvaluationPathsMaker - Class in spoon.reflect.eval.observer
-
This symbolic evaluator observer will create all the evaluation paths for a
given evaluator.
- SymbolicEvaluationPathsMaker() - Constructor for class spoon.reflect.eval.observer.SymbolicEvaluationPathsMaker
-
The default constructor.
- SymbolicEvaluationPrinter - Class in spoon.reflect.eval.observer
-
This symbolic evaluator observer is a printer of what happens during the
evaluation.
- SymbolicEvaluationPrinter(Environment) - Constructor for class spoon.reflect.eval.observer.SymbolicEvaluationPrinter
-
The default constructor.
- SymbolicEvaluationStack - Class in spoon.reflect.eval
-
- SymbolicEvaluationStack(SymbolicEvaluationStack) - Constructor for class spoon.reflect.eval.SymbolicEvaluationStack
-
Creates a copy of the given stack.
- SymbolicEvaluationStack() - Constructor for class spoon.reflect.eval.SymbolicEvaluationStack
-
Creates an empty evaluation stack.
- SymbolicEvaluationStep - Class in spoon.reflect.eval
-
This class defines a symbolic evaluation step for a given
SymbolicEvaluator
. a symbolic evaluation step
contains a copy of the interpretor's state when the step happened.
- SymbolicEvaluationStep(StepKind, SymbolicStackFrame, SymbolicHeap) - Constructor for class spoon.reflect.eval.SymbolicEvaluationStep
-
Creates a new step.
- SymbolicEvaluator - Interface in spoon.reflect.eval
-
This interface defines a symbolic evaluator for the Spoon meta-model.
- SymbolicEvaluatorObserver - Interface in spoon.reflect.eval
-
This interface defines the basic events that can be received by a symbolic
evaluator observer (during the evaluation).
- SymbolicHeap - Class in spoon.reflect.eval
-
- SymbolicHeap() - Constructor for class spoon.reflect.eval.SymbolicHeap
-
Creates an empty heap.
- SymbolicHeap(SymbolicHeap) - Constructor for class spoon.reflect.eval.SymbolicHeap
-
Copies the given heap.
- SymbolicInstance<T> - Class in spoon.reflect.eval
-
- SymbolicInstance(String) - Constructor for class spoon.reflect.eval.SymbolicInstance
-
Creates a literal symbolic instance.
- SymbolicInstance(SymbolicEvaluator, CtTypeReference<T>, boolean) - Constructor for class spoon.reflect.eval.SymbolicInstance
-
Creates a new abstract instance (logical value).
- SymbolicInstance(SymbolicInstance<T>) - Constructor for class spoon.reflect.eval.SymbolicInstance
-
Creates a copy of the given instance.
- SymbolicStackFrame - Class in spoon.reflect.eval
-
This class represents a frame of a symbolic evaluation stack.
- SymbolicStackFrame(SymbolicStackFrame) - Constructor for class spoon.reflect.eval.SymbolicStackFrame
-
Copies a frame from a given one (does not clone stateless info).
- SymbolicStackFrame(CtAbstractInvocation<?>, SymbolicInstance<?>, SymbolicInstance<?>, CtExecutableReference<?>, List<SymbolicInstance<?>>, Map<CtVariableReference<?>, SymbolicInstance<?>>) - Constructor for class spoon.reflect.eval.SymbolicStackFrame
-
Creates a new evalutation stack frame.
- SymbolicWrappedException - Exception in spoon.support.reflect.eval
-
- SymbolicWrappedException(SymbolicInstance<? extends Throwable>, CtElement, SymbolicEvaluationStack) - Constructor for exception spoon.support.reflect.eval.SymbolicWrappedException
-