Class WrapPreparator
-
Constructor Summary
ConstructorDescriptionWrapPreparator(TokenManager tokenManager, DefaultCodeFormatterOptions options, int kind)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endVisit(DoStatement node)
End of visit the given type-specific AST node.void
void
Visits the given AST node following the type-specific visit (afterendVisit
).boolean
Visits the given AST node prior to the type-specific visit (beforevisit
).boolean
visit(AnnotationTypeDeclaration node)
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit(AnonymousClassDeclaration node)
Visits the given type-specific AST node.boolean
visit(ArrayInitializer node)
Visits the given type-specific AST node.boolean
visit(AssertStatement node)
Visits the given type-specific AST node.boolean
visit(Assignment node)
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit(CatchClause node)
Visits the given type-specific AST node.boolean
visit(ClassInstanceCreation node)
Visits the given type-specific AST node.boolean
visit(ConditionalExpression node)
Visits the given type-specific AST node.boolean
visit(ConstructorInvocation node)
Visits the given type-specific AST node.boolean
visit(CreationReference node)
Visits the given type-specific AST node.boolean
visit(DoStatement node)
Visits the given type-specific AST node.boolean
visit(EnhancedForStatement node)
Visits the given type-specific AST node.boolean
visit(EnumConstantDeclaration node)
Visits the given type-specific AST node.boolean
visit(EnumDeclaration node)
Visits the given type-specific AST node.boolean
visit(ExportsDirective node)
Visits the given type-specific AST node.boolean
visit(ExpressionMethodReference node)
Visits the given type-specific AST node.boolean
visit(FieldAccess node)
Visits the given type-specific AST node.boolean
visit(FieldDeclaration node)
Visits the given type-specific AST node.boolean
visit(ForStatement node)
Visits the given type-specific AST node.boolean
visit(IfStatement node)
Visits the given type-specific AST node.boolean
visit(InfixExpression node)
Visits the given type-specific AST node.boolean
visit(LambdaExpression node)
Visits the given type-specific AST node.boolean
visit(MethodDeclaration node)
Visits the given type-specific AST node.boolean
visit(MethodInvocation node)
Visits the given type-specific AST node.boolean
visit(NormalAnnotation node)
Visits the given type-specific AST node.boolean
visit(OpensDirective node)
Visits the given type-specific AST node.boolean
visit(PackageDeclaration node)
Visits the given type-specific AST node.boolean
visit(ParameterizedType node)
Visits the given type-specific AST node.boolean
visit(ProvidesDirective node)
Visits the given type-specific AST node.boolean
visit(QualifiedName node)
Visits the given type-specific AST node.boolean
visit(RecordDeclaration node)
Visits the given type-specific AST node.boolean
visit(SingleMemberAnnotation node)
Visits the given type-specific AST node.boolean
visit(SingleVariableDeclaration node)
Visits the given type-specific AST node.boolean
visit(SuperConstructorInvocation node)
Visits the given type-specific AST node.boolean
visit(SuperFieldAccess node)
Visits the given type-specific AST node.boolean
visit(SuperMethodInvocation node)
Visits the given type-specific AST node.boolean
visit(SuperMethodReference node)
Visits the given type-specific AST node.boolean
visit(SwitchExpression node)
Visits the given type-specific AST node.boolean
visit(SwitchStatement node)
Visits the given type-specific AST node.boolean
visit(ThisExpression node)
Visits the given type-specific AST node.boolean
visit(TryStatement node)
Visits the given type-specific AST node.boolean
visit(TypeDeclaration node)
Visits the given type-specific AST node.boolean
visit(TypeMethodReference node)
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit(VariableDeclarationFragment node)
Visits the given type-specific AST node.boolean
Visits the given type-specific AST node.boolean
visit(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, 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
-
Constructor Details
-
WrapPreparator
-
-
Method Details
-
preVisit2
Description copied from class:ASTVisitor
Visits 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:
preVisit2
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
ifvisit(node)
should be called, andfalse
otherwise.- See Also:
ASTVisitor.preVisit(ASTNode)
-
postVisit
Description copied from class:ASTVisitor
Visits the given AST node following the type-specific visit (afterendVisit
).The default implementation does nothing. Subclasses may reimplement.
- Overrides:
postVisit
in classASTVisitor
- Parameters:
node
- the node to visit
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
endVisit
Description copied from class:ASTVisitor
End of visit the given type-specific AST node.The default implementation does nothing. Subclasses may reimplement.
- Overrides:
endVisit
in classASTVisitor
- Parameters:
node
- the node to visit
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may re-implement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
visit
Description copied from class:ASTVisitor
Visits the given type-specific AST node.The default implementation does nothing and return true. Subclasses may reimplement.
- Overrides:
visit
in classASTVisitor
- Parameters:
node
- the node to visit- Returns:
true
if the children of this node should be visited, andfalse
if the children of this node should be skipped
-
finishUp
-