Uses of Annotation Type
This root package provides the default integrated launchers for Spoon program processing.
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).
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package provides support for the sniper mode: only the transformed part of classes is rewritten to disk.
Uses of Experimental in spoonModifier and TypeClassDescription
classVerifies all contracts that should hold on any AST.
Uses of Experimental in spoon.patternModifier and TypeInterfaceDescription
interfaceGenerates code from patterns.
classBuilds inline statements of Pattern For example if the `for` statement in this pattern model
classRepresents a pattern for matching code.
classThe master class to create a
classUtility class to select parts of AST to be used as a model of a
classUsed to define pattern parameters.
Uses of Experimental in spoon.reflect.cuModifier and TypeMethodDescriptionSourcePositionHolder.
()Returns the original source code (maybe different from toString() if a transformation has been applied).
Uses of Experimental in spoon.reflect.declarationModifier and TypeInterfaceDescription
interfaceDefines a compilation unit.Modifier and TypeMethodDescriptionCtCompilationUnit.
()Get the imports computed for this CU.CtElement.
()Set the imports of this CU WARNING: This method is tagged as experimental, as its signature and/or usage might change in future release.
Uses of Experimental in spoon.reflect.visitorModifier and TypeClassDescription
classForces fully qualified identifiers by making many elements explicit (by calling setImplicit(false)).
classMarks all types references as implicit so all types will get imported.
classUpdates list of import statements of compilation unit following
classDetects conflicts needed to be required be a fully-qualified name.
interfaceUsed to compute the imports required to write readable code with no fully qualified names.
interfaceRepresents that a lexical scope in the language Note that scopes are changing after variable declaration.
Uses of Experimental in spoon.support.reflect.referenceModifier and TypeClassDescription
classThis class intends to be used only to represent the reference of a static import of all members of a type: import static org.junit.Assert.*;
Uses of Experimental in spoon.support.sniperModifier and TypeClassDescription
PrettyPrinterimplementation, which copies as much as possible from the origin sources and tries to only print the changed elements.
Uses of Experimental in spoon.support.sniper.internalModifier and TypeClassDescription
interfaceRepresents a part of source code.
SourceFragmentof some primitive String token, like separator, operator, whitespace, ...