Uses of Annotation Type
spoon.support.Experimental
Package
Description
This root package provides the default integrated launchers for Spoon program processing.
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
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 spoon
Modifier and TypeClassDescriptionclass
Verifies all contracts that should hold on any AST. -
Uses of Experimental in spoon.experimental
Modifier and TypeClassDescriptioninterface
This annotation is used to mark a workaround for the lack of a correct classpath so called noclasspathmode. -
Uses of Experimental in spoon.pattern
Modifier and TypeInterfaceDescriptioninterface
Generates code from patterns.class
Builds inline statements of Pattern For example if the `for` statement in this pattern modelclass
Represents a pattern for matching code.class
The master class to create aPattern
instance.class
Utility class to select parts of AST to be used as a model of aPatternBuilder
.class
Used to define pattern parameters. -
Uses of Experimental in spoon.reflect.cu
Modifier and TypeMethodDescriptionSourcePositionHolder.getOriginalSourceFragment()
Returns the original source code (maybe different from toString() if a transformation has been applied). -
Uses of Experimental in spoon.reflect.declaration
Modifier and TypeMethodDescriptionCtCompilationUnit.getImports()
Get the imports computed for this CU.CtElement.prettyprint()
CtCompilationUnit.setImports(Collection<CtImport> imports)
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.visitor
Modifier and TypeClassDescriptionclass
Forces fully qualified identifiers by making many elements explicit (by calling setImplicit(false)).class
Marks all types references as implicit so all types will get imported.class
Updates list of import statements of compilation unit followingCtElement.isImplicit()
.class
Detects conflicts needed to be required be a fully-qualified name.interface
Used to compute the imports required to write readable code with no fully qualified names.interface
Represents that a lexical scope in the language Note that scopes are changing after variable declaration. -
Uses of Experimental in spoon.support.reflect.reference
Modifier and TypeClassDescriptionclass
This class intends to be used only to represent the reference of a static import of all members of a type: import static org.junit.Assert.*; -
Uses of Experimental in spoon.support.sniper
Modifier and TypeClassDescriptionclass
PrettyPrinter
implementation, 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.internal
Modifier and TypeClassDescriptionclass
SourceFragment
of List or Set ofElementSourceFragment
s which belong to collection role.class
Represents a part of source code of anCtElement
It is connected into a tree ofElementSourceFragment
s.interface
Represents a part of source code.class
aSourceFragment
of some primitive String token, like separator, operator, whitespace, ...