java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.ASTVisitor
org.aspectj.org.eclipse.jdt.internal.core.util.DOMFinder

public class DOMFinder extends ASTVisitor
  • Felddetails

    • foundNode

      public ASTNode foundNode
    • foundBinding

      public IBinding foundBinding
  • Konstruktordetails

  • Methodendetails

    • found

      protected boolean found(ASTNode node, ASTNode name)
    • search

      public ASTNode search() throws JavaModelException
      Löst aus:
      JavaModelException
    • visit

      public boolean visit(AnnotationTypeDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(AnnotationTypeMemberDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(AnonymousClassDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(EnumConstantDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(EnumDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(ImportDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(Initializer node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(MarkerAnnotation node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(MethodDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(ModuleDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(NormalAnnotation node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(PackageDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(SingleMemberAnnotation node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(TypeDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(RecordDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may re-implement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(TypeParameter node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(VariableDeclarationFragment node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(SingleVariableDeclaration node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • visit

      public boolean visit(LambdaExpression node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and return true. Subclasses may reimplement.

      Setzt außer Kraft:
      visit in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if the children of this node should be visited, and false if the children of this node should be skipped