net.sourceforge.pmd.lang.java.ast

## Interface JavaParserVisitor

All Known Implementing Classes:
  AbstractCommentRule, AbstractInefficientZeroCheck, AbstractJavaRule, AbstractJUnitRule, AbstractNcssCountRule, AbstractOptimizationRule, AbstractPoorMethodCall, AbstractStatisticalJavaRule, AbstractSunSecureRule, AccessorClassGenerationRule, AppendCharacterWithCharRule, ArrayIsStoredDirectlyRule, AssignmentInOperandRule, AssignmentToNonFinalStaticRule, AvoidBranchingStatementAsLastInLoopRule, AvoidCallingFinalizeRule, AvoidCatchingThrowableRule, AvoidDeeplyNestedIfStmtsRule, AvoidDollarSignsRule, AvoidDuplicateLiteralsRule, AvoidFieldNameMatchingMethodNameRule, AvoidFieldNameMatchingTypeNameRule, AvoidInstantiatingObjectsInLoopsRule, AvoidMultipleUnaryOperatorsRule, AvoidReassigningParametersRule, AvoidUsingHardCodedIPRule, AvoidUsingOctalValuesRule, BeanMembersShouldSerializeRule, BigIntegerInstantiationRule, BooleanInstantiationRule, BrokenNullCheckRule, CheckResultSetRule, CheckSkipResultRule, ClassNamingConventionsRule, ClassTypeResolver, CloneMethodMustImplementCloneable, CloseResourceRule, CodeInCommentsRule, CommentContentRule, CommentRequiredRule, CommentSizeRule, CompareObjectsWithEqualsRule, ConfusingTernaryRule, ConsecutiveLiteralAppendsRule, ConstructorCallsOverridableMethodRule, CouplingBetweenObjectsRule, CyclomaticComplexityRule, DataflowAnomalyAnalysisRule, DataFlowFacade, DFAGraphRule, DontImportJavaLangRule, DontImportSunRule, DoubleCheckedLockingRule, DumpFacade, DuplicateImportsRule, ExceptionAsFlowControlRule, ExcessiveClassLengthRule, ExcessiveImportsRule, ExcessiveLengthRule, ExcessiveMethodLengthRule, ExcessiveNodeCountRule, ExcessiveParameterListRule, ExcessivePublicCountRule, GenericClassCounterRule, GenericLiteralCheckerRule, GodClassRule, HeaderCommentsRule, IdempotentOperationsRule, ImmutableFieldRule, ImportFromSamePackageRule, InefficientEmptyStringCheckRule, InefficientStringBufferingRule, InsufficientStringBufferDeclarationRule, JavadocRule, JavaParserVisitorAdapter, JUnitAssertionsShouldIncludeMessageRule, JUnitTestsShouldIncludeAssertRule, JUnitUseExpectedRule, LawOfDemeterRule, LocalVariableCouldBeFinalRule, LooseCoupling, LooseCouplingRule, LoosePackageCouplingRule, MethodArgumentCouldBeFinalRule, MethodNamingConventionsRule, MethodReturnsInternalArrayRule, MethodWithSameNameAsEnclosingClassRule, MoreThanOneLoggerRule, NcssConstructorCountRule, NcssMethodCountRule, NcssTypeCountRule, NonThreadSafeSingletonRule, NPathComplexityRule, NullAssignmentRule, OccurrenceFinder, OnlyOneReturnRule, OverrideBothEqualsAndHashcodeRule, PositionalIteratorRule, PrematureDeclarationRule, PreserveStackTraceRule, RedundantFieldInitializerRule, ScopeAndDeclarationFinder, SignatureDeclareThrowsException, SignatureDeclareThrowsExceptionRule, SimplifyBooleanReturnsRule, SingularFieldRule, StatementAndBraceFinder, StringConcatenationRule, StringInstantiationRule, StringToStringRule, SuspiciousHashcodeMethodNameRule, SuspiciousOctalEscapeRule, SwitchDensityRule, SymbolTableTestRule, SymbolTableViewer, TestClassWithoutTestCasesRule, TooManyFieldsRule, TypeResolutionFacade, UnnecessaryCaseChangeRule, UnnecessaryCastRule, UnnecessaryConversionTemporaryRule, UnnecessaryFullyQualifiedNameRule, UnnecessaryLocalBeforeReturnRule, UnnecessaryReturnRule, UnnecessaryWrapperObjectCreationRule, UnsynchronizedStaticDateFormatterRule, UnusedFormalParameterRule, UnusedImports, UnusedImportsRule, UnusedLocalVariableRule, UnusedModifierRule, UnusedPrivateFieldRule, UnusedPrivateMethodRule, UseCollectionIsEmptyRule, UseIndexOfCharRule, UselessAssignment, UselessOperationOnImmutableRule, UselessOverridingMethodRule, UselessStringValueOfRule, UseSingletonRule, UseStringBufferForStringAppendsRule, UseStringBufferLengthRule, VariableAccessVisitor, VariableNamingConventionsRule

    public interface JavaParserVisitor

