Class LineBreaksPreparator
-
Constructor Summary
ConstructorsConstructorDescriptionLineBreaksPreparator(TokenManager tokenManager, DefaultCodeFormatterOptions options) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishUp()booleanVisits the given AST node prior to the type-specific visit (beforevisit).booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(ArrayInitializer node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(CatchClause node) Visits the given type-specific AST node.booleanvisit(CompilationUnit node) Visits the given type-specific AST node.booleanvisit(DoStatement node) Visits the given type-specific AST node.booleanvisit(EnhancedForStatement node) Visits the given type-specific AST node.booleanvisit(EnumConstantDeclaration node) Visits the given type-specific AST node.booleanvisit(EnumDeclaration node) Visits the given type-specific AST node.booleanvisit(FieldDeclaration node) Visits the given type-specific AST node.booleanvisit(ForStatement node) Visits the given type-specific AST node.booleanvisit(IfStatement node) Visits the given type-specific AST node.booleanvisit(ImportDeclaration node) Visits the given type-specific AST node.booleanvisit(LabeledStatement node) Visits the given type-specific AST node.booleanvisit(MethodDeclaration node) Visits the given type-specific AST node.booleanvisit(ModuleDeclaration node) Visits the given type-specific AST node.booleanvisit(PackageDeclaration node) Visits the given type-specific AST node.booleanvisit(RecordDeclaration node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(SwitchExpression node) Visits the given type-specific AST node.booleanvisit(SwitchStatement node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(TryStatement node) Visits the given type-specific AST node.booleanvisit(TypeDeclaration node) Visits the given type-specific AST node.booleanvisit(UnnamedClass node) Visits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanVisits the given type-specific AST node.booleanvisit(WhileStatement node) Visits the given type-specific AST node.Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.ASTVisitor
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, postVisit, preVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
LineBreaksPreparator
-
-
Method Details
-
preVisit2
Description copied from class:ASTVisitorVisits the given AST node prior to the type-specific visit (beforevisit).The default implementation calls
ASTVisitor.preVisit(ASTNode)and then returns true. Subclasses may reimplement.- Overrides:
preVisit2in classASTVisitor- Parameters:
node- the node to visit- Returns:
trueifvisit(node)should be called, andfalseotherwise.- See Also:
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the node to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-
finishUp
public void finishUp() -
visit
Description copied from class:ASTVisitorVisits the given type-specific AST node.The default implementation does nothing and returns true. Subclasses may reimplement.
- Overrides:
visitin classASTVisitor- Parameters:
node- the unnamedClass to visit- Returns:
trueif the children of this node should be visited, andfalseif the children of this node should be skipped
-