Uses of Class
net.sourceforge.pmd.RuleContext

Packages that use RuleContext
net.sourceforge.pmd This is the PMD programming mistake detector. 
net.sourceforge.pmd.ast   
net.sourceforge.pmd.dfa   
net.sourceforge.pmd.jsp.ast   
net.sourceforge.pmd.jsp.rules   
net.sourceforge.pmd.rules   
net.sourceforge.pmd.rules.codesize   
net.sourceforge.pmd.rules.design   
net.sourceforge.pmd.stat   
 

Uses of RuleContext in net.sourceforge.pmd
 

Methods in net.sourceforge.pmd with parameters of type RuleContext
 void Rule.apply(java.util.List<?> astCompilationUnits, RuleContext ctx)
          Apply this rule to the given collection of compilation units, using the given context.
 void RuleChain.apply(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx, Language language)
          Apply the RuleChain to the given ASTCompilationUnits using the given RuleContext, for those rules using the given Language.
 void RuleSets.apply(java.util.List<CompilationUnit> acuList, RuleContext ctx, Language language)
          Apply all applicable rules to the compilation units.
 void AbstractDelegateRule.apply(java.util.List astCompilationUnits, RuleContext ctx)
           
 void AbstractJavaRule.apply(java.util.List acus, RuleContext ctx)
           
 void RuleSet.apply(java.util.List acuList, RuleContext ctx)
           
 void AbstractDelegateRule.end(RuleContext ctx)
           
 void CommonAbstractRule.end(RuleContext ctx)
           
 void RuleSets.end(RuleContext ctx)
          Notify all rules of the end of processing.
 void RuleSet.end(RuleContext ctx)
           
 void Rule.end(RuleContext ctx)
          End processing.
protected abstract  void AbstractRuleChainVisitor.indexNodes(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)
          Index all nodes for visitation by rules.
 void PMD.processFile(java.io.InputStream fileContents, RuleSet ruleSet, RuleContext ctx)
          Processes the input stream against a rule set assuming the platform character set.
 void PMD.processFile(java.io.InputStream fileContents, java.lang.String encoding, RuleSet ruleSet, RuleContext ctx)
          Processes the input stream against a rule set using the given input encoding.
 void PMD.processFile(java.io.InputStream fileContents, java.lang.String encoding, RuleSets ruleSets, RuleContext ctx)
          Processes the input stream against a rule set using the given input encoding.
 void PMD.processFile(java.io.Reader reader, RuleSet ruleSet, RuleContext ctx)
          Processes the file read by the reader against the rule set.
 void PMD.processFile(java.io.Reader reader, RuleSets ruleSets, RuleContext ctx)
          Processes the file read by the reader against the rule set.
 void PMD.processFile(java.io.Reader reader, RuleSets ruleSets, RuleContext ctx, SourceType sourceType)
          Processes the file read by the reader against the rule set.
static void PMD.processFiles(int threadCount, RuleSetFactory ruleSetFactory, SourceType sourceType, java.util.List<DataSource> files, RuleContext ctx, java.util.List<Renderer> renderers, boolean stressTestEnabled, java.lang.String rulesets, boolean shortNamesEnabled, java.lang.String inputPath, java.lang.String encoding, java.lang.String excludeMarker, java.lang.ClassLoader classLoader)
          Run PMD on a list of files using multiple threads.
static void PMD.processFiles(int threadCount, RuleSetFactory ruleSetFactory, SourceType sourceType, java.util.List<DataSource> files, RuleContext ctx, java.util.List<Renderer> renderers, java.lang.String rulesets, boolean shortNamesEnabled, java.lang.String inputPath, java.lang.String encoding, java.lang.String excludeMarker, java.lang.ClassLoader classLoader)
          Run PMD on a list of files using multiple threads.
 void PMD.processFiles(java.util.List<DataSource> files, RuleContext ctx, RuleSets rulesets, boolean debugEnabled, boolean shortNamesEnabled, java.lang.String inputPath, java.lang.String encoding)
          Run PMD on a list of files.
 void AbstractDelegateRule.start(RuleContext ctx)
           
 void CommonAbstractRule.start(RuleContext ctx)
           
 void RuleSets.start(RuleContext ctx)
          Notify all rules of the start of processing.
 void RuleSet.start(RuleContext ctx)
           
 void Rule.start(RuleContext ctx)
          Start processing.