### Method Summary

Methods
`Object` `visit(ASTAdditiveExpression node, Object data)`
`Object` `visit(ASTAllocationExpression node, Object data)`
`Object` `visit(ASTAndExpression node, Object data)`
`Object` `visit(ASTAnnotationMethodDeclaration node, Object data)`
`Object` `visit(ASTAnnotation node, Object data)`
`Object` `visit(ASTAnnotationTypeBody node, Object data)`
`Object` `visit(ASTAnnotationTypeDeclaration node, Object data)`
`Object` `visit(ASTAnnotationTypeMemberDeclaration node, Object data)`
`Object` `visit(ASTArgumentList node, Object data)`
`Object` `visit(ASTArguments node, Object data)`
`Object` `visit(ASTArrayDimsAndInits node, Object data)`
`Object` `visit(ASTArrayInitializer node, Object data)`
`Object` `visit(ASTAssertStatement node, Object data)`
`Object` `visit(ASTAssignmentOperator node, Object data)`
`Object` `visit(ASTBlock node, Object data)`
`Object` `visit(ASTBlockStatement node, Object data)`
`Object` `visit(ASTBooleanLiteral node, Object data)`
`Object` `visit(ASTBreakStatement node, Object data)`
`Object` `visit(ASTCastExpression node, Object data)`
`Object` `visit(ASTCatchStatement node, Object data)`
`Object` `visit(ASTClassOrInterfaceBodyDeclaration node, Object data)`
`Object` `visit(ASTClassOrInterfaceBody node, Object data)`
`Object` `visit(ASTClassOrInterfaceDeclaration node, Object data)`
`Object` `visit(ASTClassOrInterfaceType node, Object data)`
`Object` `visit(ASTCompilationUnit node, Object data)`
`Object` `visit(ASTConditionalAndExpression node, Object data)`
`Object` `visit(ASTConditionalExpression node, Object data)`
`Object` `visit(ASTConditionalOrExpression node, Object data)`
`Object` `visit(ASTConstructorDeclaration node, Object data)`
`Object` `visit(ASTContinueStatement node, Object data)`
`Object` `visit(ASTDefaultValue node, Object data)`
`Object` `visit(ASTDoStatement node, Object data)`
`Object` `visit(ASTEmptyStatement node, Object data)`
`Object` `visit(ASTEnumBody node, Object data)`
`Object` `visit(ASTEnumConstant node, Object data)`
`Object` `visit(ASTEnumDeclaration node, Object data)`
`Object` `visit(ASTEqualityExpression node, Object data)`
`Object` `visit(ASTExclusiveOrExpression node, Object data)`
`Object` `visit(ASTExplicitConstructorInvocation node, Object data)`
`Object` `visit(ASTExpression node, Object data)`
`Object` `visit(ASTExtendsList node, Object data)`
`Object` `visit(ASTFieldDeclaration node, Object data)`
`Object` `visit(ASTFinallyStatement node, Object data)`
`Object` `visit(ASTForInit node, Object data)`
`Object` `visit(ASTFormalParameter node, Object data)`
`Object` `visit(ASTFormalParameters node, Object data)`
`Object` `visit(ASTForStatement node, Object data)`
`Object` `visit(ASTForUpdate node, Object data)`
`Object` `visit(ASTIfStatement node, Object data)`
`Object` `visit(ASTImplementsList node, Object data)`
`Object` `visit(ASTImportDeclaration node, Object data)`
`Object` `visit(ASTInclusiveOrExpression node, Object data)`
`Object` `visit(ASTInitializer node, Object data)`
`Object` `visit(ASTInstanceOfExpression node, Object data)`
`Object` `visit(ASTLabeledStatement node, Object data)`
`Object` `visit(ASTLiteral node, Object data)`
`Object` `visit(ASTLocalVariableDeclaration node, Object data)`
`Object` `visit(ASTMarkerAnnotation node, Object data)`
`Object` `visit(ASTMemberSelector node, Object data)`
`Object` `visit(ASTMemberValueArrayInitializer node, Object data)`
`Object` `visit(ASTMemberValue node, Object data)`
`Object` `visit(ASTMemberValuePair node, Object data)`
`Object` `visit(ASTMemberValuePairs node, Object data)`
`Object` `visit(ASTMethodDeclaration node, Object data)`
`Object` `visit(ASTMethodDeclarator node, Object data)`
`Object` `visit(ASTMultiplicativeExpression node, Object data)`
`Object` `visit(ASTNameList node, Object data)`
`Object` `visit(ASTName node, Object data)`
`Object` `visit(ASTNormalAnnotation node, Object data)`
`Object` `visit(ASTNullLiteral node, Object data)`
`Object` `visit(ASTPackageDeclaration node, Object data)`
`Object` `visit(ASTPostfixExpression node, Object data)`
`Object` `visit(ASTPreDecrementExpression node, Object data)`
`Object` `visit(ASTPreIncrementExpression node, Object data)`
`Object` `visit(ASTPrimaryExpression node, Object data)`
`Object` `visit(ASTPrimaryPrefix node, Object data)`
`Object` `visit(ASTPrimarySuffix node, Object data)`
`Object` `visit(ASTPrimitiveType node, Object data)`
`Object` `visit(ASTReferenceType node, Object data)`
`Object` `visit(ASTRelationalExpression node, Object data)`
`Object` `visit(ASTResource node, Object data)`
`Object` `visit(ASTResources node, Object data)`
`Object` `visit(ASTResourceSpecification node, Object data)`
`Object` `visit(ASTResultType node, Object data)`
`Object` `visit(ASTReturnStatement node, Object data)`
`Object` `visit(ASTRSIGNEDSHIFT node, Object data)`
`Object` `visit(ASTRUNSIGNEDSHIFT node, Object data)`
`Object` `visit(ASTShiftExpression node, Object data)`
`Object` `visit(ASTSingleMemberAnnotation node, Object data)`
`Object` `visit(ASTStatementExpressionList node, Object data)`
`Object` `visit(ASTStatementExpression node, Object data)`
`Object` `visit(ASTStatement node, Object data)`
`Object` `visit(ASTSwitchLabel node, Object data)`
`Object` `visit(ASTSwitchStatement node, Object data)`
`Object` `visit(ASTSynchronizedStatement node, Object data)`
`Object` `visit(ASTThrowStatement node, Object data)`
`Object` `visit(ASTTryStatement node, Object data)`
`Object` `visit(ASTTypeArgument node, Object data)`
`Object` `visit(ASTTypeArguments node, Object data)`
`Object` `visit(ASTTypeBound node, Object data)`
`Object` `visit(ASTTypeDeclaration node, Object data)`
`Object` `visit(ASTType node, Object data)`
`Object` `visit(ASTTypeParameter node, Object data)`
`Object` `visit(ASTTypeParameters node, Object data)`
`Object` `visit(ASTUnaryExpressionNotPlusMinus node, Object data)`
`Object` `visit(ASTUnaryExpression node, Object data)`
`Object` `visit(ASTVariableDeclaratorId node, Object data)`
`Object` `visit(ASTVariableDeclarator node, Object data)`
`Object` `visit(ASTVariableInitializer node, Object data)`
`Object` `visit(ASTWhileStatement node, Object data)`
`Object` `visit(ASTWildcardBounds node, Object data)`
`Object` `visit(JavaNode node, Object data)`

