public class ASTFormatter
extends org.eclipse.jdt.core.dom.ASTVisitor
CompilationUnit
object), and outputs the formatted
Java source code. It is modified from
org.eclipse.jdt.core.dom.NaiveASTFlattener in Eclipse 3.0.ASTVisitor
Constructor and Description |
---|
ASTFormatter(java.lang.StringBuffer buffer)
Construct an AST formatter with a
StringBuffer where the
formatter output will be added. |
ASTFormatter(java.lang.StringBuffer buffer,
char[] source)
Construct an AST formatter with a
StringBuffer where the
formatter output will be added. |
ASTFormatter(java.lang.StringBuffer buffer,
java.io.InputStream sourceStream)
Construct an AST formatter with a
StringBuffer where the
formatter output will be added. |
ASTFormatter(java.io.Writer writer)
Construct an AST formatter with a writer to which the formatted
output will be written.
|
ASTFormatter(java.io.Writer writer,
char[] source)
Construct an AST formatter with a writer to which the formatted
output will be written.
|
ASTFormatter(java.io.Writer writer,
java.io.InputStream sourceStream)
Construct an AST formatter with a writer to which the formatted
output will be written.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Read in one or more Java source files, parse them with the
Eclipse parser, format their AST, and print out to the standard
output.
|
void |
postVisit(org.eclipse.jdt.core.dom.ASTNode node)
Handle an AST node before it is visited.
|
void |
preVisit(org.eclipse.jdt.core.dom.ASTNode node)
Handle an AST node after it is visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.AnnotationTypeDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.AnonymousClassDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ArrayAccess node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ArrayCreation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ArrayInitializer node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ArrayType node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.AssertStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.Assignment node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.Block node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.BlockComment node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.BooleanLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.BreakStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.CastExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.CatchClause node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.CharacterLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ClassInstanceCreation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.CompilationUnit node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ConditionalExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ConstructorInvocation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ContinueStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.DoStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.EmptyStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.EnhancedForStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.EnumConstantDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.EnumDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ExpressionStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.FieldAccess node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.FieldDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ForStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.IfStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ImportDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.InfixExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.Initializer node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.InstanceofExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.Javadoc node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.LabeledStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.LineComment node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MarkerAnnotation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MemberRef node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MemberValuePair node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MethodDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MethodInvocation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MethodRef node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.MethodRefParameter node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.Modifier node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.NormalAnnotation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.NullLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.NumberLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.PackageDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ParameterizedType node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ParenthesizedExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.PostfixExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.PrefixExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.PrimitiveType node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.QualifiedName node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.QualifiedType node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ReturnStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SimpleName node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SimpleType node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SingleVariableDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.StringLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SuperConstructorInvocation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SuperFieldAccess node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SuperMethodInvocation node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SwitchCase node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SwitchStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.SynchronizedStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TagElement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TextElement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ThisExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.ThrowStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TryStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TypeDeclaration node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TypeDeclarationStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TypeLiteral node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.TypeParameter node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.VariableDeclarationExpression node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.VariableDeclarationFragment node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.VariableDeclarationStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.WhileStatement node)
Visit an ast node, and return whether its children should be further
visited.
|
boolean |
visit(org.eclipse.jdt.core.dom.WildcardType node)
Visit an ast node, and return whether its children should be further
visited.
|
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, preVisit2, visit
public ASTFormatter(java.lang.StringBuffer buffer)
StringBuffer
where the
formatter output will be added.buffer
- The string buffer to be used.public ASTFormatter(java.lang.StringBuffer buffer, java.io.InputStream sourceStream)
StringBuffer
where the
formatter output will be added.buffer
- The string buffer to be used.sourceStream
- The input stream from which the Java source can be
read in.public ASTFormatter(java.lang.StringBuffer buffer, char[] source)
StringBuffer
where the
formatter output will be added.buffer
- The string buffer to be used.source
- The array that contains the Java source.public ASTFormatter(java.io.Writer writer)
writer
- The writer to write to.public ASTFormatter(java.io.Writer writer, java.io.InputStream sourceStream)
writer
- The writer to write to.sourceStream
- The input stream from which the Java source can be
read in.public ASTFormatter(java.io.Writer writer, char[] source)
writer
- The writer to write to.source
- The array that contains the Java source.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The names of Java source files.java.lang.Exception
- If error occurs.public void postVisit(org.eclipse.jdt.core.dom.ASTNode node)
postVisit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public void preVisit(org.eclipse.jdt.core.dom.ASTNode node)
preVisit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.AnnotationTypeDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.AnonymousClassDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ArrayAccess node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ArrayCreation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ArrayInitializer node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ArrayType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.AssertStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.Assignment node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.Block node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.BlockComment node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.BooleanLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.BreakStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.CastExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.CatchClause node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.CharacterLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ClassInstanceCreation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.CompilationUnit node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ConditionalExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ConstructorInvocation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ContinueStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.DoStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.EmptyStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.EnhancedForStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.EnumConstantDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.EnumDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ExpressionStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.FieldAccess node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.FieldDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ForStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.IfStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ImportDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.InfixExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.Initializer node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.InstanceofExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.Javadoc node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.LabeledStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.LineComment node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MarkerAnnotation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MemberRef node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MemberValuePair node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MethodDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MethodInvocation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MethodRef node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.MethodRefParameter node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.Modifier node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.NormalAnnotation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.NullLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.NumberLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.PackageDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ParameterizedType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ParenthesizedExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.PostfixExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.PrefixExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.PrimitiveType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.QualifiedName node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.QualifiedType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ReturnStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SimpleName node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SimpleType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SingleVariableDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.StringLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SuperConstructorInvocation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SuperFieldAccess node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SuperMethodInvocation node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SwitchCase node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SwitchStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.SynchronizedStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TagElement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TextElement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ThisExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.ThrowStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TryStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TypeDeclaration node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TypeDeclarationStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TypeLiteral node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.TypeParameter node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.VariableDeclarationExpression node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.VariableDeclarationFragment node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.VariableDeclarationStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.WhileStatement node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.public boolean visit(org.eclipse.jdt.core.dom.WildcardType node)
visit
in class org.eclipse.jdt.core.dom.ASTVisitor
node
- The AST node.