spoon.reflect.visitor |
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
Related Documentation
|
Java Source File Name | Type | Comment |
Child.java | Annotation | This annotation defines a method that contains children of an element of the
meta model. |
CtInheritanceScanner.java | Class | This class provides an abstract implementation of the visitor that allows its
subclasses to scans the metamodel elements by recursively using their
(abstract) supertype scanning methods. |
CtScanner.java | Class | This visitor implements a deep-search scan on the metamodel. |
CtStackScanner.java | Class | This class defines a scanner that maintains a scanning stack for contextual
awareness. |
CtVisitor.java | Interface | This interface defines the visitor for the Spoon metamodel, as defined in
spoon.reflect.declaration ,
spoon.reflect.code , and
spoon.reflect.reference . |
DefaultJavaPrettyPrinter.java | Class | A visitor for generating Java code from the program compile-time metamodel. |
Filter.java | Interface | This interface defines a filter for program elements. |
FragmentDrivenJavaPrettyPrinter.java | Class | This pretty printer is used when Spoon is use with the "fragments" mode. |
JavaIdentifiers.java | enum | This enum defines the Java keywords and some helper method to determine if
some strings are Java identifiers. |
ModelConsistencyChecker.java | Class | This scanner checks that a program model is consistent whith regards to the
parent elements (children must have the right parent). |
Parent.java | Annotation | This annotation defines a method that returns the parent of an element of the
meta model. |
PrettyPrinter.java | Interface | This interface defines the pretty printers. |
Query.java | Class | This class provides some useful methods to retrieve program elements and
reference through a
spoon.reflect.visitor.CtScanner -based deep
search. |
QueryVisitor.java | Class | A simple visitor that takes a filter and returns all the elements that match
it. |
ReferenceFilter.java | Interface | This interface defines a filter for program element references. |
ReferenceQueryVisitor.java | Class | A simple visitor that takes a reference filter and returns all the references
that match it. |
Root.java | Annotation | This annotation defines an element as Root of the meta model. |