Klasse LineBreaksPreparator

java.lang.Object
org.aspectj.org.eclipse.jdt.core.dom.ASTVisitor
org.aspectj.org.eclipse.jdt.internal.formatter.LineBreaksPreparator

public class LineBreaksPreparator extends ASTVisitor
  • Konstruktordetails

  • Methodendetails

    • preVisit2

      public boolean preVisit2(ASTNode node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given AST node prior to the type-specific visit (before visit).

      The default implementation calls ASTVisitor.preVisit(ASTNode) and then returns true. Subclasses may reimplement.

      Setzt außer Kraft:
      preVisit2 in Klasse ASTVisitor
      Parameter:
      node - the node to visit
      Gibt zurück:
      true if visit(node) should be called, and false otherwise.
      Siehe auch:
    • 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(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(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(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(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(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(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(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(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(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(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(SwitchExpression 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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(TextBlock node)
      Beschreibung aus Klasse kopiert: ASTVisitor
      Visits the given type-specific AST node.

      The default implementation does nothing and returns 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
    • finishUp

      public void finishUp()