1
2
3
4
5
6
7
8
9
10 package com.puppycrawl.tools.checkstyle.checks.sizes.methodlength;
11
12 strictfp final class InputMethodLengthModifierOne
13 {
14
15
16 static private boolean sModifierOrderVar = false;
17
18
19
20
21
22 strictfp private void doStuff()
23 {
24 }
25
26
27 @MyAnnotation2 void someMethod()
28 {
29 }
30
31
32 private @MyAnnotation2 void someMethod2()
33 {
34 }
35
36
37 private @MyAnnotation2 strictfp void someMethod3()
38 {
39 }
40
41
42 @MyAnnotation2 private strictfp void someMethod4()
43 {
44 }
45
46
47 @MyAnnotation2 private static @MyAnnotation4 strictfp void someMethod5()
48 {
49 }
50
51
52 public static interface InputRedundantPublicModifier
53 {
54
55 public void a();
56
57
58 void b();
59
60
61 abstract void c();
62
63
64 public float PI_PUBLIC = (float) 3.14;
65
66
67
68
69
70 final float PI_FINAL = (float) 3.14;
71
72
73 float PI_OK = (float) 3.14;
74 }
75
76
77 private final void method()
78 {
79 }
80 }