Uses of Interface
spoon.reflect.visitor.CtVisitor
Packages that use 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
Classes in spoon.experimental that implement CtVisitorModifier and TypeClassDescriptionclass
Visitor that generates factory calls to recreate the AST visited.Methods in spoon.experimental with parameters of type CtVisitor -
Uses of CtVisitor in spoon.pattern.internal.matcher
Classes in spoon.pattern.internal.matcher that implement CtVisitor -
Uses of CtVisitor in spoon.refactoring
Classes in spoon.refactoring that implement CtVisitorModifier and TypeClassDescriptionclass
Class for creating a mapping from CtExecutable to all known calls from fields and methods. -
Uses of CtVisitor in spoon.reflect.factory
Methods in spoon.reflect.factory with parameters of type CtVisitor -
Uses of CtVisitor in spoon.reflect.visitor
Classes in spoon.reflect.visitor that implement CtVisitorModifier 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).Methods in spoon.reflect.visitor with parameters of type CtVisitor -
Uses of CtVisitor in spoon.reflect.visitor.filter
Classes in spoon.reflect.visitor.filter that implement CtVisitorModifier and TypeClassDescriptionprotected class
protected class
-
Uses of CtVisitor in spoon.support.compiler.jdt
Classes in spoon.support.compiler.jdt that implement CtVisitor -
Uses of CtVisitor in spoon.support.gui
Classes in spoon.support.gui that implement CtVisitor -
Uses of CtVisitor in spoon.support.reflect.code
Methods in spoon.support.reflect.code with parameters of type CtVisitorModifier 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
Methods in spoon.support.reflect.declaration with parameters of type CtVisitorModifier 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
Classes in spoon.support.reflect.eval that implement CtVisitorModifier 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
Methods in spoon.support.reflect.reference with parameters of type CtVisitorModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of CtVisitor in spoon.support.sniper
Classes in spoon.support.sniper that implement CtVisitorModifier 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
Classes in spoon.support.visitor that implement CtVisitorModifier 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
Classes in spoon.support.visitor.clone that implement CtVisitorModifier 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
Classes in spoon.support.visitor.equals that implement CtVisitorModifier and TypeClassDescriptionclass
class
Used to check equality between an element and another one. -
Uses of CtVisitor in spoon.support.visitor.replace
Classes in spoon.support.visitor.replace that implement CtVisitorModifier and TypeClassDescriptionclass
Used to replace an element by another one.