RECODER 0.92

recoder.java
Class SourceVisitor

java.lang.Object
  extended by recoder.java.SourceVisitor
Direct Known Subclasses:
PrettyPrinter

public abstract class SourceVisitor
extends java.lang.Object

A source visitor defines actions to be triggered while visiting source elements. The PrettyPrinteris an instance of this visitor.


Constructor Summary
SourceVisitor()
           
 
Method Summary
 void visitAbstract(Abstract x)
          Visits the specified abstract modifier.
 void visitAnnotationDeclaration(AnnotationDeclaration x)
           
 void visitAnnotationPropertyDeclaration(AnnotationPropertyDeclaration x)
          Visits the specified annotation property declaration.
 void visitAnnotationPropertyReference(AnnotationPropertyReference x)
          Visit the specified AnnotationPropertyReference.
 void visitAnnotationUse(AnnotationUseSpecification a)
          visits the specified annotation.
 void visitArrayInitializer(ArrayInitializer x)
          Visits the specified array initializer.
 void visitArrayReference(ArrayReference x)
          Visits the specified array reference.
 void visitAssert(Assert x)
          Visits the specified assert statement.
 void visitBinaryAnd(BinaryAnd x)
          Visits the specified binary-and operator.
 void visitBinaryAndAssignment(BinaryAndAssignment x)
          Visits the specified binary-and assignment operator.
 void visitBinaryNot(BinaryNot x)
          Visits the specified binary-not operator.
 void visitBinaryOr(BinaryOr x)
          Visits the specified binary-or operator.
 void visitBinaryOrAssignment(BinaryOrAssignment x)
          Visits the specified binary-or assignment operator.
 void visitBinaryXOr(BinaryXOr x)
          Visits the specified binary-xor operator.
 void visitBinaryXOrAssignment(BinaryXOrAssignment x)
          Visits the specified binary-xor assignment operator.
 void visitBooleanLiteral(BooleanLiteral x)
          Visits the specified boolean literal.
 void visitBreak(Break x)
          Visits the specified break statement.
 void visitCase(Case x)
          Visits the specified case statement.
 void visitCatch(Catch x)
          Visits the specified catch branch.
 void visitCharLiteral(CharLiteral x)
          Visits the specified char literal.
 void visitClassDeclaration(ClassDeclaration x)
          Visits the specified class declaration.
 void visitClassInitializer(ClassInitializer x)
          Visits the specified class initializer.
 void visitComment(Comment x)
          Visits the specified comment.
 void visitCompilationUnit(CompilationUnit x)
          Visits the specified compilation unit.
 void visitConditional(Conditional x)
          Visits the specified conditional operator.
 void visitConstructorDeclaration(ConstructorDeclaration x)
          Visits the specified constructor declaration.
 void visitContinue(Continue x)
          Visits the specified continue statement.
 void visitCopyAssignment(CopyAssignment x)
          Visits the specified copy assignment operator.
 void visitDeclarationSpecifier(DeclarationSpecifier x)
           
 void visitDefault(Default x)
          Visits the specified default branch.
 void visitDivide(Divide x)
          Visits the specified divide operator.
 void visitDivideAssignment(DivideAssignment x)
          Visits the specified divide assignment operator.
 void visitDo(Do x)
          Visits the specified do statement.
 void visitDocComment(DocComment x)
          Visits the specified doc comment.
 void visitDoubleLiteral(DoubleLiteral x)
          Visits the specified double literal.
 void visitElementValueArrayInitializer(ElementValueArrayInitializer x)
          Visits the specified element value array initializer.
 void visitElementValuePair(AnnotationElementValuePair x)
          visits the specified annotation.
 void visitElse(Else x)
          Visits the specified else branch.
 void visitEmptyStatement(EmptyStatement x)
          Visits the specified empty statement.
 void visitEnhancedFor(EnhancedFor x)
          Visits the specified enhanced for statement.
 void visitEnumConstantDeclaration(EnumConstantDeclaration x)
          Visits the specified EnumConstantDeclaration.
 void visitEnumConstantSpecification(EnumConstantSpecification x)
          Visits the specified EnumConstantSpecification.
 void visitEnumConstructorReference(EnumConstructorReference x)
          Visits the specified EnumConstructorReference, which is part of an EnumConstantSpecification.
 void visitEnumDeclaration(EnumDeclaration x)
          Visits the specified EnumDeclaration.
 void visitEquals(Equals x)
          Visits the specified equals operator.
 void visitExtends(Extends x)
          Visits the specified extends.
 void visitFieldDeclaration(FieldDeclaration x)
          Visits the specified field declaration.
 void visitFieldReference(FieldReference x)
          Visits the specified field reference.
 void visitFieldSpecification(FieldSpecification x)
          Visits the specified field specification.
 void visitFinal(Final x)
          Visits the specified final modifier.
 void visitFinally(Finally x)
          Visits the specified finally branch.
 void visitFloatLiteral(FloatLiteral x)
          Visits the specified float literal.
 void visitFor(For x)
          Visits the specified for statement.
 void visitGreaterOrEquals(GreaterOrEquals x)
          Visits the specified greater-or-equals operator.
 void visitGreaterThan(GreaterThan x)
          Visits the specified greater-than operator.
 void visitIdentifier(Identifier x)
          Visits the specified identifier.
 void visitIf(If x)
          Visits the specified if statement.
 void visitImplements(Implements x)
          Visits the specified implements clause.
 void visitImport(Import x)
          Visits the specified import.
 void visitInstanceof(Instanceof x)
          Visits the specified instanceof operator.
 void visitInterfaceDeclaration(InterfaceDeclaration x)
          Visits the specified interface declaration.
 void visitIntLiteral(IntLiteral x)
          Visits the specified int literal.
 void visitLabeledStatement(LabeledStatement x)
          Visits the specified labeled statement.
 void visitLessOrEquals(LessOrEquals x)
          Visits the specified less-or-equals operator.
 void visitLessThan(LessThan x)
          Visits the specified less-than operator.
