org.acm.seguin.pretty
Class SpecialTokenVisitor

java.lang.Object
  extended by org.acm.seguin.pretty.SpecialTokenVisitor
All Implemented Interfaces:
net.sourceforge.jrefactory.parser.JavaParserVisitor

public class SpecialTokenVisitor
extends java.lang.Object
implements net.sourceforge.jrefactory.parser.JavaParserVisitor

Processes special tokens

Author:
Chris Seguin, Mike Atkinson

Constructor Summary
SpecialTokenVisitor()
          Constructor for the SpecialTokenVisitor object
 
Method Summary
protected  java.lang.Object processSpecialToken(net.sourceforge.jrefactory.ast.Node node, java.lang.Object data)
          Process the special token data
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTActualTypeArgument node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAdditiveExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAllocationExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAndExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationMethodDeclaration node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotation node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationTypeDeclaration node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationTypeMemberDeclaration node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArgumentList node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArguments node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArrayDimsAndInits node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArrayInitializer node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAssertionStatement node, java.lang.Object data)
          Visit the assertion node
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAssignmentOperator node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBlock node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBlockStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBooleanLiteral node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBreakStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTCastExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassBodyDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassBody node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassOrInterfaceType node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTCompilationUnit node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalAndExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalOrExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConstantDeclaration node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConstructorDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTContinueStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTDoStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEmptyStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEnumDeclaration node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEnumElement node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEqualityExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExclusiveOrExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExplicitConstructorInvocation node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFieldDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForInit node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFormalParameter node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFormalParameters node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForUpdate node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTGenericNameList node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTIdentifier node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTIfStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTImportDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInclusiveOrExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInitializer node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInstanceOfExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceBody node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceMemberDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTJSPBody node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLabeledStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLiteral node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLocalVariableDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValueArrayInitializer node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValue node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValuePair node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValuePairs node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMethodDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMethodDeclarator node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMultiplicativeExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNameList node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTName node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNestedClassDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNestedInterfaceDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNullLiteral node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPackageDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPostfixExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPreDecrementExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPreIncrementExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimaryExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimaryPrefix node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimarySuffix node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimitiveType node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReferenceTypeList node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReferenceType node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTRelationalExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTResultType node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReturnStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTShiftExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatementExpressionList node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatementExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSwitchLabel node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSwitchStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSynchronizedStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTThrowStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTryStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeArguments node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTType node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameterList node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameter node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameters node, java.lang.Object data)
          process the special tokens (Javadoc, newlines, etc.) for this node.
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnaryExpressionNotPlusMinus node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnaryExpression node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnmodifiedClassDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnmodifiedInterfaceDeclaration node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableDeclarator node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableInitializer node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTWhileStatement node, java.lang.Object data)
          Description of the Method
 java.lang.Object visit(net.sourceforge.jrefactory.ast.SimpleNode node, java.lang.Object data)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialTokenVisitor

public SpecialTokenVisitor()
Constructor for the SpecialTokenVisitor object

Method Detail

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTJSPBody node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.9.10

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameterList node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameter node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeArguments node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReferenceTypeList node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReferenceType node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassOrInterfaceType node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTActualTypeArgument node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeParameters node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTGenericNameList node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEnumDeclaration node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEnumElement node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTIdentifier node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationTypeDeclaration node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationTypeMemberDeclaration node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotationMethodDeclaration node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConstantDeclaration node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAnnotation node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValuePairs node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValuePair node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValue node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMemberValueArrayInitializer node,
                              java.lang.Object data)
process the special tokens (Javadoc, newlines, etc.) for this node. It uses processSpecialToken() to do all the work.

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - process this node.
data - of class PrintData
Returns:
Updated PrintData
Since:
JRefactory 2.7.00

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.SimpleNode node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTCompilationUnit node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPackageDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTImportDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTypeDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnmodifiedClassDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassBody node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNestedClassDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTClassBodyDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNestedInterfaceDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnmodifiedInterfaceDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceBody node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInterfaceMemberDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFieldDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableDeclarator node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableDeclaratorId node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTVariableInitializer node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArrayInitializer node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMethodDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMethodDeclarator node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFormalParameters node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTFormalParameter node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConstructorDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExplicitConstructorInvocation node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInitializer node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTType node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimitiveType node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTResultType node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTName node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNameList node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAssignmentOperator node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalOrExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTConditionalAndExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInclusiveOrExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTExclusiveOrExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAndExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEqualityExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTInstanceOfExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTRelationalExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTShiftExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAdditiveExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTMultiplicativeExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnaryExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPreIncrementExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPreDecrementExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTUnaryExpressionNotPlusMinus node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPostfixExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTCastExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimaryExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimaryPrefix node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTPrimarySuffix node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLiteral node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBooleanLiteral node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTNullLiteral node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArguments node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArgumentList node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAllocationExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTArrayDimsAndInits node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLabeledStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBlock node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBlockStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTLocalVariableDeclaration node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTEmptyStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatementExpression node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSwitchStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSwitchLabel node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTIfStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTWhileStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTDoStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForInit node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTStatementExpressionList node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTForUpdate node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTBreakStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTContinueStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTReturnStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTThrowStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTSynchronizedStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTTryStatement node,
                              java.lang.Object data)
Description of the Method

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - Description of Parameter
data - Description of Parameter
Returns:
Description of the Returned Value

visit

public java.lang.Object visit(net.sourceforge.jrefactory.ast.ASTAssertionStatement node,
                              java.lang.Object data)
Visit the assertion node

Specified by:
visit in interface net.sourceforge.jrefactory.parser.JavaParserVisitor
Parameters:
node - the node
data - the data needed to perform the visit
Returns:
the result of visiting the node

processSpecialToken

protected java.lang.Object processSpecialToken(net.sourceforge.jrefactory.ast.Node node,
                                               java.lang.Object data)
Process the special token data

Parameters:
node - the node that the special token data is associated with
data - the special token data
Returns:
the special token data