net.sourceforge.pmd.jsp.rules
Class DuplicateJspImports

java.lang.Object
  extended by net.sourceforge.pmd.CommonAbstractRule
      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)
          Apply this rule to the given collection of compilation units, using the given context.
 java.lang.Object visit(ASTJspDirectiveAttribute node, java.lang.Object data)
           
 
Methods inherited from class net.sourceforge.pmd.jsp.rules.AbstractJspRule
addViolation, addViolation, addViolation, addViolationWithMessage, setUsesTypeResolution, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitAll
 
Methods inherited from class net.sourceforge.pmd.CommonAbstractRule
addExample, addProperties, addProperty, addRuleChainVisit, asFixedMap, asFixedMap, end, equals, getBooleanProperties, getBooleanProperty, getBooleanProperty, getDescription, getDoubleProperties, getDoubleProperty, getDoubleProperty, getExample, getExamples, getExternalInfoUrl, getIntProperties, getIntProperty, getIntProperty, getMessage, getName, getPriority, getPriorityName, getProperties, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, getStringProperties, getStringProperty, getStringProperty, getTypeProperties, getTypeProperty, hashCode, hasProperty, include, propertiesByName, propertyDescriptorFor, setDescription, setExternalInfoUrl, setInclude, setMessage, setName, setPriority, setProperties, setProperty, setRuleClass, setRuleSetName, setSince, setUsesDFA, start, usesDFA, usesRuleChain, usesTypeResolution
 
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)
Description copied from interface: Rule
Apply this rule to the given collection of compilation units, using the given context.

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 AbstractJspRule


Copyright © 2002-2011 InfoEther. All Rights Reserved.