protected  void visitLiteral(Literal x)
          Hook method that visits the specified literal.
 void visitLocalVariableDeclaration(LocalVariableDeclaration x)
          Visits the specified local variable declaration.
 void visitLogicalAnd(LogicalAnd x)
          Visits the specified logical-and operator.
 void visitLogicalNot(LogicalNot x)
          Visits the specified logical-not operator.
 void visitLogicalOr(LogicalOr x)
          Visits the specified logical-or operator.
 void visitLongLiteral(LongLiteral x)
          Visits the specified long literal.
 void visitMetaClassReference(MetaClassReference x)
          Visits the specified meta-class reference.
 void visitMethodDeclaration(MethodDeclaration x)
          Visits the specified method declaration.
 void visitMethodReference(MethodReference x)
          Visits the specified method reference.
 void visitMinus(Minus x)
          Visits the specified minus operator.
 void visitMinusAssignment(MinusAssignment x)
          Visits the specified minus assignment operator.
protected  void visitModifier(Modifier x)
          Hook method that visits the specified modifier.
 void visitModulo(Modulo x)
          Visits the specified modulo operator.
 void visitModuloAssignment(ModuloAssignment x)
          Visits the specified modulo assignment operator.
 void visitNative(Native x)
          Visits the specified native modifier.
 void visitNegative(Negative x)
          Visits the specified negative operator.
 void visitNew(New x)
          Visits the specified new operator.
 void visitNewArray(NewArray x)
          Visits the specified new-array operator.
 void visitNotEquals(NotEquals x)
          Visits the specified not-equals operator.
 void visitNullLiteral(NullLiteral x)
          Visits the specified null literal.
