View Javadoc
1   /*
2   AbstractClassName
3   format = ^NonAbstract.+$
4   ignoreModifier = true
5   ignoreName = (default)false
6   
7   
8   */
9   
10  package com.puppycrawl.tools.checkstyle.checks.naming.abstractclassname;
11  
12  // violation below 'Name 'InputAbstractClassNameCustom' must match pattern '\^NonAbstract\.\+\$'.'
13  abstract public class InputAbstractClassNameCustom {
14  }
15  
16  abstract class NonAbstractClassNameCustom {
17  }
18  
19  // violation below 'Name 'AbstractClassOtherCustom' must match pattern '\^NonAbstract\.\+\$'.'
20  abstract class AbstractClassOtherCustom {
21      abstract class NonAbstractInnerClass {
22      }
23  }
24  
25  class NonAbstractClassCustom {
26  }
27  
28  class AbstractClassCustom {
29  }
30  
31  // violation below 'Name 'AbstractClassName2Custom' must match pattern '\^NonAbstract\.\+\$'.'
32  abstract class AbstractClassName2Custom {
33      class AbstractInnerClass {
34      }
35  }