Interface JavaVisitor<P,R>
-
- All Superinterfaces:
AstVisitor<P,R>
- All Known Subinterfaces:
JavaParserVisitor
- All Known Implementing Classes:
AbstractClassWithoutAbstractMethodRule
,AbstractIgnoredAnnotationRule
,net.sourceforge.pmd.lang.java.rule.internal.AbstractJavaCounterCheckRule
,net.sourceforge.pmd.lang.java.rule.internal.AbstractJavaCounterCheckRule.AbstractLineLengthCheckRule
,AbstractJavaRule
,AbstractJavaRulechainRule
,AccessorClassGenerationRule
,AccessorMethodGenerationRule
,AddEmptyStringRule
,AppendCharacterWithCharRule
,ArrayIsStoredDirectlyRule
,AssignmentInOperandRule
,AssignmentToNonFinalStaticRule
,AtLeastOneConstructorRule
,AvoidBranchingStatementAsLastInLoopRule
,AvoidDeeplyNestedIfStmtsRule
,AvoidDuplicateLiteralsRule
,AvoidInstantiatingObjectsInLoopsRule
,AvoidReassigningCatchVariablesRule
,AvoidReassigningLoopVariablesRule
,AvoidReassigningParametersRule
,AvoidThrowingNullPointerExceptionRule
,AvoidUsingHardCodedIPRule
,AvoidUsingOctalValuesRule
,BeanMembersShouldSerializeRule
,BigIntegerInstantiationRule
,BrokenNullCheckRule
,CheckResultSetRule
,CheckSkipResultRule
,ClassNamingConventionsRule
,ClassWithOnlyPrivateConstructorsShouldBeFinalRule
,CloneMethodMustImplementCloneableRule
,CloseResourceRule
,CognitiveComplexityRule
,CommentContentRule
,CommentDefaultAccessModifierRule
,CommentRequiredRule
,CommentSizeRule
,ConfusingTernaryRule
,ConsecutiveAppendsShouldReuseRule
,ConsecutiveLiteralAppendsRule
,ConstructorCallsOverridableMethodRule
,CouplingBetweenObjectsRule
,CyclomaticComplexityRule
,DataClassRule
,DetachedTestCaseRule
,DoubleCheckedLockingRule
,EmptyControlStatementRule
,ExceptionAsFlowControlRule
,ExcessiveClassLengthRule
,ExcessiveImportsRule
,ExcessiveMethodLengthRule
,ExcessiveParameterListRule
,ExcessivePublicCountRule
,FieldDeclarationsShouldBeAtStartOfClassRule
,FieldNamingConventionsRule
,ForLoopCanBeForeachRule
,FormalParameterNamingConventionsRule
,GodClassRule
,GuardLogStatementRule
,HardCodedCryptoKeyRule
,IdempotentOperationsRule
,IdenticalCatchBranchesRule
,ImmutableFieldRule
,ImplicitSwitchFallThroughRule
,InefficientEmptyStringCheckRule
,InefficientStringBufferingRule
,InsecureCryptoIvRule
,InsufficientStringBufferDeclarationRule
,InvalidJavaBeanRule
,InvalidLogMessageFormatRule
,JavaParserVisitorAdapter
,JavaVisitorBase
,JUnitAssertionsShouldIncludeMessageRule
,JUnitSpellingRule
,JUnitStaticSuiteRule
,JUnitTestContainsTooManyAssertsRule
,JUnitTestsShouldIncludeAssertRule
,JUnitUseExpectedRule
,LawOfDemeterRule
,LazyTypeResolver
,LinguisticNamingRule
,LiteralsFirstInComparisonsRule
,LocalVariableCouldBeFinalRule
,LocalVariableNamingConventionsRule
,LooseCouplingRule
,LoosePackageCouplingRule
,MethodArgumentCouldBeFinalRule
,MethodNamingConventionsRule
,MethodReturnsInternalArrayRule
,MissingOverrideRule
,NcssCountRule
,NonSerializableClassRule
,NonThreadSafeSingletonRule
,NPathComplexityRule
,NullAssignmentRule
,OnlyOneReturnRule
,OverrideBothEqualsAndHashcodeRule
,PrematureDeclarationRule
,PreserveStackTraceRule
,PrimitiveWrapperInstantiationRule
,ProperCloneImplementationRule
,RedundantFieldInitializerRule
,SignatureDeclareThrowsExceptionRule
,SimplifiableTestAssertionRule
,SimplifyBooleanReturnsRule
,SimplifyConditionalRule
,SingleMethodSingletonRule
,SingletonClassReturningNewInstanceRule
,SingularFieldRule
,StringInstantiationRule
,SuspiciousOctalEscapeRule
,SwitchDensityRule
,TestClassWithoutTestCasesRule
,UnnecessaryBoxingRule
,UnnecessaryCaseChangeRule
,UnnecessaryCastRule
,UnnecessaryConstructorRule
,UnnecessaryFullyQualifiedNameRule
,UnnecessaryImportRule
,UnnecessaryLocalBeforeReturnRule
,UnnecessaryModifierRule
,UnnecessaryReturnRule
,UnsynchronizedStaticFormatterRule
,UnusedAssignmentRule
,UnusedFormalParameterRule
,UnusedLocalVariableRule
,UnusedPrivateFieldRule
,UnusedPrivateMethodRule
,UseCollectionIsEmptyRule
,UseDiamondOperatorRule
,UseIndexOfCharRule
,UselessOperationOnImmutableRule
,UselessOverridingMethodRule
,UselessParenthesesRule
,UselessStringValueOfRule
,UseStringBufferForStringAppendsRule
,UseTryWithResourcesRule
,UseUtilityClassRule
public interface JavaVisitor<P,R> extends AstVisitor<P,R>
-
-
Method Summary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.AstVisitor
cannotVisit, visitNode
-
-
-
-
Method Detail
-
visit
default R visit(ASTCompilationUnit node, P data)
-
visit
default R visit(ASTPackageDeclaration node, P data)
-
visit
default R visit(ASTImportDeclaration node, P data)
-
visit
default R visit(ASTModifierList node, P data)
-
visit
default R visit(ASTClassOrInterfaceDeclaration node, P data)
-
visit
default R visit(ASTExtendsList node, P data)
-
visit
default R visit(ASTImplementsList node, P data)
-
visit
default R visit(ASTPermitsList node, P data)
-
visit
default R visit(ASTEnumDeclaration node, P data)
-
visit
default R visit(ASTEnumBody node, P data)
-
visit
default R visit(ASTEnumConstant node, P data)
-
visit
default R visit(ASTRecordDeclaration node, P data)
-
visit
default R visit(ASTRecordComponentList node, P data)
-
visit
default R visit(ASTRecordComponent node, P data)
-
visit
default R visit(ASTRecordBody node, P data)
-
visit
default R visit(ASTCompactConstructorDeclaration node, P data)
-
visit
default R visit(ASTTypeParameters node, P data)
-
visit
default R visit(ASTTypeParameter node, P data)
-
visit
default R visit(ASTClassOrInterfaceBody node, P data)
-
visit
default R visit(ASTEmptyDeclaration node, P data)
-
visit
default R visit(ASTFieldDeclaration node, P data)
-
visit
default R visit(ASTVariableDeclarator node, P data)
-
visit
default R visit(ASTVariableDeclaratorId node, P data)
-
visit
default R visit(ASTReceiverParameter node, P data)
-
visit
default R visit(ASTArrayInitializer node, P data)
-
visit
default R visit(ASTMethodDeclaration node, P data)
-
visit
default R visit(ASTFormalParameters node, P data)
-
visit
default R visit(ASTFormalParameter node, P data)
-
visit
default R visit(ASTArrayType node, P data)
-
visit
default R visit(ASTArrayDimensions node, P data)
-
visit
default R visit(ASTArrayTypeDim node, P data)
-
visit
default R visit(ASTConstructorDeclaration node, P data)
-
visit
default R visit(ASTExplicitConstructorInvocation node, P data)
-
visit
default R visit(ASTInitializer node, P data)
-
visit
default R visit(ASTIntersectionType node, P data)
-
visit
default R visit(ASTClassOrInterfaceType node, P data)
-
visit
default R visit(ASTTypeArguments node, P data)
-
visit
default R visit(ASTWildcardType node, P data)
-
visit
default R visit(ASTPrimitiveType node, P data)
-
visit
default R visit(ASTVoidType node, P data)
-
visit
default R visit(ASTThrowsList node, P data)
-
visit
default R visit(ASTAssignmentExpression node, P data)
-
visit
default R visit(ASTConditionalExpression node, P data)
-
visit
default R visit(ASTInfixExpression node, P data)
-
visit
default R visit(ASTTypePattern node, P data)
-
visit
default R visit(ASTRecordPattern node, P data)
-
visit
default R visit(ASTComponentPatternList node, P data)
-
visit
default R visit(ASTUnaryExpression node, P data)
-
visit
default R visit(ASTCastExpression node, P data)
-
visit
default R visit(ASTSwitchExpression node, P data)
-
visit
default R visit(ASTThisExpression node, P data)
-
visit
default R visit(ASTSuperExpression node, P data)
-
visit
default R visit(ASTClassLiteral node, P data)
-
visit
default R visit(ASTMethodCall node, P data)
-
visit
default R visit(ASTArrayAccess node, P data)
-
visit
default R visit(ASTFieldAccess node, P data)
-
visit
default R visit(ASTMethodReference node, P data)
-
visit
default R visit(ASTLambdaExpression node, P data)
-
visit
default R visit(ASTLambdaParameterList node, P data)
-
visit
default R visit(ASTLambdaParameter node, P data)
-
visit
default R visit(ASTBooleanLiteral node, P data)
-
visit
default R visit(ASTNullLiteral node, P data)
-
visit
default R visit(ASTNumericLiteral node, P data)
-
visit
default R visit(ASTCharLiteral node, P data)
-
visit
default R visit(ASTStringLiteral node, P data)
-
visit
default R visit(ASTArgumentList node, P data)
-
visit
default R visit(ASTConstructorCall node, P data)
-
visit
default R visit(ASTAnonymousClassDeclaration node, P data)
-
visit
default R visit(ASTArrayAllocation node, P data)
-
visit
default R visit(ASTArrayDimExpr node, P data)
-
visit
default R visit(ASTExpressionStatement node, P data)
-
visit
default R visit(ASTLabeledStatement node, P data)
-
visit
default R visit(ASTLocalVariableDeclaration node, P data)
-
visit
default R visit(ASTEmptyStatement node, P data)
-
visit
default R visit(ASTSwitchStatement node, P data)
-
visit
default R visit(ASTSwitchArrowBranch node, P data)
-
visit
default R visit(ASTSwitchFallthroughBranch node, P data)
-
visit
default R visit(ASTSwitchLabel node, P data)
-
visit
default R visit(ASTSwitchGuard node, P data)
-
visit
default R visit(ASTYieldStatement node, P data)
-
visit
default R visit(ASTIfStatement node, P data)
-
visit
default R visit(ASTWhileStatement node, P data)
-
visit
default R visit(ASTDoStatement node, P data)
-
visit
default R visit(ASTForeachStatement node, P data)
-
visit
default R visit(ASTForStatement node, P data)
-
visit
default R visit(ASTForInit node, P data)
-
visit
default R visit(ASTStatementExpressionList node, P data)
-
visit
default R visit(ASTForUpdate node, P data)
-
visit
default R visit(ASTBreakStatement node, P data)
-
visit
default R visit(ASTContinueStatement node, P data)
-
visit
default R visit(ASTReturnStatement node, P data)
-
visit
default R visit(ASTThrowStatement node, P data)
-
visit
default R visit(ASTSynchronizedStatement node, P data)
-
visit
default R visit(ASTTryStatement node, P data)
-
visit
default R visit(ASTResourceList node, P data)
-
visit
default R visit(ASTResource node, P data)
-
visit
default R visit(ASTCatchClause node, P data)
-
visit
default R visit(ASTCatchParameter node, P data)
-
visit
default R visit(ASTUnionType node, P data)
-
visit
default R visit(ASTFinallyClause node, P data)
-
visit
default R visit(ASTAssertStatement node, P data)
-
visit
default R visit(ASTAnnotation node, P data)
-
visit
default R visit(ASTAnnotationMemberList node, P data)
-
visit
default R visit(ASTMemberValuePair node, P data)
-
visit
default R visit(ASTMemberValueArrayInitializer node, P data)
-
visit
default R visit(ASTAnnotationTypeDeclaration node, P data)
-
visit
default R visit(ASTAnnotationTypeBody node, P data)
-
visit
default R visit(ASTDefaultValue node, P data)
-
visit
default R visit(ASTModuleDeclaration node, P data)
-
visit
default R visit(ASTModuleRequiresDirective node, P data)
-
visit
default R visit(ASTModuleExportsDirective node, P data)
-
visit
default R visit(ASTModuleOpensDirective node, P data)
-
visit
default R visit(ASTModuleUsesDirective node, P data)
-
visit
default R visit(ASTModuleProvidesDirective node, P data)
-
visit
default R visit(ASTModuleName node, P data)
-
visit
default R visit(ASTAmbiguousName node, P data)
-
visit
default R visit(ASTVariableAccess node, P data)
-
visit
default R visit(ASTTypeExpression node, P data)
-
visit
default R visit(ASTPatternExpression node, P data)
-
visit
default R visit(ASTLocalClassStatement node, P data)
-
-