View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="AbstractClassName"/>
5     </module>
6   </module>
7   
8   
9   */
10  
11  package com.puppycrawl.tools.checkstyle.checks.naming.abstractclassname;
12  
13  // xdoc section -- start
14  class Example1 {
15    abstract class AbstractFirst {}
16    abstract class Second {} // violation 'must match pattern'
17    class AbstractThird {} // violation 'must be declared as 'abstract''
18    class Fourth {}
19    abstract class GeneratorFifth {}
20    // violation above 'must match pattern'
21    class GeneratorSixth {}
22  }
23  // xdoc section -- end