|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.dom.ASTVisitor
org.aspectj.org.eclipse.jdt.internal.core.util.DOMFinder
public class DOMFinder
| Field Summary | |
|---|---|
IBinding |
foundBinding
|
ASTNode |
foundNode
|
| Constructor Summary | |
|---|---|
DOMFinder(CompilationUnit ast,
SourceRefElement element,
boolean resolveBinding)
|
|
| Method Summary | |
|---|---|
protected boolean |
found(ASTNode node,
ASTNode name)
|
ASTNode |
search()
|
boolean |
visit(AnnotationTypeDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(AnnotationTypeMemberDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(AnonymousClassDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(EnumConstantDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(EnumDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(ImportDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(Initializer node)
Visits the given type-specific AST node. |
boolean |
visit(MarkerAnnotation node)
Visits the given type-specific AST node. |
boolean |
visit(MethodDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(NormalAnnotation node)
Visits the given type-specific AST node. |
boolean |
visit(PackageDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(SingleMemberAnnotation node)
Visits the given type-specific AST node. |
boolean |
visit(TypeDeclaration node)
Visits the given type-specific AST node. |
boolean |
visit(TypeParameter node)
Visits the given type-specific AST node. |
boolean |
visit(VariableDeclarationFragment node)
Visits the given type-specific AST node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ASTNode foundNode
public IBinding foundBinding
| Constructor Detail |
|---|
public DOMFinder(CompilationUnit ast,
SourceRefElement element,
boolean resolveBinding)
| Method Detail |
|---|
protected boolean found(ASTNode node,
ASTNode name)
public ASTNode search()
throws JavaModelException
JavaModelExceptionpublic boolean visit(AnnotationTypeDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(AnnotationTypeMemberDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(AnonymousClassDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(EnumConstantDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(EnumDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(ImportDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(Initializer node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(MarkerAnnotation node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(MethodDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(NormalAnnotation node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(PackageDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(SingleMemberAnnotation node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(TypeDeclaration node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(TypeParameter node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skippedpublic boolean visit(VariableDeclarationFragment node)
ASTVisitorThe default implementation does nothing and return true. Subclasses may reimplement.
visit in class ASTVisitornode - the node to visit
true if the children of this node should be
visited, and false if the children of this node should
be skipped
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||