| java.lang.Object net.sourceforge.pmd.CommonAbstractRule net.sourceforge.pmd.jsp.rules.AbstractJspRule
All known Subclasses: net.sourceforge.pmd.jsp.rules.NoInlineStyleInformation, net.sourceforge.pmd.jsp.rules.DuplicateJspImports,
Method Summary | |
final protected void | addViolation(Object data, SimpleNode node) Adds a violation to the report. | final protected void | addViolation(Object data, SimpleNode node, String embed) Adds a violation to the report. | final protected void | addViolation(Object data, Node node, Object[] args) Adds a violation to the report. | final protected void | addViolationWithMessage(Object data, SimpleNode node, String msg) Adds a violation to the report. | public void | apply(List acus, RuleContext ctx) | public void | setUsesTypeResolution() | public Object | visit(SimpleNode node, Object data) | public Object | visit(ASTCompilationUnit node, Object data) | public Object | visit(ASTContent node, Object data) | public Object | visit(ASTJspDirective node, Object data) | public Object | visit(ASTJspDirectiveAttribute node, Object data) | public Object | visit(ASTJspScriptlet node, Object data) | public Object | visit(ASTJspExpression node, Object data) | public Object | visit(ASTJspDeclaration node, Object data) | public Object | visit(ASTJspComment node, Object data) | public Object | visit(ASTText node, Object data) | public Object | visit(ASTUnparsedText node, Object data) | public Object | visit(ASTElExpression node, Object data) | public Object | visit(ASTValueBinding node, Object data) | public Object | visit(ASTCData node, Object data) | public Object | visit(ASTElement node, Object data) | public Object | visit(ASTAttribute node, Object data) | public Object | visit(ASTAttributeValue node, Object data) | public Object | visit(ASTJspExpressionInAttribute node, Object data) | public Object | visit(ASTCommentTag node, Object data) | public Object | visit(ASTDeclaration node, Object data) | public Object | visit(ASTDoctypeDeclaration node, Object data) | public Object | visit(ASTDoctypeExternalId node, Object data) | protected void | visitAll(List acus, RuleContext ctx) |
addViolation | final protected void addViolation(Object data, SimpleNode node)(Code) | | Adds a violation to the report.
Parameters: data - the RuleContext Parameters: node - the node that produces the violation |
addViolation | final protected void addViolation(Object data, SimpleNode node, String embed)(Code) | | Adds a violation to the report.
Parameters: data - the RuleContext Parameters: node - the node that produces the violation Parameters: embed - a variable to embed in the rule violation message |
addViolation | final protected void addViolation(Object data, Node node, Object[] args)(Code) | | Adds a violation to the report.
Parameters: data - the RuleContext Parameters: node - the node that produces the violation, may be null, in whichcase all line and column info will be set to zero Parameters: args - objects to embed in the rule violation message |
addViolationWithMessage | final protected void addViolationWithMessage(Object data, SimpleNode node, String msg)(Code) | | Adds a violation to the report.
Parameters: data - the RuleContext Parameters: node - the node that produces the violation Parameters: msg - specific message to put in the report |
setUsesTypeResolution | public void setUsesTypeResolution()(Code) | | |
|
|