Uses of Interface
spoon.reflect.visitor.CtVisitor
Package
Description
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
This package defines all the sub-factories for the Spoon 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 provides support for the sniper mode: only the transformed part of classes is rewritten to disk.
-
Uses of CtVisitor in spoon.experimental
Modifier and TypeClassDescriptionclass
Visitor that generates factory calls to recreate the AST visited. -
Uses of CtVisitor in spoon.pattern.internal.matcher
-
Uses of CtVisitor in spoon.refactoring
Modifier and TypeClassDescriptionclass
Class for creating a mapping from CtExecutable to all known calls from fields and methods. -
Uses of CtVisitor in spoon.reflect.factory
-
Uses of CtVisitor in spoon.reflect.visitor
Modifier and TypeClassDescriptionclass
class
Defines the core bi-scan responsibility.class
Provides an empty implementation of CtVisitor.class
A class to be able to iterate over the children elements in the tree of a given node, in breadth-first order.class
This visitor implements a deep-search scan on the model for 2 elements.class
This class defines a scanner that maintains a scanning stack for contextual awareness.class
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.class
A class to be able to iterate over the children elements in the tree of a given node, in depth-first order.class
This visitor implements a deep-search scan on the model.class
A visitor for generating Java code from the program compile-time model.class
ExtendsCtScanner
, to support early termination of scanning process and scan listeners.class
A scanner that initializes context for a compilation unit.class
A scanner that calculates the imports for a given model.class
ACtScanner
which provides current lexical scope of currently scanned AST node.class
This scanner checks that a program model is consistent with regards to the parent elements (children must have the right parent). -
Uses of CtVisitor in spoon.reflect.visitor.filter
Modifier and TypeClassDescriptionprotected class
protected class
-
Uses of CtVisitor in spoon.support.compiler.jdt
-
Uses of CtVisitor in spoon.support.gui
-
Uses of CtVisitor in spoon.support.reflect.code
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of CtVisitor in spoon.support.reflect.declaration
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of CtVisitor in spoon.support.reflect.eval
Modifier and TypeClassDescriptionclass
Simplifies an AST inline based onVisitorPartialEvaluator
(wanring: the nodes are changed).class
Simplifies an AST by performing all operations that are statically known and changes the AST accordingly (eg "0+1" -> "1") This visitor implements a simple partial evaluator for the program compile-time metamodel. -
Uses of CtVisitor in spoon.support.reflect.reference
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of CtVisitor 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 CtVisitor in spoon.support.visitor
Modifier and TypeClassDescriptionclass
Responsible for computing CtElement.hashCode().class
This visitor implements the code processing engine.class
Responsible for computing signatures for elements where a signature exists (CtType, CtMethod and CtPackage).class
A scanner that calculates the imports for a given model. -
Uses of CtVisitor in spoon.support.visitor.clone
Modifier and TypeClassDescriptionclass
Used to set all data in the cloned element.class
Used to clone a given element. -
Uses of CtVisitor in spoon.support.visitor.equals
Modifier and TypeClassDescriptionclass
class
Used to check equality between an element and another one. -
Uses of CtVisitor in spoon.support.visitor.replace
Modifier and TypeClassDescriptionclass
Used to replace an element by another one.