### Method Detail

#### visit

    Object visit(JavaNode node,
               Object data)

#### visit

    Object visit(ASTCompilationUnit node,
               Object data)

#### visit

    Object visit(ASTPackageDeclaration node,
               Object data)

#### visit

    Object visit(ASTImportDeclaration node,
               Object data)

#### visit

    Object visit(ASTTypeDeclaration node,
               Object data)

#### visit

    Object visit(ASTClassOrInterfaceDeclaration node,
               Object data)

#### visit

    Object visit(ASTExtendsList node,
               Object data)

#### visit

    Object visit(ASTImplementsList node,
               Object data)

#### visit

    Object visit(ASTEnumDeclaration node,
               Object data)

#### visit

    Object visit(ASTEnumBody node,
               Object data)

#### visit

    Object visit(ASTEnumConstant node,
               Object data)

#### visit

    Object visit(ASTTypeParameters node,
               Object data)

#### visit

    Object visit(ASTTypeParameter node,
               Object data)

#### visit

    Object visit(ASTTypeBound node,
               Object data)

#### visit

    Object visit(ASTClassOrInterfaceBody node,
               Object data)

#### visit

    Object visit(ASTClassOrInterfaceBodyDeclaration node,
               Object data)

#### visit

    Object visit(ASTFieldDeclaration node,
               Object data)

