Uses of Interface
net.sourceforge.pmd.ast.JavaParserVisitor

Packages that use JavaParserVisitor
net.sourceforge.pmd This is the PMD programming mistake detector. 
net.sourceforge.pmd.ast   
net.sourceforge.pmd.dfa   
net.sourceforge.pmd.dfa.variableaccess   
net.sourceforge.pmd.rules   
net.sourceforge.pmd.rules.basic   
net.sourceforge.pmd.rules.codesize   
net.sourceforge.pmd.rules.design   
net.sourceforge.pmd.rules.imports   
net.sourceforge.pmd.rules.junit   
net.sourceforge.pmd.rules.migration   
net.sourceforge.pmd.rules.naming   
net.sourceforge.pmd.rules.optimization   
net.sourceforge.pmd.rules.strictexception   
net.sourceforge.pmd.rules.strings   
net.sourceforge.pmd.rules.sunsecure   
net.sourceforge.pmd.stat   
net.sourceforge.pmd.symboltable   
net.sourceforge.pmd.typeresolution   
net.sourceforge.pmd.typeresolution.rules   
net.sourceforge.pmd.typeresolution.rules.imports   
net.sourceforge.pmd.util   
net.sourceforge.pmd.util.designer   
 

Uses of JavaParserVisitor in net.sourceforge.pmd
 

Classes in net.sourceforge.pmd that implement JavaParserVisitor
 class AbstractJavaRule
           
 class AbstractRule
          Deprecated. - Use AbstractJavaRule instead
 class MockRule
          This is a Rule implementation which can be used in scenarios where an actual functional Rule is not needed.
 

Uses of JavaParserVisitor in net.sourceforge.pmd.ast
 

Classes in net.sourceforge.pmd.ast that implement JavaParserVisitor
 class JavaParserVisitorAdapter
           
 

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

Uses of JavaParserVisitor in net.sourceforge.pmd.dfa
 

Classes in net.sourceforge.pmd.dfa that implement JavaParserVisitor
 class DaaRule
          Starts path search for each method and runs code if found.
 class DataFlowFacade
           
 class StatementAndBraceFinder
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.dfa.variableaccess
 

Classes in net.sourceforge.pmd.dfa.variableaccess that implement JavaParserVisitor
 class VariableAccessVisitor
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules
 

