net.sourceforge.pmd.jsp.rules
Class DuplicateJspImports

java.lang.Object
  extended by net.sourceforge.pmd.jsp.ast.JspParserVisitorAdapter
      extended by net.sourceforge.pmd.jsp.rules.AbstractJspRule
          extended by net.sourceforge.pmd.jsp.rules.DuplicateJspImports
All Implemented Interfaces:
JspParserVisitor, Rule

public class DuplicateJspImports
extends AbstractJspRule


Field Summary
 
Fields inherited from interface net.sourceforge.pmd.Rule
LOWEST_PRIORITY, PRIORITIES
 
Constructor Summary
DuplicateJspImports()
           
 
Method Summary
 void apply(java.util.List acus, RuleContext ctx)
           
 java.lang.Object visit(ASTJspDirectiveAttribute node, java.lang.Object data)
           
 
Methods inherited from class net.sourceforge.pmd.jsp.rules.AbstractJspRule
addExample, addProperties, addProperty, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, equals, getBooleanProperty, getDescription, getDoubleProperty, getExample, getExamples, getExternalInfoUrl, getIntProperty, getMessage, getName, getPriority, getPriorityName, getProperties, getRuleChainVisits, getRuleSetName, getStringProperty, hashCode, hasProperty, include, propertyDescriptorFor, setDescription, setExternalInfoUrl, setInclude, setMessage, setName, setPriority, setRuleSetName, setUsesDFA, setUsesTypeResolution, usesDFA, usesRuleChain, usesTypeResolution, visitAll
 
Methods inherited from class net.sourceforge.pmd.jsp.ast.JspParserVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DuplicateJspImports

public DuplicateJspImports()
Method Detail

apply

public void apply(java.util.List acus,
                  RuleContext ctx)
Specified by:
apply in interface Rule
Overrides:
apply in class AbstractJspRule

visit

public java.lang.Object visit(ASTJspDirectiveAttribute node,
                              java.lang.Object data)
Specified by:
visit in interface JspParserVisitor
Overrides:
visit in class JspParserVisitorAdapter