Uses of Package
spoon.reflect.visitor.chain
Package
Description
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
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 defines a framework for well-typed pure-Java templates.
-
-
ClassDescriptionThe functional interface used to receive objects.Represents an object on which one can make queries.
-
-
ClassDescriptionRepresents a function, as
CtFunction
.Abstraction for functions in the Spoon realm.CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Represents an object on which one can make queries. -
-
-
-
-
ClassDescriptionCtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Represents an object on which one can make queries.
-
-
ClassDescriptionResponsible for performing an action when a scanner enters/exits a node while scanning the AST.Defines how a
CtScannerListener
drives the scanning ofEarlyTerminatingScanner
-
ClassDescriptionRepresents a function, as
CtFunction
.The functional interface used to receive objects.Abstraction for functions in the Spoon realm.CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Represents an object on which one can make queries.Use inCtQuery.failurePolicy(QueryFailurePolicy)
to define how to handle failureDefines how aCtScannerListener
drives the scanning ofEarlyTerminatingScanner
-
ClassDescriptionRepresents a function, as
CtFunction
.The functional interface used to receive objects.CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Expert-only capability interface so as to write advancedCtFunction
andFilter
that need to access the state of the top-levelCtQuery
instance containing the function to be evaluated.Responsible for performing an action when a scanner enters/exits a node while scanning the AST.Defines how aCtScannerListener
drives the scanning ofEarlyTerminatingScanner
-
-
-
ClassDescriptionRepresents a function, as
CtFunction
.Abstraction for functions in the Spoon realm.CtQuery represents a query, which can be used to traverse a spoon model and collect children elements in several ways.Represents an object on which one can make queries. -
-
-