Example usage for Java org.eclipse.jdt.core.dom NodeFinder fields, constructors, methods, implement or subclass
The text is from its open source code.
NodeFinder(ASTNode root, int start, int length) Instantiate a new node finder using the given root node, the given start and the given length. |
ASTNode | getCoveredNode() If the AST contains nodes whose range is equal to the selection, returns the innermost of those nodes. |
ASTNode | getCoveringNode() Returns the innermost node that fully contains the selection. |
ASTNode | perform(ASTNode root, int start, int length) Maps a selection to an ASTNode, where the selection is defined using a start and a length. |
ASTNode | perform(ASTNode root, ISourceRange range) Maps a selection to an ASTNode, where the selection is defined using a source range. |
ASTNode | perform(ASTNode root, int start, int length, ITypeRoot source) Maps a selection to an ASTNode, where the selection is given by a start and a length. |