View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.naming.abbreviationaswordinname;
2   
3   abstract class IIIInputAbstractClassName {
4   }
5   
6   abstract class NonAAAAbstractClassName {
7   }
8   
9   abstract class FactoryWithBADNAme {
10  }
11  
12  abstract class AbstractCLASSName {
13      abstract class NonAbstractInnerClass {
14      }
15  }
16  
17  abstract class ClassFactory1 {
18      abstract class WellNamedFactory {
19      }
20  }
21  
22  class NonAbstractClass1 {
23  }
24  
25  class AbstractClass1 {
26  }
27  
28  class Class1Factory1 {
29  }
30  
31  abstract class AbstractClassName3 {
32      class AbstractINNERRClass {
33      }
34  }
35  
36  abstract class Class3Factory {
37      class WellNamedFACTORY {
38      	public void marazmaticMETHODName() {
39      		int marazmaticVARIABLEName = 2;
40      		int MARAZMATICVariableName = 1;
41      	}
42      }
43  }
44  
45  interface Directions {
46    int RIGHT=1;
47    int LEFT=2;
48    int UP=3;
49    int DOWN=4;
50  }
51  
52  interface BadNameForInterfeis
53  {
54     void interfaceMethod();
55  }
56  
57  abstract class NonAAAAbstractClassName2 {
58  	public int serialNUMBER = 6;
59  	public final int s1erialNUMBER = 6;
60  	private static int s2erialNUMBER = 6;
61  	private static final int s3erialNUMBER = 6;
62  }
63  
64  interface Interface1 {
65  	
66  	String VALUEEEE = "value"; // in interface this is final/static
67  	
68  }
69  
70  interface Interface2 {
71  	
72  	static String VALUEEEE = "value"; // in interface this is final/static
73  	
74  }
75  
76  interface Interface3 {
77  	
78  	final String VALUEEEE = "value"; // in interface this is final/static
79  	
80  }
81  
82  interface Interface4 {
83  	
84  	final static String VALUEEEE = "value"; // in interface this is final/static
85  	
86  }
87  
88  class FIleNameFormatException extends Exception {
89  
90      private static final long serialVersionUID = 1L;
91  
92      public FIleNameFormatException(Exception e) {
93          super(e);
94      }
95  }
96  
97  class StateX {
98      int userID;
99      int scaleX, scaleY, scaleZ;
100     
101     int getScaleX() {
102         return this.scaleX;
103     }
104 }
105 
106 @interface Annotation1 {
107     String VALUE = "value"; // in @interface this is final/static
108 }
109 
110 @interface Annotation2 {
111     static String VALUE = "value"; // in @interface this is final/static
112 }
113 
114 @interface Annotation3 {
115     final String VALUE = "value"; // in @interface this is final/static
116 }
117 
118 @interface Annotation4 {
119     final static String VALUE = "value"; // in @interface this is final/static
120 }