Klasse AjNaiveASTFlattener


public class AjNaiveASTFlattener extends AjASTVisitor
Internal AST visitor for serializing an AST in a quick and dirty fashion. For various reasons the resulting string is not necessarily legal Java code; and even if it is legal Java code, it is not necessarily the string that corresponds to the given AST. Although useless for most purposes, it's fine for generating debug print strings.

Example usage:

 
    NaiveASTFlattener p = new NaiveASTFlattener();
    node.accept(p);
    String result = p.getResult();
 
 

Call the reset method to clear the previous result before reusing an existing instance.

Seit:
2.0
  • Felddetails

    • buffer

      protected StringBuffer buffer
      The string buffer into which the serialized representation of the AST is written.
  • Konstruktordetails

    • AjNaiveASTFlattener

      public AjNaiveASTFlattener()
      Creates a new AST printer.
  • Methodendetails

    • getResult

      public String getResult()
      Returns the string accumulated in the visit.
      Gibt zurück:
      the serialized
    • reset

      public void reset()
      Resets this printer so that it can be used again.
    • 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(ArrayAccess 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(ArrayCreation 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(ArrayInitializer 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(ArrayType 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(AssertStatement 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(Assignment 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(Block 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(BlockComment node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

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

      Note: LineComment and BlockComment nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.

      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(BooleanLiteral 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(BreakStatement 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(CastExpression 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(CatchClause 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(CharacterLiteral 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(ClassInstanceCreation 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(CompilationUnit 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(ConditionalExpression 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(ConstructorInvocation 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(ContinueStatement 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(DoStatement 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(EmptyStatement 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(EnhancedForStatement 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(PointcutDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • 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(ExpressionStatement 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(FieldAccess 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(FieldDeclaration 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(ForStatement 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(IfStatement 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(InfixExpression 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(InstanceofExpression 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(Javadoc node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given AST node.

      Unlike other node types, the boolean returned by the default implementation is controlled by a constructor-supplied parameter ASTVisitor(boolean) which is false by default. 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
      Siehe auch:
    • visit

      public boolean visit(LabeledStatement 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(LineComment node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

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

      Note: LineComment and BlockComment nodes are not considered part of main structure of the AST. This method will only be called if a client goes out of their way to visit this kind of node explicitly.

      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(MemberRef 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(MemberValuePair 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(MethodRef 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(MethodRefParameter 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(MethodInvocation 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(Modifier 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(NullLiteral 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(NumberLiteral 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(ParameterizedType 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(ParenthesizedExpression 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(PostfixExpression 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(PrefixExpression 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(PrimitiveType 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(QualifiedName 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(QualifiedType 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(ReturnStatement 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(SimpleName 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(SimpleType 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(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(StringLiteral 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(SuperConstructorInvocation 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(SuperFieldAccess 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(SuperMethodInvocation 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(SwitchCase 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(SwitchStatement 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(SynchronizedStatement 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(TagElement 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(TextElement 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(ThisExpression 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(ThrowStatement 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(TryStatement 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(TypeDeclarationStatement 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(TypeLiteral 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(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(VariableDeclarationExpression 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(VariableDeclarationStatement 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(WildcardType 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(WhileStatement 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(DeclareParentsDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(DeclareWarningDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(DeclareErrorDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(DeclareSoftDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(DeclarePrecedenceDeclaration node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(AbstractBooleanTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(AnyTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(AnyWithAnnotationTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(EllipsisTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(HasMemberTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(IdentifierTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(NotTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(NoTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(TypeCategoryTypePattern node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor
    • visit

      public boolean visit(DefaultPointcut node)
      Setzt außer Kraft:
      visit in Klasse AjASTVisitor