Uses of Package
spoon.reflect.visitor
Package
Description
This root package provides the default integrated launchers for Spoon program processing.
This package defines interfaces for Java file compilation with Spoon.
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
This package contains legacy code of Spoon.
This package defines the Spoon's compile-time meta-model of Java programs.
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
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 all the sub-factories for the Spoon meta-model.
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains a set of useful filters when querying the model.
This package contains some default implementations for commonly used processing tasks.
This package provides support for the sniper mode: only the transformed part of classes is rewritten to disk.
This package defines a framework for well-typed pure-Java templates.
-
ClassDescriptionThis interface defines a filter for program elements.This interface defines the pretty printers.
-
-
ClassDescriptionThis interface defines the visitor for the different types of CtImportThis visitor implements a deep-search scan on the model.Define a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
-
-
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.ExtendsCtScanner
, to support early termination of scanning process and scan listeners. -
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionDefine a visitable element in spoon.This interface defines a filter for program elements.
-
ClassDescriptionDefine a visitable element in spoon.This interface defines a filter for program elements.
-
-
-
ClassDescriptionThis interface defines the visitor for the different types of CtImportDefine a visitable element in spoon.This interface defines a filter for program elements.This annotation defines an element as Root of the meta model.
-
ClassDescriptionDefine a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
-
ClassDescriptionDefines the core bi-scan responsibility.Provides an empty implementation of CtVisitor.This interface defines the visitor for the different types of CtImportThis visitor implements a deep-search scan on the model.Define a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.A visitor for generating Java code from the program compile-time model.Implementation ofTokenWriter
, which writes all tokens toPrinterHelper
ExtendsCtScanner
, to support early termination of scanning process and scan listeners.Whether to print generic types for references.This interface defines a filter for program elements.Updates list of import statements of compilation unit followingCtElement.isImplicit()
.a set of imports for a given compilation unitA scanner that initializes context for a compilation unit.Used to compute the imports required to write readable code with no fully qualified names.This enum defines the Java keywords and some helper method to determine if some strings are Java identifiers.Represents that a lexical scope in the language Note that scopes are changing after variable declaration.ACtScanner
which provides current lexical scope of currently scanned AST node.This interface defines the pretty printers.Supports configurable printing of text with indentations and line and column countingResponsible for writing a token while pretty-printing. -
-
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.This interface defines a filter for program elements. -
-
ClassDescriptionThis class provides an abstract implementation of the visitor that allows its subclasses to scan the metamodel elements by recursively using their (abstract) supertype scanning methods.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.This interface defines a filter for program elements. -
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionDefine a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.This interface defines a filter for program elements. -
-
ClassDescriptionThis interface defines the visitor for the different types of CtImportDefine a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.This interface defines a filter for program elements. -
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionDefine a visitable element in spoon.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionThis interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
.A visitor for generating Java code from the program compile-time model.This interface defines the pretty printers. -
ClassDescriptionSupports configurable printing of text with indentations and line and column countingResponsible for writing a token while pretty-printing.
-
ClassDescriptionThis class provides an abstract implementation of the visitor that allows its subclasses to scan the metamodel elements by recursively using their (abstract) supertype scanning methods.This visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionThis class provides an abstract implementation of the visitor that allows its subclasses to scan the metamodel elements by recursively using their (abstract) supertype scanning methods.This visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionDefines the core bi-scan responsibility.Provides an empty implementation of CtVisitor.This visitor implements a deep-search scan on the model for 2 elements.This class provides an abstract implementation of the visitor that allows its subclasses to scan the metamodel elements by recursively using their (abstract) supertype scanning methods.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -
ClassDescriptionThis visitor implements a deep-search scan on the model.This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration
,spoon.reflect.code
, andspoon.reflect.reference
. -