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 TypeClassDescriptionclassVisitor 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 TypeClassDescriptionclassClass 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 TypeClassDescriptionclassclassDefines the core bi-scan responsibility.classProvides an empty implementation of CtVisitor.classA class to be able to iterate over the children elements in the tree of a given node, in breadth-first order.classThis visitor implements a deep-search scan on the model for 2 elements.classThis class defines a scanner that maintains a scanning stack for contextual awareness.classThis 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.classA class to be able to iterate over the children elements in the tree of a given node, in depth-first order.classThis visitor implements a deep-search scan on the model.classA visitor for generating Java code from the program compile-time model.classExtendsCtScanner, to support early termination of scanning process and scan listeners.classA scanner that initializes context for a compilation unit.classA scanner that calculates the imports for a given model.classACtScannerwhich provides current lexical scope of currently scanned AST node.classThis 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 classprotected 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of CtVisitor in spoon.support.reflect.declaration
Methods in spoon.support.reflect.declaration with parameters of type CtVisitorModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of CtVisitor in spoon.support.reflect.eval
Classes in spoon.support.reflect.eval that implement CtVisitorModifier and TypeClassDescriptionclassSimplifies an AST inline based onVisitorPartialEvaluator(wanring: the nodes are changed).classSimplifies 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of CtVisitor in spoon.support.sniper
Classes in spoon.support.sniper that implement CtVisitorModifier and TypeClassDescriptionclassPrettyPrinterimplementation, 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 TypeClassDescriptionclassResponsible for computing CtElement.hashCode().classThis visitor implements the code processing engine.classResponsible for computing signatures for elements where a signature exists (CtType, CtMethod and CtPackage).classA 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 TypeClassDescriptionclassUsed to set all data in the cloned element.classUsed to clone a given element. -
Uses of CtVisitor in spoon.support.visitor.equals
Classes in spoon.support.visitor.equals that implement CtVisitorModifier and TypeClassDescriptionclassclassUsed 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 TypeClassDescriptionclassUsed to replace an element by another one.