#### visit

    Object visit(ASTVariableDeclarator node,
               Object data)

#### visit

    Object visit(ASTVariableDeclaratorId node,
               Object data)

#### visit

    Object visit(ASTVariableInitializer node,
               Object data)

#### visit

    Object visit(ASTArrayInitializer node,
               Object data)

#### visit

    Object visit(ASTMethodDeclaration node,
               Object data)

#### visit

    Object visit(ASTMethodDeclarator node,
               Object data)

#### visit

    Object visit(ASTFormalParameters node,
               Object data)

#### visit

    Object visit(ASTFormalParameter node,
               Object data)

#### visit

    Object visit(ASTConstructorDeclaration node,
               Object data)

#### visit

    Object visit(ASTExplicitConstructorInvocation node,
               Object data)

#### visit

    Object visit(ASTInitializer node,
               Object data)

#### visit

    Object visit(ASTType node,
               Object data)

#### visit

    Object visit(ASTReferenceType node,
               Object data)

#### visit

    Object visit(ASTClassOrInterfaceType node,
               Object data)

#### visit

    Object visit(ASTTypeArguments node,
               Object data)

#### visit

    Object visit(ASTTypeArgument node,
               Object data)

#### visit

    Object visit(ASTWildcardBounds node,
               Object data)

#### visit

    Object visit(ASTPrimitiveType node,
               Object data)

#### visit

    Object visit(ASTResultType node,
               Object data)

#### visit

    Object visit(ASTName node,
               Object data)

#### visit

    Object visit(ASTNameList node,
               Object data)

#### visit

    Object visit(ASTExpression node,
               Object data)

#### visit

    Object visit(ASTAssignmentOperator node,
               Object data)

#### visit

    Object visit(ASTConditionalExpression node,
               Object data)

#### visit

    Object visit(ASTConditionalOrExpression node,
               Object data)

#### visit

    Object visit(ASTConditionalAndExpression node,
               Object data)

#### visit

    Object visit(ASTInclusiveOrExpression node,
               Object data)

#### visit

    Object visit(ASTExclusiveOrExpression node,
               Object data)

#### visit

    Object visit(ASTAndExpression node,
               Object data)

#### visit

    Object visit(ASTEqualityExpression node,
               Object data)

#### visit

    Object visit(ASTInstanceOfExpression node,
               Object data)

#### visit

    Object visit(ASTRelationalExpression node,
               Object data)

#### visit

    Object visit(ASTShiftExpression node,
               Object data)

#### visit

    Object visit(ASTAdditiveExpression node,
               Object data)

#### visit

    Object visit(ASTMultiplicativeExpression node,
               Object data)

#### visit

    Object visit(ASTUnaryExpression node,
               Object data)

#### visit

    Object visit(ASTPreIncrementExpression node,
               Object data)

#### visit

    Object visit(ASTPreDecrementExpression node,
               Object data)

#### visit

    Object visit(ASTUnaryExpressionNotPlusMinus node,
               Object data)

