Interface JavaParserVisitor
-
- All Superinterfaces:
AstVisitor<Object,Object>
,JavaVisitor<Object,Object>
- 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
,JUnitAssertionsShouldIncludeMessageRule
,JUnitSpellingRule
,JUnitStaticSuiteRule
,JUnitTestContainsTooManyAssertsRule
,JUnitTestsShouldIncludeAssertRule
,JUnitUseExpectedRule
,LawOfDemeterRule
,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
@Deprecated public interface JavaParserVisitor extends JavaVisitor<Object,Object>
Deprecated.UseJavaVisitor
Backwards-compatibility only.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default Object
visit(ASTExpression node, Object data)
Deprecated.default Object
visit(ASTLiteral node, Object data)
Deprecated.default Object
visit(ASTPrimaryExpression node, Object data)
Deprecated.default Object
visit(ASTReferenceType node, Object data)
Deprecated.default Object
visit(ASTStatement node, Object data)
Deprecated.default Object
visit(ASTType node, Object data)
Deprecated.default Object
visitNode(Node node, Object param)
Deprecated.-
Methods inherited from interface net.sourceforge.pmd.lang.ast.AstVisitor
cannotVisit
-
Methods inherited from interface net.sourceforge.pmd.lang.java.ast.JavaVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitJavaNode
-
-
-
-
Method Detail
-
visitNode
default Object visitNode(Node node, Object param)
Deprecated.- Specified by:
visitNode
in interfaceAstVisitor<Object,Object>
-
visit
@Deprecated default Object visit(ASTExpression node, Object data)
Deprecated.
-
visit
@Deprecated default Object visit(ASTLiteral node, Object data)
Deprecated.
-
visit
@Deprecated default Object visit(ASTType node, Object data)
Deprecated.
-
visit
@Deprecated default Object visit(ASTReferenceType node, Object data)
Deprecated.
-
visit
default Object visit(ASTStatement node, Object data)
Deprecated.
-
visit
@Deprecated default Object visit(ASTPrimaryExpression node, Object data)
Deprecated.
-
-