Uses of Enum Class
com.github.javaparser.ast.Node.TreeTraversal
Packages that use Node.TreeTraversal
-
Uses of Node.TreeTraversal in com.github.javaparser.ast
Methods in com.github.javaparser.ast that return Node.TreeTraversalModifier and TypeMethodDescriptionstatic Node.TreeTraversalReturns the enum constant of this class with the specified name.static Node.TreeTraversal[]Node.TreeTraversal.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.github.javaparser.ast with parameters of type Node.TreeTraversalModifier and TypeMethodDescriptionNode.findAll(Class<T> nodeType, Node.TreeTraversal traversal) Walks the AST with specified traversal order, returning all nodes of type "nodeType".<T> Optional<T> Node.findFirst(Node.TreeTraversal traversal, Function<Node, Optional<T>> consumer) Walks the AST, applying the function for every node, with traversal algorithm "traversal".Node.stream(Node.TreeTraversal traversal) Make a stream of nodes using traversal algorithm "traversal".Node.treeIterable(Node.TreeTraversal traversal) Node.treeIterator(Node.TreeTraversal traversal) voidNode.walk(Node.TreeTraversal traversal, Consumer<Node> consumer) Walks the AST, calling the consumer for every node, with traversal algorithm "traversal".