Class TextBlockReplacePreparator

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

public class TextBlockReplacePreparator extends ASTVisitor
  • Constructor Details

  • Method Details

    • visit

      public boolean visit(TextBlock node)
      Description copied from class: ASTVisitor
      Visits the given type-specific AST node.

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

      Overrides:
      visit in class ASTVisitor
      Parameters:
      node - the node to visit
      Returns:
      true if the children of this node should be visited, and false if the children of this node should be skipped
    • needFormat

      public boolean needFormat(Token block)