#### visit

    Object visit(ASTPostfixExpression node,
               Object data)

#### visit

    Object visit(ASTCastExpression node,
               Object data)

#### visit

    Object visit(ASTPrimaryExpression node,
               Object data)

#### visit

    Object visit(ASTMemberSelector node,
               Object data)

#### visit

    Object visit(ASTPrimaryPrefix node,
               Object data)

#### visit

    Object visit(ASTPrimarySuffix node,
               Object data)

#### visit

    Object visit(ASTLiteral node,
               Object data)

#### visit

    Object visit(ASTBooleanLiteral node,
               Object data)

#### visit

    Object visit(ASTNullLiteral node,
               Object data)

#### visit

    Object visit(ASTArguments node,
               Object data)

#### visit

    Object visit(ASTArgumentList node,
               Object data)

#### visit

    Object visit(ASTAllocationExpression node,
               Object data)

#### visit

    Object visit(ASTArrayDimsAndInits node,
               Object data)

#### visit

    Object visit(ASTStatement node,
               Object data)

#### visit

    Object visit(ASTLabeledStatement node,
               Object data)

#### visit

    Object visit(ASTBlock node,
               Object data)

#### visit

    Object visit(ASTBlockStatement node,
               Object data)

#### visit

    Object visit(ASTLocalVariableDeclaration node,
               Object data)

#### visit

    Object visit(ASTEmptyStatement node,
               Object data)

#### visit

    Object visit(ASTStatementExpression node,
               Object data)

#### visit

    Object visit(ASTSwitchStatement node,
               Object data)

#### visit

    Object visit(ASTSwitchLabel node,
               Object data)

#### visit

    Object visit(ASTIfStatement node,
               Object data)

#### visit

    Object visit(ASTWhileStatement node,
               Object data)

#### visit

    Object visit(ASTDoStatement node,
               Object data)

#### visit

    Object visit(ASTForStatement node,
               Object data)

#### visit

    Object visit(ASTForInit node,
               Object data)

#### visit

    Object visit(ASTStatementExpressionList node,
               Object data)

#### visit

    Object visit(ASTForUpdate node,
               Object data)

#### visit

    Object visit(ASTBreakStatement node,
               Object data)

#### visit

    Object visit(ASTContinueStatement node,
               Object data)

#### visit

    Object visit(ASTReturnStatement node,
               Object data)

#### visit

    Object visit(ASTThrowStatement node,
               Object data)

#### visit

    Object visit(ASTSynchronizedStatement node,
               Object data)

#### visit

    Object visit(ASTTryStatement node,
               Object data)

#### visit

    Object visit(ASTResourceSpecification node,
               Object data)

#### visit

    Object visit(ASTResources node,
               Object data)

#### visit

    Object visit(ASTResource node,
               Object data)

#### visit

    Object visit(ASTCatchStatement node,
               Object data)

#### visit

    Object visit(ASTFinallyStatement node,
               Object data)

#### visit

    Object visit(ASTAssertStatement node,
               Object data)

#### visit

    Object visit(ASTRUNSIGNEDSHIFT node,
               Object data)

#### visit

    Object visit(ASTRSIGNEDSHIFT node,
               Object data)

#### visit

    Object visit(ASTAnnotation node,
               Object data)

#### visit

    Object visit(ASTNormalAnnotation node,
               Object data)

#### visit

    Object visit(ASTMarkerAnnotation node,
               Object data)

#### visit

    Object visit(ASTSingleMemberAnnotation node,
               Object data)

#### visit

    Object visit(ASTMemberValuePairs node,
               Object data)

#### visit

    Object visit(ASTMemberValuePair node,
               Object data)

#### visit

    Object visit(ASTMemberValue node,
               Object data)

#### visit

    Object visit(ASTMemberValueArrayInitializer node,
               Object data)

#### visit

    Object visit(ASTAnnotationTypeDeclaration node,
               Object data)

#### visit

    Object visit(ASTAnnotationTypeBody node,
               Object data)

#### visit

    Object visit(ASTAnnotationTypeMemberDeclaration node,
               Object data)

#### visit

    Object visit(ASTAnnotationMethodDeclaration node,
               Object data)

#### visit

    Object visit(ASTDefaultValue node,
               Object data)