protected abstract  void AbstractRuleChainVisitor.visit(Rule rule, SimpleNode node, RuleContext ctx)
          Visit the given rule to the given node.
 void RuleChainVisitor.visitAll(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)
          Visit all the given ASTCompilationUnits provided using the given RuleContext.
 void AbstractRuleChainVisitor.visitAll(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)
           
protected  void AbstractJavaRule.visitAll(java.util.List acus, RuleContext ctx)
           
 

Constructors in net.sourceforge.pmd with parameters of type RuleContext
RuleContext(RuleContext ruleContext)
          Constructor which shares attributes with the given RuleContext.
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)
           
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, java.lang.String specificMsg)
           
 

Uses of RuleContext in net.sourceforge.pmd.ast
 

Methods in net.sourceforge.pmd.ast with parameters of type RuleContext
protected  void JavaRuleChainVisitor.indexNodes(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)
           
protected  void JavaRuleChainVisitor.visit(Rule rule, SimpleNode node, RuleContext ctx)
           
 

Uses of RuleContext in net.sourceforge.pmd.dfa
 

Constructors in net.sourceforge.pmd.dfa with parameters of type RuleContext
DaaRuleViolation(Rule rule, RuleContext ctx, SimpleNode node, java.lang.String type, java.lang.String msg, java.lang.String var, int beginLine, int endLine)
           
 

Uses of RuleContext in net.sourceforge.pmd.jsp.ast
 

Methods in net.sourceforge.pmd.jsp.ast with parameters of type RuleContext
protected  void JspRuleChainVisitor.indexNodes(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx)
           
protected  void JspRuleChainVisitor.visit(Rule rule, SimpleNode node, RuleContext ctx)
           
 

Uses of RuleContext in net.sourceforge.pmd.jsp.rules
 

Methods in net.sourceforge.pmd.jsp.rules with parameters of type RuleContext
 void AbstractJspRule.apply(java.util.List acus, RuleContext ctx)
           
 void DuplicateJspImports.apply(java.util.List acus, RuleContext ctx)
           
protected  void AbstractJspRule.visitAll(java.util.List acus, RuleContext ctx)
           
 

Uses of RuleContext in net.sourceforge.pmd.rules
 

Methods in net.sourceforge.pmd.rules with parameters of type RuleContext
 void XPathRule.apply(java.util.List astCompilationUnits, RuleContext ctx)
          Apply the rule to all compilation units.
 void XPathRule.evaluate(Node compilationUnit, RuleContext data)
          Evaluate the AST with compilationUnit as root-node, against the XPath expression found as property with name "xpath".
 

Uses of RuleContext in net.sourceforge.pmd.rules.codesize
 

Methods in net.sourceforge.pmd.rules.codesize with parameters of type RuleContext
protected  void NcssTypeCount.makeViolations(RuleContext ctx, java.util.Set<DataPoint> p)
           
protected  void NcssMethodCount.makeViolations(RuleContext ctx, java.util.Set<DataPoint> p)
           
protected  void NcssConstructorCount.makeViolations(RuleContext ctx, java.util.Set<DataPoint> p)
           
 

Uses of RuleContext in net.sourceforge.pmd.rules.design
 

Methods in net.sourceforge.pmd.rules.design with parameters of type RuleContext
 void GenericClassCounterRule.end(RuleContext ctx)
           
protected  void NpathComplexity.makeViolations(RuleContext ctx, java.util.Set<DataPoint> p)
           
 void GenericClassCounterRule.start(RuleContext ctx)
           
 

Uses of RuleContext in net.sourceforge.pmd.stat
 

Methods in net.sourceforge.pmd.stat with parameters of type RuleContext
 void StatisticalRule.apply(java.util.List acus, RuleContext ctx)
           
protected  void StatisticalRule.makeViolations(RuleContext ctx, java.util.Set<DataPoint> p)
           
 



Copyright © 2002-2011 InfoEther. All Rights Reserved.