Classes in net.sourceforge.pmd.rules that implement JavaParserVisitor
 class AbstractInefficientZeroCheck
          This is an abstract rule for patterns which compare a method invocation to 0.
 class AbstractPoorMethodCall
          Detects and flags the occurrences of specific method calls against an instance of a designated class.
 class AccessorClassGeneration
          1.
 class AssignmentInOperand
           
 class AvoidCallingFinalize
           
 class AvoidDeeplyNestedIfStmtsRule
           
 class AvoidFieldNameMatchingMethodName
           
 class AvoidFieldNameMatchingTypeName
           
 class AvoidNonConstructorMethodsWithClassName
           
 class AvoidReassigningParameters
           
 class BeanMembersShouldSerializeRule
           
 class ClassNamingConventions
           
 class CloseResource
          Makes sure you close your database connections.
 class ConstructorCallsOverridableMethod
          Searches through all methods and constructors called from constructors.
 class CouplingBetweenObjects
          CouplingBetweenObjects attempts to capture all unique Class attributes, local variables, and return types to determine how many objects a class is coupled to.
 class CyclomaticComplexity
           
 class DoubleCheckedLocking
          void method() { if(x == null) { synchronized(this){ if(x == null) { x = new | method(); } } } 1.
 class ExcessiveImports
          ExcessiveImports attempts to count all unique imports a class contains.
 class ExcessivePublicCount
           
 class GenericLiteralCheckerRule
          This class allow to match a Literal (most likely a String) with a regex pattern.
 class IdempotentOperations
           
 class MethodNamingConventions
           
 class MethodWithSameNameAsEnclosingClass
           
 class MoreThanOneLogger
           
 class OverrideBothEqualsAndHashcode
           
 class SimplifyBooleanReturns
           
 class StringConcatenationRule
           
 class SuspiciousOctalEscape
           
 class SymbolTableTestRule
           
 class UnnecessaryConversionTemporary
           
 class UnusedFormalParameterRule
           
 class UnusedLocalVariableRule
           
 class UnusedModifier
           
 class UnusedPrivateFieldRule
           
 class UnusedPrivateMethodRule
           
 class UselessAssignment
           
 class UselessOperationOnImmutable
          An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself.
 class UselessOverridingMethod
           
 class VariableNamingConventions
           
 class XPathRule
          Rule that tries to match an XPath expression against a DOM view of the AST of a "compilation unit".
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.basic
 

Classes in net.sourceforge.pmd.rules.basic that implement JavaParserVisitor
 class AvoidMultipleUnaryOperators
           
 class AvoidUsingHardCodedIP
           
 class AvoidUsingOctalValues
           
 class BigIntegerInstantiation
           
 class BooleanInstantiation
          Avoid instantiating Boolean objects; you can reference Boolean.TRUE, Boolean.FALSE, or call Boolean.valueOf() instead.
 class BrokenNullCheck
           
 class UnnecessaryReturn
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.codesize
 

Classes in net.sourceforge.pmd.rules.codesize that implement JavaParserVisitor
 class AbstractNcssCount
          Abstract superclass for NCSS counting methods.
 class NcssConstructorCount
          Non-commented source statement counter for constructors.
 class NcssMethodCount
          Non-commented source statement counter for methods.
 class NcssTypeCount
          Non-commented source statement counter for type declarations.
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.design
 

Classes in net.sourceforge.pmd.rules.design that implement JavaParserVisitor
 class AssignmentToNonFinalStatic
           
 class CompareObjectsWithEquals
           
 class ConfusingTernary
          if (x != y) { diff(); } else { same(); } and
(!x ? diff() : same());.
 class ExceptionAsFlowControl
          Catches the use of exception statements as a flow control device.
 class ExcessiveLengthRule
          This is a common super class for things which have excessive length.
 class ExcessiveNodeCountRule
          This is a common super class for things which shouldn't have excessive nodes underneath.
 class GenericClassCounterRule
          A generic rule that can be configured to "count" classes of certain type based on either their name (full name, prefix, suffixes anything can be matched with a regex), and/or their type.
 class ImmutableField
           
 class LongClassRule
          This rule detects when a class exceeds a certain threshold.
 class LongMethodRule
          This rule detects when a method exceeds a certain threshold.
 class LongParameterListRule
          This rule detects an abnormally long parameter list.
 class LooseCoupling
           
 class NonThreadSafeSingleton
           
 class NpathComplexity
          NPath complexity is a measurement of the acyclic execution paths through a function.
 class NullAssignmentRule
           
 class OnlyOneReturnRule
           
 class PositionalIteratorRule
           
 class PreserveStackTrace
           
 class SingularField
           
 class SwitchDensityRule
           
 class TooManyFields
           
 class UnnecessaryLocalBeforeReturn
           
 class UnsynchronizedStaticDateFormatter
          Using a DateFormatter (SimpleDateFormatter) which is static can cause unexpected results when used in a multi threaded environment.
 class UseCollectionIsEmpty
          Detect structures like "foo.size() == 0" and suggest replacing them with foo.isEmpty().
 class UseSingleton
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.imports
 

Classes in net.sourceforge.pmd.rules.imports that implement JavaParserVisitor
 class DontImportJavaLang
           
 class DontImportSun
           
 class DuplicateImportsRule
           
 class ImportFromSamePackageRule
           
 class UnusedImportsRule
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.junit
 

Classes in net.sourceforge.pmd.rules.junit that implement JavaParserVisitor
 class AbstractJUnitRule
           
 class JUnitAssertionsShouldIncludeMessage
           
 class JUnitTestsShouldContainAsserts
           
 class TestClassWithoutTestCases
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.migration
 

Classes in net.sourceforge.pmd.rules.migration that implement JavaParserVisitor
 class JUnitUseExpected
          This rule finds code like this:
 class UnnecessaryCast
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.naming
 

Classes in net.sourceforge.pmd.rules.naming that implement JavaParserVisitor
 class AvoidDollarSigns
           
 class SuspiciousHashcodeMethodName
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.optimization
 

Classes in net.sourceforge.pmd.rules.optimization that implement JavaParserVisitor
 class AbstractOptimizationRule
          Base class with utility methods for optimization rules
 class AvoidInstantiatingObjectsInLoops
           
 class LocalVariableCouldBeFinal
           
 class MethodArgumentCouldBeFinal
           
 class UnnecessaryWrapperObjectCreation
           
 class UseStringBufferForStringAppends
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.strictexception
 

Classes in net.sourceforge.pmd.rules.strictexception that implement JavaParserVisitor
 class AvoidCatchingThrowable
          Finds catch statements containing throwable as the type definition.
 class ExceptionSignatureDeclaration
          

 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.strings
 

Classes in net.sourceforge.pmd.rules.strings that implement JavaParserVisitor
 class AppendCharacterWithChar
          This rule finds the following:

 class AvoidDuplicateLiteralsRule
           
 class ConsecutiveLiteralAppends
          This rule finds concurrent calls to StringBuffer.append where String literals are used It would be much better to make these calls using one call to .append

example:

 class InefficientEmptyStringCheck
          This rule finds code which inefficiently determines empty strings.
 class InefficientStringBuffering
           
 class InsufficientStringBufferDeclaration
          This rule finds StringBuffers which may have been pre-sized incorrectly See http://sourceforge.net/forum/forum.php?thread_id=1438119&forum_id=188194
 class StringInstantiation
           
 class StringToStringRule
           
 class UnnecessaryCaseChange
           
 class UseIndexOfChar
           
 class UselessStringValueOf
           
 class UseStringBufferLength
          This rule finds places where StringBuffer.toString() is called just to see if the string is 0 length by either using .equals("") or toString().length()

 

Uses of JavaParserVisitor in net.sourceforge.pmd.rules.sunsecure
 

Classes in net.sourceforge.pmd.rules.sunsecure that implement JavaParserVisitor
 class AbstractSunSecureRule
          Utility methods for the package
 class ArrayIsStoredDirectly
           
 class MethodReturnsInternalArray
          Implementation note: this rule currently ignores return types of y.x.z, currently it handles only local type fields.
 

Uses of JavaParserVisitor in net.sourceforge.pmd.stat
 

Classes in net.sourceforge.pmd.stat that implement JavaParserVisitor
 class StatisticalRule
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.symboltable
 

Classes in net.sourceforge.pmd.symboltable that implement JavaParserVisitor
 class OccurrenceFinder
           
 class ScopeAndDeclarationFinder
          Visitor for scope creation.
 

Uses of JavaParserVisitor in net.sourceforge.pmd.typeresolution
 

Classes in net.sourceforge.pmd.typeresolution that implement JavaParserVisitor
 class ClassTypeResolver
           
 class TypeResolutionFacade
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.typeresolution.rules
 

Classes in net.sourceforge.pmd.typeresolution.rules that implement JavaParserVisitor
 class CloneMethodMustImplementCloneable
          The method clone() should only be implemented if the class implements the Cloneable interface with the exception of a final method that only throws CloneNotSupportedException.
 class SignatureDeclareThrowsException
          A method/constructor shouldn't explicitly throw java.lang.Exception, since it is unclear which exceptions that can be thrown from the methods.
 

Uses of JavaParserVisitor in net.sourceforge.pmd.typeresolution.rules.imports
 

Classes in net.sourceforge.pmd.typeresolution.rules.imports that implement JavaParserVisitor
 class UnusedImports
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.util
 

Classes in net.sourceforge.pmd.util that implement JavaParserVisitor
 class SymbolTableViewer
           
 

Uses of JavaParserVisitor in net.sourceforge.pmd.util.designer
 

Classes in net.sourceforge.pmd.util.designer that implement JavaParserVisitor
 class DFAGraphRule
           
 



Copyright © 2002-2011 InfoEther. All Rights Reserved.