org.eclipse.jdt.internal.core.util
Class DOMFinder
java.lang.Object
ASTVisitor
org.eclipse.jdt.internal.core.util.DOMFinder
public class DOMFinder
- extends ASTVisitor
|
Constructor Summary |
DOMFinder(CompilationUnit ast,
SourceRefElement element,
boolean resolveBinding)
|
|
Method Summary |
protected boolean |
found(ASTNode node,
ASTNode name)
|
ASTNode |
search()
|
boolean |
visit(AnnotationTypeDeclaration node)
|
boolean |
visit(AnnotationTypeMemberDeclaration node)
|
boolean |
visit(AnonymousClassDeclaration node)
|
boolean |
visit(EnumConstantDeclaration node)
|
boolean |
visit(EnumDeclaration node)
|
boolean |
visit(ImportDeclaration node)
|
boolean |
visit(Initializer node)
|
boolean |
visit(MarkerAnnotation node)
|
boolean |
visit(MethodDeclaration node)
|
boolean |
visit(NormalAnnotation node)
|
boolean |
visit(PackageDeclaration node)
|
boolean |
visit(SingleMemberAnnotation node)
|
boolean |
visit(TypeDeclaration node)
|
boolean |
visit(TypeParameter node)
|
boolean |
visit(VariableDeclarationFragment node)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
foundNode
public ASTNode foundNode
foundBinding
public IBinding foundBinding
DOMFinder
public DOMFinder(CompilationUnit ast,
SourceRefElement element,
boolean resolveBinding)
found
protected boolean found(ASTNode node,
ASTNode name)
search
public ASTNode search()
throws JavaModelException
- Throws:
JavaModelException
visit
public boolean visit(AnnotationTypeDeclaration node)
visit
public boolean visit(AnnotationTypeMemberDeclaration node)
visit
public boolean visit(AnonymousClassDeclaration node)
visit
public boolean visit(EnumConstantDeclaration node)
visit
public boolean visit(EnumDeclaration node)
visit
public boolean visit(ImportDeclaration node)
visit
public boolean visit(Initializer node)
visit
public boolean visit(MarkerAnnotation node)
visit
public boolean visit(MethodDeclaration node)
visit
public boolean visit(NormalAnnotation node)
visit
public boolean visit(PackageDeclaration node)
visit
public boolean visit(SingleMemberAnnotation node)
visit
public boolean visit(TypeDeclaration node)
visit
public boolean visit(TypeParameter node)
visit
public boolean visit(VariableDeclarationFragment node)