Uses of Class
net.sourceforge.pmd.AbstractRule

Packages that use AbstractRule
net.sourceforge.pmd This is the PMD programming mistake detector. 
net.sourceforge.pmd.dfa   
net.sourceforge.pmd.rules   
net.sourceforge.pmd.rules.basic   
net.sourceforge.pmd.rules.design   
net.sourceforge.pmd.rules.imports   
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.typeresolution.rules.imports   
net.sourceforge.pmd.util.designer   
 

Uses of AbstractRule in net.sourceforge.pmd
 

Subclasses of AbstractRule in net.sourceforge.pmd
 class MockRule
          This is a Rule implementation which can be used in scenarios where an actual functional Rule is not needed.
 

Uses of AbstractRule in net.sourceforge.pmd.dfa
 

Subclasses of AbstractRule in net.sourceforge.pmd.dfa
 class DaaRule
          Starts path search for each method and runs code if found.
 

Uses of AbstractRule in net.sourceforge.pmd.rules
 

Subclasses of AbstractRule in net.sourceforge.pmd.rules
 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 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 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 UselessOverridingMethod
           
 class VariableNamingConventions
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.basic
 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 AbstractRule in net.sourceforge.pmd.rules.design
 

Subclasses of AbstractRule in net.sourceforge.pmd.rules.design
 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 ImmutableField
           
 class LooseCoupling
           
 class NonThreadSafeSingleton
           
 class NullAssignmentRule
           
 class OnlyOneReturnRule
           
 class PositionalIteratorRule
           
 class SingularField
           
 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 AbstractRule in net.sourceforge.pmd.rules.imports
 

Subclasses of AbstractRule in net.sourceforge.pmd.rules.imports
 class DontImportJavaLang
           
 class DontImportSun
           
 class DuplicateImportsRule
           
 class ImportFromSamePackageRule
           
 class UnusedImportsRule
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.migration
 class UnnecessaryCast
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.naming
 class AvoidDollarSigns
           
 class SuspiciousHashcodeMethodName
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.optimization
 class AbstractOptimizationRule
          Base class with utility methods for optimization rules
 class AvoidInstantiatingObjectsInLoops
           
 class LocalVariableCouldBeFinal
           
 class MethodArgumentCouldBeFinal
           
 class UnnecessaryWrapperObjectCreation
           
 class UseStringBufferForStringAppends
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.strictexception
 class AvoidCatchingThrowable
          Finds catch statements containing throwable as the type definition.
 class ExceptionSignatureDeclaration
          

 

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

Subclasses of AbstractRule in net.sourceforge.pmd.rules.strings
 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 AbstractRule in net.sourceforge.pmd.rules.sunsecure
 

Subclasses of AbstractRule in net.sourceforge.pmd.rules.sunsecure
 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 AbstractRule in net.sourceforge.pmd.typeresolution.rules.imports
 

Subclasses of AbstractRule in net.sourceforge.pmd.typeresolution.rules.imports
 class UnusedImports
           
 

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

Subclasses of AbstractRule in net.sourceforge.pmd.util.designer
 class DFAGraphRule
           
 



Copyright © 2002-2011 InfoEther. All Rights Reserved.