Uses of Class
spoon.reflect.visitor.CtScanner
Packages that use CtScanner
Package
Description
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
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.
-
Uses of CtScanner in spoon.experimental
Subclasses of CtScanner in spoon.experimentalModifier and TypeClassDescriptionclassVisitor that generates factory calls to recreate the AST visited. -
Uses of CtScanner in spoon.pattern.internal.matcher
Subclasses of CtScanner in spoon.pattern.internal.matcher -
Uses of CtScanner in spoon.refactoring
Subclasses of CtScanner in spoon.refactoringModifier and TypeClassDescriptionclassClass for creating a mapping from CtExecutable to all known calls from fields and methods. -
Uses of CtScanner in spoon.reflect.visitor
Subclasses of CtScanner in spoon.reflect.visitorModifier and TypeClassDescriptionclassclassA class to be able to iterate over the children elements in the tree of a given node, in breadth-first order.classThis class defines a scanner that maintains a scanning stack for contextual awareness.classA class to be able to iterate over the children elements in the tree of a given node, in depth-first order.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). -
Uses of CtScanner in spoon.reflect.visitor.filter
Subclasses of CtScanner in spoon.reflect.visitor.filterModifier and TypeClassDescriptionprotected classprotected class -
Uses of CtScanner in spoon.support.gui
Subclasses of CtScanner in spoon.support.gui -
Uses of CtScanner in spoon.support.reflect.eval
Subclasses of CtScanner in spoon.support.reflect.evalModifier 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 CtScanner in spoon.support.visitor
Subclasses of CtScanner in spoon.support.visitorModifier and TypeClassDescriptionclassThis 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 CtScanner in spoon.support.visitor.clone
Subclasses of CtScanner in spoon.support.visitor.clone -
Uses of CtScanner in spoon.support.visitor.replace
Subclasses of CtScanner in spoon.support.visitor.replaceModifier and TypeClassDescriptionclassUsed to replace an element by another one.