All Classes Interface Summary Class Summary Enum Summary Exception Summary
Class |
Description |
AbstractAnyTypeDeclaration |
Abstract class for type declarations nodes.
|
AbstractCommentRule |
|
AbstractIgnoredAnnotationRule |
|
AbstractInefficientZeroCheck |
This is an abstract rule for patterns which compare a method invocation to 0.
|
AbstractJavaAccessNode |
|
AbstractJavaAccessTypeNode |
|
AbstractJavaClassMetric |
Base class for class metrics.
|
AbstractJavaHandler |
Implementation of LanguageVersionHandler for the Java AST.
|
AbstractJavaMetric<N extends net.sourceforge.pmd.lang.ast.Node> |
Base class for metrics.
|
AbstractJavaMetricsRule |
Java Rule with convenient visit methods to e.g.
|
AbstractJavaNode |
|
AbstractJavaOperationMetric |
Base class for operation metrics.
|
AbstractJavaParser |
This is a generic Java specific implementation of the Parser interface.
|
AbstractJavaRule |
|
AbstractJavaScope |
Provides the basic java scope implementation.
|
AbstractJavaTypeNode |
An extension of the SimpleJavaNode which implements the TypeNode interface.
|
AbstractJUnitRule |
|
AbstractLombokAwareRule |
Base class for rules, that should ignore classes/fields that are annotated
with Lombok annotations.
|
AbstractMethodLikeNode |
|
AbstractMethodOrConstructorDeclaration |
|
AbstractNcssCountRule |
Abstract superclass for NCSS counting methods.
|
AbstractOptimizationRule |
Base class with utility methods for optimization rules
|
AbstractPoorMethodCall |
Detects and flags the occurrences of specific method calls against an
instance of a designated class.
|
AbstractStatisticalJavaRule |
Deprecated.
|
AbstractSunSecureRule |
Utility methods for the package
Created on Jan 17, 2005
|
AccessNode |
This interface captures Java access modifiers.
|
AccessorClassGenerationRule |
1.
|
AccessorMethodGenerationRule |
|
Annotatable |
The interface use to mark nodes that can be annotated.
|
AppendCharacterWithCharRule |
This rule finds the following:
|
ArrayIsStoredDirectlyRule |
If a method or constructor receives an array as an argument, the array should
be cloned instead of directly stored.
|
AssignmentInOperandRule |
|
AssignmentToNonFinalStaticRule |
|
ASTAdditiveExpression |
Represents an addition operation on two or more values, or string concatenation.
|
ASTAllocationExpression |
|
ASTAndExpression |
Represents a non-shortcut boolean AND-expression.
|
ASTAnnotation |
Represents an annotation.
|
ASTAnnotationMethodDeclaration |
|
ASTAnnotationTypeBody |
|
ASTAnnotationTypeDeclaration |
|
ASTAnnotationTypeMemberDeclaration |
|
ASTAnyTypeBodyDeclaration |
Marker interface for type body declarations, such as annotation members, field or method declarations.
|
ASTAnyTypeBodyDeclaration.DeclarationKind |
Kind of declaration.
|
ASTAnyTypeDeclaration |
Groups enum, class, annotation and interface declarations.
|
ASTAnyTypeDeclaration.TypeKind |
The kind of type this node declares.
|
ASTArgumentList |
|
ASTArguments |
|
ASTArrayDimsAndInits |
|
ASTArrayInitializer |
|
ASTAssertStatement |
Represents an assert statement.
|
ASTAssignmentOperator |
|
ASTBlock |
|
ASTBlockStatement |
|
ASTBooleanLiteral |
|
ASTBreakStatement |
|
ASTCastExpression |
|
ASTCatchStatement |
Catch statement node.
|
ASTClassOrInterfaceBody |
|
ASTClassOrInterfaceBodyDeclaration |
|
ASTClassOrInterfaceDeclaration |
Represents class and interface declarations.
|
ASTClassOrInterfaceType |
Represents a class or interface type, possibly parameterised with type arguments.
|
ASTCompilationUnit |
|
ASTConditionalAndExpression |
Represents a boolean AND-expression.
|
ASTConditionalExpression |
Represents a conditional expression, aka ternary expression.
|
ASTConditionalOrExpression |
Represents a boolean OR-expression.
|
ASTConstructorDeclaration |
|
ASTContinueStatement |
|
ASTDefaultValue |
|
ASTDoStatement |
Represents a do ... while statement.
|
ASTEmptyStatement |
|
ASTEnumBody |
|
ASTEnumConstant |
|
ASTEnumDeclaration |
|
ASTEqualityExpression |
Represents an identity test between two values or more values.
|
ASTExclusiveOrExpression |
Represents a boolean XOR-expression.
|
ASTExplicitConstructorInvocation |
|
ASTExpression |
Represents an expression, in the most general sense.
|
ASTExtendsList |
Represents the extends clause of a class or interface declaration.
|
ASTFieldDeclaration |
Represents a field declaration in the body of a type declaration.
|
ASTFinallyStatement |
|
ASTForInit |
|
ASTFormalParameter |
Formal parameter node.
|
ASTFormalParameters |
|
ASTForStatement |
Represents a for -loop, or a foreach loop.
|
ASTForUpdate |
|
ASTIfStatement |
Represents an if statement, possibly with an else statement.
|
ASTImplementsList |
Represents the implements clause of a class declaration.
|
ASTImportDeclaration |
Represents an import declaration in a Java file.
|
ASTInclusiveOrExpression |
Represents a non-shortcut boolean OR-expression.
|
ASTInitializer |
|
ASTInstanceOfExpression |
Represents a type test on an object.
|
ASTLabeledStatement |
|
ASTLambdaExpression |
|
ASTLiteral |
|
ASTLocalVariableDeclaration |
Represents a local variable declaration.
|
ASTMarkerAnnotation |
Represents an annotation with no declared member, e.g.
|
ASTMemberSelector |
|
ASTMemberValue |
Represents the value of a member of an annotation.
|
ASTMemberValueArrayInitializer |
Represents an array of member values in an annotation member value.
|
ASTMemberValuePair |
Represents a single member-value pair in an annotation.
|
ASTMemberValuePairs |
Represents a list of member values in an annotation.
|
ASTMethodDeclaration |
Method declaration node.
|
ASTMethodDeclarator |
|
ASTMethodOrConstructorDeclaration |
Groups method and constructor declarations under a common type.
|
ASTMethodReference |
|
ASTModuleDeclaration |
|
ASTModuleDirective |
|
ASTModuleDirective.DirectiveType |
|
ASTModuleDirective.RequiresModifier |
|
ASTModuleName |
|
ASTMultiplicativeExpression |
Represents a multiplication, division, or modulo operation on
two or more values.
|
ASTName |
|
ASTNameList |
|
ASTNormalAnnotation |
Represents an annotation that with a parenthesized list
of key-value pairs (possibly empty).
|
ASTNullLiteral |
|
ASTPackageDeclaration |
|
ASTPostfixExpression |
Represents a unary postfix operation on a value.
|
ASTPreDecrementExpression |
Represents a pre-decrement expression on a variable.
|
ASTPreIncrementExpression |
Represents a pre-increment expression on a variable.
|
ASTPrimaryExpression |
|
ASTPrimaryPrefix |
|
ASTPrimarySuffix |
|
ASTPrimitiveType |
Represents a primitive type.
|
ASTReferenceType |
Represents a reference type, i.e.
|
ASTRelationalExpression |
Represents a comparison on two numeric values.
|
ASTResource |
|
ASTResources |
|
ASTResourceSpecification |
|
ASTResultType |
|
ASTReturnStatement |
|
ASTRSIGNEDSHIFT |
Deprecated.
|
ASTRUNSIGNEDSHIFT |
Deprecated.
|
ASTShiftExpression |
Represents a shift expression on a numeric value.
|
ASTSingleMemberAnnotation |
Represents an annotation using the shorthand syntax for the default member.
|
ASTStatement |
|
ASTStatementExpression |
|
ASTStatementExpressionList |
|
ASTSwitchExpression |
|
ASTSwitchLabel |
|
ASTSwitchLabeledBlock |
|
ASTSwitchLabeledExpression |
|
ASTSwitchLabeledRule |
|
ASTSwitchLabeledThrowStatement |
|
ASTSwitchStatement |
Represents a switch statement.
|
ASTSynchronizedStatement |
|
ASTThrowStatement |
|
ASTTryStatement |
Try statement node.
|
ASTType |
Represents a type reference.
|
ASTTypeArgument |
|
ASTTypeArguments |
Represents a list of type arguments.
|
ASTTypeBound |
|
ASTTypeDeclaration |
|
ASTTypeParameter |
Represents a type parameter declaration of a method, constructor, class or interface declaration.
|
ASTTypeParameters |
Represents a list of type parameters.
|
ASTUnaryExpression |
Represents a unary prefix operation on a value.
|
ASTUnaryExpressionNotPlusMinus |
Represents a boolean negation or bitwise inverse operation.
|
ASTVariableDeclarator |
Groups a variable ID and its initializer if it exists.
|
ASTVariableDeclaratorId |
Represents an identifier in the context of variable or parameter declarations (not their use in
expressions).
|
ASTVariableInitializer |
|
ASTWhileStatement |
Represents a while statement.
|
ASTWildcardBounds |
|
AtfdBaseVisitor |
Deprecated.
|
AtfdMetric |
Access to Foreign Data.
|
AtfdMetric.AtfdClassMetric |
|
AtfdMetric.AtfdOperationMetric |
|
AtLeastOneConstructorRule |
This rule detects non-static classes with no constructors;
requiring even the default constructor to be explicit.
|
AvoidBranchingStatementAsLastInLoopRule |
|
AvoidCallingFinalizeRule |
|
AvoidCatchingThrowableRule |
Finds catch statements containing throwable as the
type definition.
|
AvoidDeeplyNestedIfStmtsRule |
|
AvoidDollarSignsRule |
|
AvoidDuplicateLiteralsRule |
|
AvoidDuplicateLiteralsRule.ExceptionParser |
Deprecated.
|
AvoidFieldNameMatchingMethodNameRule |
|
AvoidFieldNameMatchingTypeNameRule |
|
AvoidInstantiatingObjectsInLoopsRule |
|
AvoidMultipleUnaryOperatorsRule |
|
AvoidReassigningLoopVariablesRule |
|
AvoidReassigningParametersRule |
|
AvoidUsingHardCodedIPRule |
|
AvoidUsingOctalValuesRule |
|
BeanMembersShouldSerializeRule |
|
BigIntegerInstantiationRule |
Rule that marks instantiations of new BigInteger or
BigDecimal objects, when there is a well-known constant available,
such as BigInteger.ZERO .
|
BooleanInstantiationRule |
Avoid instantiating Boolean objects; you can reference Boolean.TRUE,
Boolean.FALSE, or call Boolean.valueOf() instead.
|
Bound |
|
BoundOrConstraint |
|
BrokenNullCheckRule |
|
CanSuppressWarnings |
|
CheckResultSetRule |
Rule that verifies, that the return values of next(), first(), last(), etc.
|
CheckSkipResultRule |
|
ClassNameDeclaration |
|
ClassNamingConventionsRule |
Configurable naming conventions for type declarations.
|
ClassScope |
This scope represents one Java class.
|
ClassTypeResolver |
|
CloneMethodMustImplementCloneableRule |
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.
|
CloseResourceRule |
Makes sure you close your database connections.
|
CodeInCommentsRule |
|
Comment |
|
CommentContentRule |
A rule that checks for illegal words in the comment text.
|
CommentDefaultAccessModifierRule |
Check for Methods, Fields and Nested Classes that have a default access
modifier
This rule ignores all nodes annotated with @VisibleForTesting by default.
|
CommentRequiredRule |
|
CommentSizeRule |
A rule to manage those who just can't shut up...
|
CommentUtil |
Deprecated.
|
CompareObjectsWithEqualsRule |
|
ConfusingTernaryRule |
if (x != y) { diff(); } else { same(); } and
(!x ? diff() : same());
|
ConsecutiveAppendsShouldReuseRule |
|
ConsecutiveLiteralAppendsRule |
This rule finds concurrent calls to StringBuffer/Builder.append where String
literals are used It would be much better to make these calls using one call
to .append
|
Constraint |
|
ConstructorCallsOverridableMethodRule |
Searches through all methods and constructors called from constructors.
|
CouplingBetweenObjectsRule |
CouplingBetweenObjects attempts to capture all unique Class attributes, local
variables, and return types to determine how many objects a class is coupled
to.
|
CycloAssertAwareDecorator |
Deprecated.
|
CycloBaseVisitor |
Deprecated.
|
CyclomaticComplexityRule |
Cyclomatic complexity rule using metrics.
|
CycloMetric |
Cyclomatic Complexity.
|
CycloMetric.CycloOption |
Options for CYCLO.
|
CycloPathAwareDecorator |
Deprecated.
|
CycloVisitor |
Visitor for the Cyclo metric.
|
DaaRuleViolation |
The RuleViolation is extended by the VariableName.
|
DataClassRule |
|
DataflowAnomalyAnalysisRule |
Starts path search for each method and runs code if found.
|
DataFlowFacade |
TODO What about initializers? This only processes methods and
constructors.
|
DeclarationFinderFunction |
|
Dimensionable |
Deprecated.
|
DontImportJavaLangRule |
|
DontImportSunRule |
|
DoubleCheckedLockingRule |
void method() {
if (x == null) {
synchronized(this){
if (x == null) {
x = new | method();
}
}
}
}
|
DummyJavaNode |
This is a basic JavaNode implementation, useful when needing to create a
dummy node.
|
DumpFacade |
|
DuplicateImportsRule |
|
ExceptionAsFlowControlRule |
Catches the use of exception statements as a flow control device.
|
ExcessiveClassLengthRule |
This rule detects when a class exceeds a certain threshold.
|
ExcessiveImportsRule |
ExcessiveImports attempts to count all unique imports a class contains.
|
ExcessiveLengthRule |
This is a common super class for things which have excessive length.
|
ExcessiveMethodLengthRule |
This rule detects when a method exceeds a certain threshold.
|
ExcessiveNodeCountRule |
This is a common super class for things which shouldn't have excessive nodes
underneath.
|
ExcessiveParameterListRule |
This rule detects an abnormally long parameter list.
|
ExcessivePublicCountRule |
Rule attempts to count all public methods and public attributes
defined in a class.
|
FieldDeclarationsShouldBeAtStartOfClassRule |
Detects fields that are declared after methods, constructors, etc.
|
FieldNamingConventionsRule |
Configurable naming conventions for field declarations.
|
ForLoopCanBeForeachRule |
|
FormalComment |
|
FormalParameterNamingConventionsRule |
Enforces a naming convention for lambda and method parameters.
|
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.
|
GenericLiteralCheckerRule |
This class allow to match a Literal (most likely a String) with a regex
pattern.
|
GetCommentOnFunction |
Deprecated. |
GodClassRule |
The God Class Rule detects the God Class design flaw using metrics.
|
GuardLogStatementRule |
Check that log.debug, log.trace, log.error, etc...
|
HardCodedCryptoKeyRule |
Finds hard coded encryption keys that are passed to
javax.crypto.spec.SecretKeySpec(key, algorithm).
|
HeaderCommentsRule |
Restrictions regarding the legal placement and content of the file header.
|
IdempotentOperationsRule |
|
IdenticalCatchBranchesRule |
Flags identical catch branches, which can be collapsed into a multi-catch.
|
ImmutableFieldRule |
|
ImportFromSamePackageRule |
|
InefficientEmptyStringCheckRule |
This rule finds code which inefficiently determines empty strings.
|
InefficientStringBufferingRule |
How this rule works: find additive expressions: + check that the addition is
between anything other than two literals if true and also the parent is
StringBuffer constructor or append, report a violation.
|
InferenceRuleType |
|
InsecureCryptoIvRule |
Finds hardcoded static Initialization Vectors vectors used with cryptographic
operations.
|
InsufficientStringBufferDeclarationRule |
This rule finds StringBuffers which may have been pre-sized incorrectly.
|
InvalidSlf4jMessageFormatRule |
|
JavaClassMetric |
Metric that can be computed on a class node.
|
JavaClassMetricKey |
Keys identifying standard class metrics.
|
JavaDataFlowHandler |
|
JavaDataFlowNode |
|
JavaDFAGraphRule |
|
JavadocElement |
|
JavadocRule |
|
JavadocTag |
|
JavaFieldSigMask |
Signature mask for a field.
|
JavaFieldSignature |
Signature for a field.
|
JavaFunctions |
Deprecated. |
JavaLanguage |
|
JavaLanguageHandler |
|
JavaLanguageModule |
Created by christoferdutz on 20.09.14.
|
JavaLanguageParser |
Adapter for the JavaParser, using the specified grammar version.
|
JavaMetrics |
User bound façade of the Metrics Framework.
|
JavaMetricsComputer |
Computes a metric.
|
JavaNameOccurrence |
|
JavaNode |
|
JavaOperationMetric |
Metric that can be computed on an operation.
|
JavaOperationMetricKey |
Keys identifying standard operation metrics.
|
JavaOperationQualifiedName |
Specializes JavaQualifiedName for operations.
|
JavaOperationSigMask |
Signature mask for an operation.
|
JavaOperationSignature |
Signature for an operation.
|
JavaOperationSignature.Role |
Role of an operation.
|
JavaParser |
|
JavaParserConstants |
Token literal values and constants.
|
JavaParserControllessVisitor |
Deprecated.
|
JavaParserControllessVisitorAdapter |
Deprecated.
|
JavaParserDecoratedVisitor |
Deprecated.
|
JavaParserTokenManager |
Token Manager.
|
JavaParserTreeConstants |
|
JavaParserVisitor |
|
JavaParserVisitorAdapter |
|
JavaParserVisitorDecorator |
Deprecated.
|
JavaParserVisitorReducedAdapter |
Visitor adapter with convenient visit methods to e.g.
|
JavaQualifiableNode |
Java nodes that can be described with a qualified name.
|
JavaQualifiedName |
Unambiguous identifier for a java method or class.
|
JavaRuleChainVisitor |
|
JavaRuleViolation |
This is a Java RuleViolation.
|
JavaRuleViolationFactory |
|
JavaSigMask<T extends JavaSignature<?>> |
Generic signature mask.
|
JavaSignature<N extends net.sourceforge.pmd.lang.ast.SignedNode<N>> |
Generic signature.
|
JavaSignature.Visibility |
The visibility of a node.
|
JavaTokenizer |
|
JavaTokenManager |
Java Token Manager implementation.
|
JavaTypeDefinition |
|
JavaTypeQualifiedName |
|
JJTJavaParserState |
|
JUnitAssertionsShouldIncludeMessageRule |
|
JUnitTestsShouldIncludeAssertRule |
|
JUnitUseExpectedRule |
This rule finds code like this:
|
LawOfDemeterRule |
This rule can detect possible violations of the Law of Demeter.
|
LinguisticNamingRule |
|
LocalScope |
A LocalScope can have variable declarations and class declarations within it.
|
LocalVariableCouldBeFinalRule |
|
LocalVariableNamingConventionsRule |
Enforces a naming convention for local variables and other locally scoped variables.
|
LocMetric |
Lines of Code.
|
LocMetric.LocClassMetric |
|
LocMetric.LocOperationMetric |
|
LooseCouplingRule |
|
LoosePackageCouplingRule |
The loose package coupling Rule can be used to ensure coupling outside of a
package hierarchy is minimized to all but an allowed set of classes from
within the package hierarchy.
|
MethodArgumentCouldBeFinalRule |
|
MethodLikeNode |
Groups method, constructor and lambda declarations under a common type.
|
MethodLikeNode.MethodLikeKind |
Kind of method-like.
|
MethodNameDeclaration |
|
MethodNamingConventionsRule |
|
MethodReturnsInternalArrayRule |
Implementation note: this rule currently ignores return types of y.x.z,
currently it handles only local type fields.
|
MethodScope |
A Method Scope can have variable declarations and class declarations within
it.
|
MethodType |
This is really just a POJO.
|
MethodTypeResolution |
|
MethodWithSameNameAsEnclosingClassRule |
|
MetricFunction |
Deprecated. |
MissingOverrideRule |
Flags missing @Override annotations.
|
ModifiedCyclomaticComplexityRule |
Deprecated. |
MoreThanOneLoggerRule |
|
MultifileVisitor |
Fills the PackageStats.
|
MultifileVisitorFacade |
|
MultiLineComment |
|
NameFinder |
|
NcssBaseVisitor |
Deprecated.
|
NcssConstructorCountRule |
Deprecated. |
NcssCountImportsDecorator |
Deprecated.
|
NcssCountRule |
Simple rule for Ncss.
|
NcssMethodCountRule |
Deprecated. |
NcssMetric |
Non-commenting source statements.
|
NcssMetric.NcssClassMetric |
|
NcssMetric.NcssOperationMetric |
|
NcssMetric.NcssOption |
Variants of NCSS.
|
NcssTypeCountRule |
Deprecated. |
NcssVisitor |
Visitor for the Ncss metric.
|
NoamMetric |
Number of accessor methods.
|
NonThreadSafeSingletonRule |
|
NopaMetric |
Number of public attributes.
|
NpathBaseVisitor |
Deprecated.
|
NPathComplexityRule |
Simple n-path complexity rule.
|
NpathMetric |
NPath complexity.
|
NullAssignmentRule |
|
OccurrenceFinder |
|
OnlyOneReturnRule |
|
OverrideBothEqualsAndHashcodeRule |
|
ParseException |
This exception is thrown when parse errors are encountered.
|
PMDASMClassLoader |
|
PMDASMVisitor |
|
PositionalIteratorRule |
|
PrematureDeclarationRule |
Checks for variables in methods that are defined before they are really
needed.
|
PreserveStackTraceRule |
|
QualifiedNameFactory |
Static factory methods for JavaQualifiedName.
|
QualifiedNameResolver |
|
RedundantFieldInitializerRule |
Detects redundant field initializers, i.e.
|
RegexHelper |
A simple helper class to regroup a bunch of method generally used by rules
using regex.
|
ScopeAndDeclarationFinder |
Visitor for scope creation.
|
Search |
|
SignatureDeclareThrowsExceptionRule |
A method/constructor shouldn't explicitly throw java.lang.Exception, since it
is unclear which exceptions that can be thrown from the methods.
|
SimpleTypedNameDeclaration |
Just stores a type image and a actual type.
|
SimplifyBooleanReturnsRule |
|
SingleLineComment |
|
SingleMethodSingletonRule |
Returns Checks if the singleton rule is used properly.
|
SingletonClassReturningNewInstanceRule |
|
SingularFieldRule |
|
SourceFileScope |
This scope is the outer most scope of a Java file.
|
StatementAndBraceFinder |
Sublayer of DataFlowFacade.
|
StdCyclomaticComplexityRule |
Deprecated. |
StdCyclomaticComplexityRule.Entry |
|
StringConcatenationRule |
|
StringInstantiationRule |
|
StringToStringRule |
|
SuspiciousHashcodeMethodNameRule |
|
SuspiciousOctalEscapeRule |
|
SwitchDensityRule |
Switch Density - This is the number of statements over the number of
cases within a switch.
|
SymbolFacade |
|
SymbolTableTestRule |
|
TccAttributeAccessCollector |
Deprecated.
|
TccMetric |
Tight class cohesion.
|
TestClassWithoutTestCasesRule |
|
Token |
|
Token.GTToken |
|
TooManyFieldsRule |
|
TypeDefinition |
|
TypeDefinitionType |
|
TypedNameDeclaration |
|
TypeHelper |
|
TypeInferenceResolver |
|
TypeInferenceResolver.ResolutionFailedException |
|
TypeIsExactlyFunction |
Deprecated. |
TypeIsFunction |
Deprecated. |
TypeNode |
This interface allows a Java Class to be associated with a node.
|
TypeOfFunction |
Deprecated. |
TypeResolutionFacade |
|
TypeSet |
Keeps track of the types encountered in a ASTCompilationUnit
|
TypeSet.AbstractResolver |
|
TypeSet.CurrentPackageResolver |
Resolver that uses the current package to resolve a simple class name.
|
TypeSet.ExplicitImportResolver |
Resolver that tries to resolve the given simple class name with the
explicit import statements.
|
TypeSet.FullyQualifiedNameResolver |
Resolver that simply loads the class by name.
|
TypeSet.ImplicitImportResolver |
Resolver that resolves simple class names from the implicit import of
java.lang.* .
|
TypeSet.ImportOnDemandResolver |
Resolver that uses the "on demand" import statements.
|
TypeSet.PrimitiveTypeResolver |
Resolver that resolves primitive types such as int or double.
|
TypeSet.Resolver |
A resolver that can resolve a class by name.
|
TypeSet.VoidResolver |
Resolver that resolves the "void" type.
|
UnnecessaryAnnotationValueElementRule |
|
UnnecessaryCaseChangeRule |
|
UnnecessaryCastRule |
This is a rule, that detects unnecessary casts when using Java 1.5 generics
and collections.
|
UnnecessaryConstructorRule |
This rule detects when a constructor is not necessary;
i.e., when there is only one constructor, it’s public, has an empty body,
and takes no arguments.
|
UnnecessaryConversionTemporaryRule |
|
UnnecessaryFullyQualifiedNameRule |
|
UnnecessaryLocalBeforeReturnRule |
|
UnnecessaryModifierRule |
|
UnnecessaryReturnRule |
|
UnnecessaryWrapperObjectCreationRule |
|
UnsynchronizedStaticDateFormatterRule |
Deprecated.
|
UnsynchronizedStaticFormatterRule |
Using a Formatter (e.g.
|
UnusedFormalParameterRule |
|
UnusedImportsRule |
|
UnusedLocalVariableRule |
|
UnusedPrivateFieldRule |
|
UnusedPrivateMethodRule |
This rule detects private methods, that are not used and can therefore be
deleted.
|
UseCollectionIsEmptyRule |
Detect structures like "foo.size() == 0" and suggest replacing them with
foo.isEmpty().
|
UseIndexOfCharRule |
|
UselessAssignment |
|
UselessOperationOnImmutableRule |
An operation on an Immutable object (String, BigDecimal or BigInteger) won't
change the object itself.
|
UselessOverridingMethodRule |
|
UselessStringValueOfRule |
|
UseStringBufferForStringAppendsRule |
|
UseStringBufferLengthRule |
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().
|
UseUtilityClassRule |
|
Variable |
|
VariableAccessVisitor |
Searches for special nodes and computes based on the sequence, the type of
access of a variable.
|
VariableNameDeclaration |
|
VariableNamingConventionsRule |
Deprecated. |
WmcMetric |
Weighed Method count.
|
WocMetric |
Weight of class.
|