net.sourceforge.pmd.lang.rule.ImmutableLanguage
, net.sourceforge.pmd.lang.rule.stat.StatisticalRule
, VmParserVisitor
, net.sourceforge.pmd.properties.PropertySource
, net.sourceforge.pmd.Rule
ExcessiveTemplateLengthRule
public abstract class AbstractStatisticalVmRule extends AbstractVmRule implements net.sourceforge.pmd.lang.rule.stat.StatisticalRule
propertyDescriptors, propertyValuesByDescriptor
Constructor | Description |
---|---|
AbstractStatisticalVmRule() |
Modifier and Type | Method | Description |
---|---|---|
void |
addDataPoint(net.sourceforge.pmd.stat.DataPoint point) |
|
void |
apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
net.sourceforge.pmd.RuleContext ctx) |
|
java.lang.Object[] |
getViolationParameters(net.sourceforge.pmd.stat.DataPoint point) |
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
addExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, deepCopy, deepCopyValuesTo, end, equals, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, hashCode, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolution
setUsesTypeResolution, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitAll
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
addExample, addRuleChainVisit, addRuleChainVisit, deepCopy, end, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, setUsesTypeResolution, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolution
public void addDataPoint(net.sourceforge.pmd.stat.DataPoint point)
addDataPoint
in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
public java.lang.Object[] getViolationParameters(net.sourceforge.pmd.stat.DataPoint point)
getViolationParameters
in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
public void apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes, net.sourceforge.pmd.RuleContext ctx)
apply
in interface net.sourceforge.pmd.Rule
apply
in class AbstractVmRule
Copyright © 2002–2018 PMD. All rights reserved.