Uses of Annotation Type
spoon.support.Experimental
Packages that use 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
Classes in spoon with annotations of type ExperimentalModifier and TypeClassDescriptionclassVerifies all contracts that should hold on any AST. -
Uses of Experimental in spoon.experimental
Classes in spoon.experimental with annotations of type ExperimentalModifier and TypeClassDescriptioninterfaceThis annotation is used to mark a workaround for the lack of a correct classpath so called noclasspathmode. -
Uses of Experimental in spoon.pattern
Classes in spoon.pattern with annotations of type ExperimentalModifier and TypeInterfaceDescriptioninterfaceGenerates code from patterns.classBuilds inline statements of Pattern For example if the `for` statement in this pattern modelclassRepresents a pattern for matching code.classThe master class to create aPatterninstance.classUtility class to select parts of AST to be used as a model of aPatternBuilder.classUsed to define pattern parameters. -
Uses of Experimental in spoon.reflect.cu
Methods in spoon.reflect.cu with annotations of type ExperimentalModifier 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
Classes in spoon.reflect.declaration with annotations of type ExperimentalMethods in spoon.reflect.declaration with annotations of type ExperimentalModifier 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
Classes in spoon.reflect.visitor with annotations of type ExperimentalModifier and TypeClassDescriptionclassForces 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 followingCtElement.isImplicit().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.reference
Classes in spoon.support.reflect.reference with annotations of type ExperimentalModifier and TypeClassDescriptionclassThis 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
Classes in spoon.support.sniper with annotations of type ExperimentalModifier and TypeClassDescriptionclassPrettyPrinterimplementation, 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
Classes in spoon.support.sniper.internal with annotations of type ExperimentalModifier and TypeClassDescriptionclassSourceFragmentof List or Set ofElementSourceFragments which belong to collection role.classRepresents a part of source code of anCtElementIt is connected into a tree ofElementSourceFragments.interfaceRepresents a part of source code.classaSourceFragmentof some primitive String token, like separator, operator, whitespace, ...