View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.rules.design;
5   
6   import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration;
7   
8   /**
9    * This rule detects when a class exceeds a certain
10   * threshold.  i.e. if a class has more than 1000 lines
11   * of code.
12   */
13  public class LongClassRule extends ExcessiveLengthRule {
14      public LongClassRule() {
15          super(ASTClassOrInterfaceDeclaration.class);
16      }
17  }