Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
net.sourceforge.pmd.Rule

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

Uses of Rule in net.sourceforge.pmd

Classes in net.sourceforge.pmd that implement Rule
`class` | `AbstractRule`
`class` | `CommonAbstractRule` Basic abstract implementation of all parser-independent methods of the Rule interface.

Methods in net.sourceforge.pmd that return Rule
`Rule` | `IRuleViolation.getRule()`
`Rule` | `RuleSets.getRuleByName(java.lang.String ruleName)` Returns the Rule with the given name
`Rule` | `RuleViolation.getRule()`
`Rule` | `RuleSet.getRuleByName(java.lang.String ruleName)` Returns the Rule with the given name

Methods in net.sourceforge.pmd with parameters of type Rule
`void` | `RuleSet.addRule(Rule rule)` Add a new rule to this ruleset

Constructors in net.sourceforge.pmd with parameters of type Rule
`RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)`
`RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, java.lang.String specificMsg)`

Uses of Rule in net.sourceforge.pmd.ast

Methods in net.sourceforge.pmd.ast with parameters of type Rule
`boolean` | `ASTTypeDeclaration.hasSuppressWarningsAnnotationFor(Rule rule)`
`boolean` | `ASTFormalParameter.hasSuppressWarningsAnnotationFor(Rule rule)`
`boolean` | `ASTClassOrInterfaceBodyDeclaration.hasSuppressWarningsAnnotationFor(Rule rule)`
`boolean` | `ASTLocalVariableDeclaration.hasSuppressWarningsAnnotationFor(Rule rule)`
`boolean` | `CanSuppressWarnings.hasSuppressWarningsAnnotationFor(Rule rule)`
`boolean` | `ASTAnnotation.suppresses(Rule rule)`

Uses of Rule in net.sourceforge.pmd.dfa

Classes in net.sourceforge.pmd.dfa that implement Rule
`class` | `DaaRule`

Uses of Rule in net.sourceforge.pmd.jsp.rules

Classes in net.sourceforge.pmd.jsp.rules that implement Rule
`class` | `AbstractJspRule`
`class` | `DuplicateJspImports`
`class` | `NoInlineStyleInformation` This rule checks that no "style" elements (like , , ...) are used, and that no "style" attributes (like "font", "size", "align") are used.

Uses of Rule in net.sourceforge.pmd.rules

Classes in net.sourceforge.pmd.rules that implement Rule
`class` | `AccessorClassGeneration` 1.
`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` | `IdempotentOperations`
`class` | `MethodNamingConventions`
`class` | `MethodWithSameNameAsEnclosingClass`
`class` | `SimplifyBooleanReturns`
`class` | `SingularField`
`class` | `StringConcatenationRule`
`class` | `SuspiciousOctalEscape`
`class` | `SymbolTableTestRule`
`class` | `UnnecessaryConversionTemporary`
`class` | `UnusedFormalParameterRule`
`class` | `UnusedLocalVariableRule`
`class` | `UnusedModifier`
`class` | `UnusedPrivateFieldRule`
`class` | `UnusedPrivateMethodRule`
`class` | `UselessAssignment`
`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 Rule in net.sourceforge.pmd.rules.design

Classes in net.sourceforge.pmd.rules.design that implement Rule
`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` | `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` | `NullAssignmentRule`
`class` | `OnlyOneReturnRule`
`class` | `PositionalIteratorRule`
`class` | `PreserveStackTrace`
`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` | `UseSingleton`

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

Classes in net.sourceforge.pmd.rules.imports that implement Rule
`class` | `DuplicateImportsRule`
`class` | `ImportFromSamePackageRule`
`class` | `UnusedImportsRule`

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

Classes in net.sourceforge.pmd.rules.junit that implement Rule
`class` | `JUnitAssertionsShouldIncludeMessage`
`class` | `JUnitTestsShouldContainAsserts`
`class` | `TestClassWithoutTestCases`

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

Classes in net.sourceforge.pmd.rules.optimization that implement Rule
`class` | `AbstractOptimizationRule` Base class with utility methods for optimization rules
`class` | `AvoidInstantiatingObjectsInLoops`
`class` | `LocalVariableCouldBeFinal`
`class` | `MethodArgumentCouldBeFinal`

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

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

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

Classes in net.sourceforge.pmd.rules.strings that implement Rule
`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
`class` | `StringInstantiation`
`class` | `StringToStringRule`
`class` | `UnnecessaryCaseChange`
`class` | `UseIndexOfChar`
`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().size()

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

Classes in net.sourceforge.pmd.rules.sunsecure that implement Rule
`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 Rule in net.sourceforge.pmd.stat

Classes in net.sourceforge.pmd.stat that implement Rule
`class` | `StatisticalRule`

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

Classes in net.sourceforge.pmd.util.designer that implement Rule
`class` | `DFAGraphRule`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2006 InfoEther. All Rights Reserved.