| java.lang.Object net.sourceforge.jrefactory.parser.JavaParserVisitorAdapter org.acm.seguin.pmd.AbstractRule
All known Subclasses: org.acm.seguin.pmd.rules.AvoidDeeplyNestedIfStmtsRule, org.acm.seguin.pmd.rules.ConstructorCallsOverridableMethodRule, org.acm.seguin.pmd.rules.MethodNamingConventionsRule, org.acm.seguin.pmd.rules.IdempotentOperationsRule, org.acm.seguin.pmd.rules.AvoidWritingToArrayParametersRule, org.acm.seguin.pmd.rules.design.PositionalIteratorRule, org.acm.seguin.pmd.rules.UnusedPrivateMethodRule, org.acm.seguin.pmd.rules.AvoidReassigningParametersRule, org.acm.seguin.pmd.rules.design.OnlyOneReturnRule, org.acm.seguin.pmd.rules.AtLeastOneConstructorRule, org.acm.seguin.pmd.rules.CouplingBetweenObjectsRule, org.acm.seguin.pmd.rules.SimplifyBooleanReturnsRule, org.acm.seguin.pmd.rules.UnusedFormalParameterRule, org.acm.seguin.pmd.rules.design.NullAssignmentRule, org.acm.seguin.pmd.rules.DoubleCheckedLockingRule, org.acm.seguin.pmd.rules.design.LooseCouplingRule, org.acm.seguin.pmd.rules.strictexception.ExceptionTypeChecking, org.acm.seguin.pmd.rules.AvoidDuplicateLiteralsRule, org.acm.seguin.pmd.rules.design.UseSingletonRule, org.acm.seguin.pmd.rules.StringToStringRule, org.acm.seguin.pmd.rules.XPathRule, org.acm.seguin.pmd.stat.StatisticalRule, org.acm.seguin.pmd.rules.StringConcatenationRule, org.acm.seguin.pmd.rules.AccessorClassGenerationRule, org.acm.seguin.pmd.rules.ImportFromSamePackageRule, org.acm.seguin.pmd.rules.CyclomaticComplexityRule, org.acm.seguin.pmd.rules.ClassNamingConventionsRule, org.acm.seguin.pmd.rules.UnusedPrivateFieldRule, org.acm.seguin.pmd.rules.strictexception.ExceptionSignatureDeclaration, org.acm.seguin.pmd.rules.junit.JUnitAssertionsShouldIncludeMessageRule, org.acm.seguin.pmd.rules.UnnecessaryConversionTemporaryRule, org.acm.seguin.pmd.rules.SymbolTableTestRule, org.acm.seguin.pmd.rules.BeanMembersShouldSerializeRule, org.acm.seguin.pmd.rules.VariableNamingConventionsRule, org.acm.seguin.pmd.rules.DuplicateImportsRule, org.acm.seguin.pmd.rules.UnusedImportsRule, org.acm.seguin.pmd.rules.UnusedLocalVariableRule, org.acm.seguin.pmd.rules.strictexception.AvoidCatchingThrowable,
Method Summary | |
public void | addProperty(String name, String value) | public void | apply(List acus, RuleContext ctx) | public RuleViolation | createRuleViolation(RuleContext ctx, int lineNumber) | public RuleViolation | createRuleViolation(RuleContext ctx, int lineNumber, String specificDescription) | public boolean | equals(Object o) | public boolean | getBooleanProperty(String name) | public String | getDescription() | public double | getDoubleProperty(String name) | public String | getExample() | public int | getIntProperty(String name) | public String | getMessage() | public String | getName() | public int | getPriority() Returns the rule's priority that is used for including the rule in reports and analysis. | public String | getPriorityName() Returns the rule's priority name that is used for including the rule in reports and analysis. | public RuleProperties | getProperties() Gets an enumeration to enumerate through this rule's property names. | public String | getStringProperty(String name) | public boolean | hasProperty(String name) | public int | hashCode() | public boolean | include() When the rule is to be included in the analysis, returns true; otherwise, returns false. | public void | setDescription(String description) | public void | setExample(String example) | public void | setInclude(boolean include) When the rule is to be included in the analysis, set to true; otherwise, set to false. | public void | setMessage(String message) | public void | setName(String name) | public void | setPriority(int priority) A rule will specify a priority for inclusion in reports and analysis. | public Object | visit(ASTCompilationUnit expr, Object data) | protected void | visitAll(List acus, RuleContext ctx) |
getBooleanProperty | public boolean getBooleanProperty(String name)(Code) | | |
getDoubleProperty | public double getDoubleProperty(String name)(Code) | | |
getPriority | public int getPriority()(Code) | | Returns the rule's priority that is used for including the rule in reports and analysis.
A number between 1 and LOWEST_PRIORITY. |
getPriorityName | public String getPriorityName()(Code) | | Returns the rule's priority name that is used for including the rule in reports and analysis.
A member of PRIORITIES. |
getProperties | public RuleProperties getProperties()(Code) | | Gets an enumeration to enumerate through this rule's property names.
An enumeration of property names |
hashCode | public int hashCode()(Code) | | |
include | public boolean include()(Code) | | When the rule is to be included in the analysis, returns true; otherwise, returns false.
True when the rule is included in analysis. |
setDescription | public void setDescription(String description)(Code) | | |
setInclude | public void setInclude(boolean include)(Code) | | When the rule is to be included in the analysis, set to true; otherwise, set to false.
Parameters: include - True when the rule is included in analysis. |
setPriority | public void setPriority(int priority)(Code) | | A rule will specify a priority for inclusion in reports and analysis. The default
priority is "Low".
Parameters: The - rule's priority of 1..LOWEST_PRIORITY. |
Methods inherited from net.sourceforge.jrefactory.parser.JavaParserVisitorAdapter | public Object visit(SimpleNode node, Object data)(Code)(Java Doc) public Object visit(ASTJSPBody node, Object data)(Code)(Java Doc) public Object visit(ASTTypeParameterList node, Object data)(Code)(Java Doc) public Object visit(ASTTypeParameter node, Object data)(Code)(Java Doc) public Object visit(ASTTypeArguments node, Object data)(Code)(Java Doc) public Object visit(ASTReferenceTypeList node, Object data)(Code)(Java Doc) public Object visit(ASTClassOrInterfaceType node, Object data)(Code)(Java Doc) public Object visit(ASTReferenceType node, Object data)(Code)(Java Doc) public Object visit(ASTActualTypeArgument node, Object data)(Code)(Java Doc) public Object visit(ASTTypeParameters node, Object data)(Code)(Java Doc) public Object visit(ASTGenericNameList node, Object data)(Code)(Java Doc) public Object visit(ASTEnumDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTEnumElement node, Object data)(Code)(Java Doc) public Object visit(ASTIdentifier node, Object data)(Code)(Java Doc) public Object visit(ASTAnnotationTypeDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTAnnotationMethodDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTConstantDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTAnnotation node, Object data)(Code)(Java Doc) public Object visit(ASTMemberValuePairs node, Object data)(Code)(Java Doc) public Object visit(ASTMemberValuePair node, Object data)(Code)(Java Doc) public Object visit(ASTMemberValue node, Object data)(Code)(Java Doc) public Object visit(ASTMemberValueArrayInitializer node, Object data)(Code)(Java Doc) public Object visit(ASTCompilationUnit node, Object data)(Code)(Java Doc) public Object visit(ASTPackageDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTImportDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTTypeDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTClassDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTUnmodifiedClassDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTClassBody node, Object data)(Code)(Java Doc) public Object visit(ASTNestedClassDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTClassBodyDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTInterfaceDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTNestedInterfaceDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTUnmodifiedInterfaceDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTInterfaceBody node, Object data)(Code)(Java Doc) public Object visit(ASTInterfaceMemberDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTFieldDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTVariableDeclarator node, Object data)(Code)(Java Doc) public Object visit(ASTVariableDeclaratorId node, Object data)(Code)(Java Doc) public Object visit(ASTVariableInitializer node, Object data)(Code)(Java Doc) public Object visit(ASTArrayInitializer node, Object data)(Code)(Java Doc) public Object visit(ASTMethodDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTMethodDeclarator node, Object data)(Code)(Java Doc) public Object visit(ASTFormalParameters node, Object data)(Code)(Java Doc) public Object visit(ASTFormalParameter node, Object data)(Code)(Java Doc) public Object visit(ASTConstructorDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTExplicitConstructorInvocation node, Object data)(Code)(Java Doc) public Object visit(ASTInitializer node, Object data)(Code)(Java Doc) public Object visit(ASTType node, Object data)(Code)(Java Doc) public Object visit(ASTPrimitiveType node, Object data)(Code)(Java Doc) public Object visit(ASTResultType node, Object data)(Code)(Java Doc) public Object visit(ASTName node, Object data)(Code)(Java Doc) public Object visit(ASTNameList node, Object data)(Code)(Java Doc) public Object visit(ASTExpression node, Object data)(Code)(Java Doc) public Object visit(ASTAssignmentOperator node, Object data)(Code)(Java Doc) public Object visit(ASTConditionalExpression node, Object data)(Code)(Java Doc) public Object visit(ASTConditionalOrExpression node, Object data)(Code)(Java Doc) public Object visit(ASTConditionalAndExpression node, Object data)(Code)(Java Doc) public Object visit(ASTInclusiveOrExpression node, Object data)(Code)(Java Doc) public Object visit(ASTExclusiveOrExpression node, Object data)(Code)(Java Doc) public Object visit(ASTAndExpression node, Object data)(Code)(Java Doc) public Object visit(ASTEqualityExpression node, Object data)(Code)(Java Doc) public Object visit(ASTInstanceOfExpression node, Object data)(Code)(Java Doc) public Object visit(ASTRelationalExpression node, Object data)(Code)(Java Doc) public Object visit(ASTShiftExpression node, Object data)(Code)(Java Doc) public Object visit(ASTAdditiveExpression node, Object data)(Code)(Java Doc) public Object visit(ASTMultiplicativeExpression node, Object data)(Code)(Java Doc) public Object visit(ASTUnaryExpression node, Object data)(Code)(Java Doc) public Object visit(ASTPreIncrementExpression node, Object data)(Code)(Java Doc) public Object visit(ASTPreDecrementExpression node, Object data)(Code)(Java Doc) public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data)(Code)(Java Doc) public Object visit(ASTPostfixExpression node, Object data)(Code)(Java Doc) public Object visit(ASTCastExpression node, Object data)(Code)(Java Doc) public Object visit(ASTPrimaryExpression node, Object data)(Code)(Java Doc) public Object visit(ASTPrimaryPrefix node, Object data)(Code)(Java Doc) public Object visit(ASTPrimarySuffix node, Object data)(Code)(Java Doc) public Object visit(ASTLiteral node, Object data)(Code)(Java Doc) public Object visit(ASTBooleanLiteral node, Object data)(Code)(Java Doc) public Object visit(ASTNullLiteral node, Object data)(Code)(Java Doc) public Object visit(ASTArguments node, Object data)(Code)(Java Doc) public Object visit(ASTArgumentList node, Object data)(Code)(Java Doc) public Object visit(ASTAllocationExpression node, Object data)(Code)(Java Doc) public Object visit(ASTArrayDimsAndInits node, Object data)(Code)(Java Doc) public Object visit(ASTStatement node, Object data)(Code)(Java Doc) public Object visit(ASTLabeledStatement node, Object data)(Code)(Java Doc) public Object visit(ASTBlock node, Object data)(Code)(Java Doc) public Object visit(ASTBlockStatement node, Object data)(Code)(Java Doc) public Object visit(ASTLocalVariableDeclaration node, Object data)(Code)(Java Doc) public Object visit(ASTEmptyStatement node, Object data)(Code)(Java Doc) public Object visit(ASTStatementExpression node, Object data)(Code)(Java Doc) public Object visit(ASTSwitchStatement node, Object data)(Code)(Java Doc) public Object visit(ASTSwitchLabel node, Object data)(Code)(Java Doc) public Object visit(ASTIfStatement node, Object data)(Code)(Java Doc) public Object visit(ASTWhileStatement node, Object data)(Code)(Java Doc) public Object visit(ASTDoStatement node, Object data)(Code)(Java Doc) public Object visit(ASTForStatement node, Object data)(Code)(Java Doc) public Object visit(ASTForInit node, Object data)(Code)(Java Doc) public Object visit(ASTStatementExpressionList node, Object data)(Code)(Java Doc) public Object visit(ASTForUpdate node, Object data)(Code)(Java Doc) public Object visit(ASTBreakStatement node, Object data)(Code)(Java Doc) public Object visit(ASTContinueStatement node, Object data)(Code)(Java Doc) public Object visit(ASTReturnStatement node, Object data)(Code)(Java Doc) public Object visit(ASTThrowStatement node, Object data)(Code)(Java Doc) public Object visit(ASTSynchronizedStatement node, Object data)(Code)(Java Doc) public Object visit(ASTTryStatement node, Object data)(Code)(Java Doc) public Object visit(ASTAssertionStatement node, Object data)(Code)(Java Doc)
|
|
|