protected  void visitOperator(Operator x)
          Hook method that visits the specified operator.
 void visitPackageReference(PackageReference x)
          Visits the specified package reference.
 void visitPackageSpecification(PackageSpecification x)
          Visits the specified package specification.
 void visitParameterDeclaration(ParameterDeclaration x)
          Visits the specified parameter declaration.
 void visitParenthesizedExpression(ParenthesizedExpression x)
          Visits the specified parenthesized expression.
 void visitPlus(Plus x)
          Visits the specified plus operator.
 void visitPlusAssignment(PlusAssignment x)
          Visits the specified plus assignment operator.
 void visitPositive(Positive x)
          Visits the specified positive operator.
 void visitPostDecrement(PostDecrement x)
          Visits the specified post-decrement operator.
 void visitPostIncrement(PostIncrement x)
          Visits the specified post-increment operator.
 void visitPreDecrement(PreDecrement x)
          Visits the specified pre-decrement operator.
 void visitPreIncrement(PreIncrement x)
          Visits the specified pre-increment operator.
 void visitPrivate(Private x)
          Visits the specified private modifier.
 void visitProtected(Protected x)
          Visits the specified protected modifier.
 void visitPublic(Public x)
          Visits the specified public modifier.
 void visitReturn(Return x)
          Visits the specified return statement.
 void visitShiftLeft(ShiftLeft x)
          Visits the specified shift-left operator.
 void visitShiftLeftAssignment(ShiftLeftAssignment x)
          Visits the specified shift-left assignment operator.
 void visitShiftRight(ShiftRight x)
          Visits the specified shift-right operator.
 void visitShiftRightAssignment(ShiftRightAssignment x)
          Visits the specified shift-right assignment operator.
 void visitSingleLineComment(SingleLineComment x)
          Visits the specified single-line comment.
 void visitStatementBlock(StatementBlock x)
          Visits the specified statement block.
 void visitStatic(Static x)
          Visits the specified static modifier.
 void visitStrictFp(StrictFp x)
          Visits the specified strictfp modifier.
 void visitStringLiteral(StringLiteral x)
          Visits the specified string literal.
 void visitSuperConstructorReference(SuperConstructorReference x)
          Visits the specified super-constructor reference.
 void visitSuperReference(SuperReference x)
          Visits the specified super reference.
 void visitSwitch(Switch x)
          Visits the specified switch statement.
 void visitSynchronized(Synchronized x)
          Visits the specified synchronized modifier.
 void visitSynchronizedBlock(SynchronizedBlock x)
          Visits the specified synchronized block.
 void visitThen(Then x)
          Visits the specified then branch.
 void visitThisConstructorReference(ThisConstructorReference x)
          Visits the specified this-constructor reference.
 void visitThisReference(ThisReference x)
          Visits the specified this reference.
 void visitThrow(Throw x)
          Visits the specified throw statement.
 void visitThrows(Throws x)
          Visits the specified throws clause.
 void visitTimes(Times x)
          Visits the specified times operator.
 void visitTimesAssignment(TimesAssignment x)
          Visits the specified times assignment operator.
 void visitTransient(Transient x)
          Visits the specified transient modifier.
 void visitTry(Try x)
          Visits the specified try statement.
 void visitTypeArgument(TypeArgumentDeclaration x)
          Visits the specified TypeArgument.
 void visitTypeCast(TypeCast x)
          Visits the specified type cast operator.
 void visitTypeParameter(TypeParameterDeclaration x)
           
 void visitTypeReference(TypeReference x)
          Visits the specified type reference.
 void visitUncollatedReferenceQualifier(UncollatedReferenceQualifier x)
          Visits the specified uncollated reference qualifier.
 void visitUnsignedShiftRight(UnsignedShiftRight x)
          Visits the specified unsigned shift-right operator.
 void visitUnsignedShiftRightAssignment(UnsignedShiftRightAssignment x)
          Visits the specified unsigned shift-right assignment operator.
protected  void visitVariableDeclaration(VariableDeclaration x)
          Visits the specified variable declaration.
 void visitVariableReference(VariableReference x)
          Visits the specified variable reference.
 void visitVariableSpecification(VariableSpecification x)
          Visits the specified variable specification.
 void visitVolatile(Volatile x)
          Visits the specified volatile modifier.
 void visitWhile(While x)
          Visits the specified while statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceVisitor

