Fixed imports
This commit is contained in:
@ -12,6 +12,7 @@ import net.sourceforge.pmd.lang.apex.rule.design.ExcessiveLengthRule;
|
||||
* of code.
|
||||
*/
|
||||
public class ExcessiveClassLengthRule extends ExcessiveLengthRule {
|
||||
|
||||
public ExcessiveClassLengthRule() {
|
||||
super(ASTCompilation.class);
|
||||
setProperty(MINIMUM_DESCRIPTOR, 1000d);
|
||||
|
@ -4,7 +4,7 @@
|
||||
package net.sourceforge.pmd.lang.apex.rule.design;
|
||||
|
||||
import net.sourceforge.pmd.lang.apex.ast.ApexNode;
|
||||
import net.sourceforge.pmd.lang.apex.rule.AbstractStatisticalJavaRule;
|
||||
import net.sourceforge.pmd.lang.apex.rule.AbstractStatisticalApexRule;
|
||||
import net.sourceforge.pmd.stat.DataPoint;
|
||||
|
||||
/**
|
||||
@ -15,7 +15,7 @@ import net.sourceforge.pmd.stat.DataPoint;
|
||||
* To implement an ExcessiveLength rule, you pass in the Class of node you want
|
||||
* to check, and this does the rest for you.
|
||||
*/
|
||||
public class ExcessiveLengthRule extends AbstractStatisticalJavaRule {
|
||||
public class ExcessiveLengthRule extends AbstractStatisticalApexRule {
|
||||
private Class<?> nodeClass;
|
||||
|
||||
public ExcessiveLengthRule(Class<?> nodeClass) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
package net.sourceforge.pmd.lang.apex.rule.design;
|
||||
|
||||
import net.sourceforge.pmd.lang.apex.ast.ApexNode;
|
||||
import net.sourceforge.pmd.lang.apex.rule.AbstractStatisticalJavaRule;
|
||||
import net.sourceforge.pmd.lang.apex.rule.AbstractStatisticalApexRule;
|
||||
import net.sourceforge.pmd.stat.DataPoint;
|
||||
|
||||
/**
|
||||
@ -20,7 +20,7 @@ import net.sourceforge.pmd.stat.DataPoint;
|
||||
* All others will return 0 (or the sum of counted nodes underneath.)
|
||||
*/
|
||||
|
||||
public class ExcessiveNodeCountRule extends AbstractStatisticalJavaRule {
|
||||
public class ExcessiveNodeCountRule extends AbstractStatisticalApexRule {
|
||||
private Class<?> nodeClass;
|
||||
|
||||
public ExcessiveNodeCountRule(Class<?> nodeClass) {
|
||||
|
Reference in New Issue
Block a user