public SourceVisitor()
Method Detail

visitCompilationUnit

public void visitCompilationUnit(CompilationUnit x)
Visits the specified compilation unit. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitIdentifier

public void visitIdentifier(Identifier x)
Visits the specified identifier. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitImport

public void visitImport(Import x)
Visits the specified import. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitPackageSpecification

public void visitPackageSpecification(PackageSpecification x)
Visits the specified package specification. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitStatementBlock

public void visitStatementBlock(StatementBlock x)
Visits the specified statement block. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitClassDeclaration

public void visitClassDeclaration(ClassDeclaration x)
Visits the specified class declaration. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitAnnotationDeclaration

public void visitAnnotationDeclaration(AnnotationDeclaration x)

visitClassInitializer

public void visitClassInitializer(ClassInitializer x)
Visits the specified class initializer. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitConstructorDeclaration

public void visitConstructorDeclaration(ConstructorDeclaration x)
Visits the specified constructor declaration. The default implementation calls visitMethodDeclaration(recoder.java.declaration.MethodDeclaration).

Parameters:
x - the program element to visit.

visitExtends

public void visitExtends(Extends x)
Visits the specified extends. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitFieldDeclaration

public void visitFieldDeclaration(FieldDeclaration x)
Visits the specified field declaration. The default implementation calls visitVariableDeclaration(recoder.java.declaration.VariableDeclaration).

Parameters:
x - the program element to visit.

visitImplements

public void visitImplements(Implements x)
Visits the specified implements clause. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitInterfaceDeclaration

public void visitInterfaceDeclaration(InterfaceDeclaration x)
Visits the specified interface declaration. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitLocalVariableDeclaration

public void visitLocalVariableDeclaration(LocalVariableDeclaration x)
Visits the specified local variable declaration. The default implementation calls visitVariableDeclaration(recoder.java.declaration.VariableDeclaration).

Parameters:
x - the program element to visit.

visitMethodDeclaration

public void visitMethodDeclaration(MethodDeclaration x)
Visits the specified method declaration. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitAnnotationPropertyDeclaration

public void visitAnnotationPropertyDeclaration(AnnotationPropertyDeclaration x)
Visits the specified annotation property declaration. Defaults to call visitMethodDeclaration.

Parameters:
x - the program element to visit.

visitAnnotationPropertyReference

public void visitAnnotationPropertyReference(AnnotationPropertyReference x)
Visit the specified AnnotationPropertyReference. Defaults to call x.getIdentifier().accept(this), if identifier is not null.

Parameters:
x -

visitParameterDeclaration

public void visitParameterDeclaration(ParameterDeclaration x)
Visits the specified parameter declaration. The default implementation calls visitVariableDeclaration(recoder.java.declaration.VariableDeclaration).

Parameters:
x - the program element to visit.

visitThrows

public void visitThrows(Throws x)
Visits the specified throws clause. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitVariableSpecification

public void visitVariableSpecification(VariableSpecification x)
Visits the specified variable specification. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitFieldSpecification

public void visitFieldSpecification(FieldSpecification x)
Visits the specified field specification. The default implementation calls visitVariableSpecification(recoder.java.declaration.VariableSpecification).

Parameters:
x - the program element to visit.

visitAbstract

public void visitAbstract(Abstract x)
Visits the specified abstract modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to visit.

visitFinal

public void visitFinal(Final x)
Visits the specified final modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitNative

public void visitNative(Native x)
Visits the specified native modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitPrivate

public void visitPrivate(Private x)
Visits the specified private modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitProtected

public void visitProtected(Protected x)
Visits the specified protected modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitPublic

public void visitPublic(Public x)
Visits the specified public modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitStatic

public void visitStatic(Static x)
Visits the specified static modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitStrictFp

public void visitStrictFp(StrictFp x)
Visits the specified strictfp modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitSynchronized

public void visitSynchronized(Synchronized x)
Visits the specified synchronized modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitTransient

public void visitTransient(Transient x)
Visits the specified transient modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitVolatile

public void visitVolatile(Volatile x)
Visits the specified volatile modifier. The default implementation calls visitModifier(recoder.java.declaration.Modifier).

Parameters:
x - the program element to final.

visitElementValuePair

public void visitElementValuePair(AnnotationElementValuePair x)
visits the specified annotation. The default implementation does nothing.

Parameters:
a -

visitAnnotationUse

public void visitAnnotationUse(AnnotationUseSpecification a)
visits the specified annotation. The default implementation calls visitDeclarationSpecifier(recoder.java.declaration.DeclarationSpecifier).

Parameters:
a -

visitDeclarationSpecifier

public void visitDeclarationSpecifier(DeclarationSpecifier x)

visitArrayInitializer

public void visitArrayInitializer(ArrayInitializer x)
Visits the specified array initializer. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitElementValueArrayInitializer

public void visitElementValueArrayInitializer(ElementValueArrayInitializer x)
Visits the specified element value array initializer. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitParenthesizedExpression

public void visitParenthesizedExpression(ParenthesizedExpression x)
Visits the specified parenthesized expression. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitBooleanLiteral

public void visitBooleanLiteral(BooleanLiteral x)
Visits the specified boolean literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitCharLiteral

public void visitCharLiteral(CharLiteral x)
Visits the specified char literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitDoubleLiteral

public void visitDoubleLiteral(DoubleLiteral x)
Visits the specified double literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitFloatLiteral

public void visitFloatLiteral(FloatLiteral x)
Visits the specified float literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitIntLiteral

public void visitIntLiteral(IntLiteral x)
Visits the specified int literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitLongLiteral

public void visitLongLiteral(LongLiteral x)
Visits the specified long literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitNullLiteral

public void visitNullLiteral(NullLiteral x)
Visits the specified null literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitStringLiteral

public void visitStringLiteral(StringLiteral x)
Visits the specified string literal. The default implementation calls visitLiteral(recoder.java.expression.Literal).

Parameters:
x - the program element to visit.

visitBinaryAnd

public void visitBinaryAnd(BinaryAnd x)
Visits the specified binary-and operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryAndAssignment

public void visitBinaryAndAssignment(BinaryAndAssignment x)
Visits the specified binary-and assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryNot

public void visitBinaryNot(BinaryNot x)
Visits the specified binary-not operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryOr

public void visitBinaryOr(BinaryOr x)
Visits the specified binary-or operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryOrAssignment

public void visitBinaryOrAssignment(BinaryOrAssignment x)
Visits the specified binary-or assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryXOr

public void visitBinaryXOr(BinaryXOr x)
Visits the specified binary-xor operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBinaryXOrAssignment

public void visitBinaryXOrAssignment(BinaryXOrAssignment x)
Visits the specified binary-xor assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitConditional

public void visitConditional(Conditional x)
Visits the specified conditional operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitCopyAssignment

public void visitCopyAssignment(CopyAssignment x)
Visits the specified copy assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitDivide

public void visitDivide(Divide x)
Visits the specified divide operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitDivideAssignment

public void visitDivideAssignment(DivideAssignment x)
Visits the specified divide assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitEquals

public void visitEquals(Equals x)
Visits the specified equals operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitGreaterOrEquals

public void visitGreaterOrEquals(GreaterOrEquals x)
Visits the specified greater-or-equals operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitGreaterThan

public void visitGreaterThan(GreaterThan x)
Visits the specified greater-than operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitInstanceof

public void visitInstanceof(Instanceof x)
Visits the specified instanceof operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitLessOrEquals

public void visitLessOrEquals(LessOrEquals x)
Visits the specified less-or-equals operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitLessThan

public void visitLessThan(LessThan x)
Visits the specified less-than operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitLogicalAnd

public void visitLogicalAnd(LogicalAnd x)
Visits the specified logical-and operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitLogicalNot

public void visitLogicalNot(LogicalNot x)
Visits the specified logical-not operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitLogicalOr

public void visitLogicalOr(LogicalOr x)
Visits the specified logical-or operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitMinus

public void visitMinus(Minus x)
Visits the specified minus operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitMinusAssignment

public void visitMinusAssignment(MinusAssignment x)
Visits the specified minus assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitModulo

public void visitModulo(Modulo x)
Visits the specified modulo operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitModuloAssignment

public void visitModuloAssignment(ModuloAssignment x)
Visits the specified modulo assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitNegative

public void visitNegative(Negative x)
Visits the specified negative operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitNew

public void visitNew(New x)
Visits the specified new operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitNewArray

public void visitNewArray(NewArray x)
Visits the specified new-array operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitNotEquals

public void visitNotEquals(NotEquals x)
Visits the specified not-equals operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPlus

public void visitPlus(Plus x)
Visits the specified plus operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPlusAssignment

public void visitPlusAssignment(PlusAssignment x)
Visits the specified plus assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPositive

public void visitPositive(Positive x)
Visits the specified positive operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPostDecrement

public void visitPostDecrement(PostDecrement x)
Visits the specified post-decrement operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPostIncrement

public void visitPostIncrement(PostIncrement x)
Visits the specified post-increment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPreDecrement

public void visitPreDecrement(PreDecrement x)
Visits the specified pre-decrement operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitPreIncrement

public void visitPreIncrement(PreIncrement x)
Visits the specified pre-increment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitShiftLeft

public void visitShiftLeft(ShiftLeft x)
Visits the specified shift-left operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitShiftLeftAssignment

public void visitShiftLeftAssignment(ShiftLeftAssignment x)
Visits the specified shift-left assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitShiftRight

public void visitShiftRight(ShiftRight x)
Visits the specified shift-right operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitShiftRightAssignment

public void visitShiftRightAssignment(ShiftRightAssignment x)
Visits the specified shift-right assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitTimes

public void visitTimes(Times x)
Visits the specified times operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitTimesAssignment

public void visitTimesAssignment(TimesAssignment x)
Visits the specified times assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitTypeCast

public void visitTypeCast(TypeCast x)
Visits the specified type cast operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitUnsignedShiftRight

public void visitUnsignedShiftRight(UnsignedShiftRight x)
Visits the specified unsigned shift-right operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitUnsignedShiftRightAssignment

public void visitUnsignedShiftRightAssignment(UnsignedShiftRightAssignment x)
Visits the specified unsigned shift-right assignment operator. The default implementation calls visitOperator(recoder.java.expression.Operator).

Parameters:
x - the program element to visit.

visitBreak

public void visitBreak(Break x)
Visits the specified break statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitCase

public void visitCase(Case x)
Visits the specified case statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitCatch

public void visitCatch(Catch x)
Visits the specified catch branch. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitContinue

public void visitContinue(Continue x)
Visits the specified continue statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitDefault

public void visitDefault(Default x)
Visits the specified default branch. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitDo

public void visitDo(Do x)
Visits the specified do statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitElse

public void visitElse(Else x)
Visits the specified else branch. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitEmptyStatement

public void visitEmptyStatement(EmptyStatement x)
Visits the specified empty statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitFinally

public void visitFinally(Finally x)
Visits the specified finally branch. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitFor

public void visitFor(For x)
Visits the specified for statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitEnhancedFor

public void visitEnhancedFor(EnhancedFor x)
Visits the specified enhanced for statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitAssert

public void visitAssert(Assert x)
Visits the specified assert statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitIf

public void visitIf(If x)
Visits the specified if statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitLabeledStatement

public void visitLabeledStatement(LabeledStatement x)
Visits the specified labeled statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitReturn

public void visitReturn(Return x)
Visits the specified return statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitSwitch

public void visitSwitch(Switch x)
Visits the specified switch statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitSynchronizedBlock

public void visitSynchronizedBlock(SynchronizedBlock x)
Visits the specified synchronized block. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitThen

public void visitThen(Then x)
Visits the specified then branch. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitThrow

public void visitThrow(Throw x)
Visits the specified throw statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitTry

public void visitTry(Try x)
Visits the specified try statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitWhile

public void visitWhile(While x)
Visits the specified while statement. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitArrayReference

public void visitArrayReference(ArrayReference x)
Visits the specified array reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitFieldReference

public void visitFieldReference(FieldReference x)
Visits the specified field reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitMetaClassReference

public void visitMetaClassReference(MetaClassReference x)
Visits the specified meta-class reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitMethodReference

public void visitMethodReference(MethodReference x)
Visits the specified method reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitPackageReference

public void visitPackageReference(PackageReference x)
Visits the specified package reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitSuperConstructorReference

public void visitSuperConstructorReference(SuperConstructorReference x)
Visits the specified super-constructor reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitSuperReference

public void visitSuperReference(SuperReference x)
Visits the specified super reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitThisConstructorReference

public void visitThisConstructorReference(ThisConstructorReference x)
Visits the specified this-constructor reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitThisReference

public void visitThisReference(ThisReference x)
Visits the specified this reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitTypeReference

public void visitTypeReference(TypeReference x)
Visits the specified type reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitUncollatedReferenceQualifier

public void visitUncollatedReferenceQualifier(UncollatedReferenceQualifier x)
Visits the specified uncollated reference qualifier. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitVariableReference

public void visitVariableReference(VariableReference x)
Visits the specified variable reference. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitModifier

protected void visitModifier(Modifier x)
Hook method that visits the specified modifier. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitLiteral

protected void visitLiteral(Literal x)
Hook method that visits the specified literal. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitOperator

protected void visitOperator(Operator x)
Hook method that visits the specified operator. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitVariableDeclaration

protected void visitVariableDeclaration(VariableDeclaration x)
Visits the specified variable declaration. Defaults to do nothing.

Parameters:
x - the program element to visit.

visitSingleLineComment

public void visitSingleLineComment(SingleLineComment x)
Visits the specified single-line comment. The default implementation calls visitComment(recoder.java.Comment).

Parameters:
x - the comment to visit.

visitDocComment

public void visitDocComment(DocComment x)
Visits the specified doc comment. The default implementation calls visitComment(recoder.java.Comment).

Parameters:
x - the comment to visit.

visitComment

public void visitComment(Comment x)
Visits the specified comment. Defaults to do nothing.

Parameters:
x - the comment to visit.

visitEnumConstructorReference

public void visitEnumConstructorReference(EnumConstructorReference x)
Visits the specified EnumConstructorReference, which is part of an EnumConstantSpecification. Defaults to do nothing.

Parameters:
x - the comment to visit.

visitEnumConstantDeclaration

public void visitEnumConstantDeclaration(EnumConstantDeclaration x)
Visits the specified EnumConstantDeclaration. Defaults to do nothing.

Parameters:
x - the EnumConstantDeclaration to visit.

visitEnumConstantSpecification

public void visitEnumConstantSpecification(EnumConstantSpecification x)
Visits the specified EnumConstantSpecification. Defaults to nothing

Parameters:
x - the EnumConstantSpecification to visit.

visitEnumDeclaration

public void visitEnumDeclaration(EnumDeclaration x)
Visits the specified EnumDeclaration. Defaults to do nothing.

Parameters:
x - the comment to visit.

visitTypeArgument

public void visitTypeArgument(TypeArgumentDeclaration x)
Visits the specified TypeArgument. Defaults to do nothing.

Parameters:
x - the TypeArgument to visit.

visitTypeParameter

public void visitTypeParameter(TypeParameterDeclaration x)

RECODER 0.92