File tree 2 files changed +17
-14
lines changed
testlib/src/main/resources/java/formatannotations
2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ class FormatAnnotationsAccessModifiers {
27
27
return null;
28
28
}
29
29
30
+ @Deprecated
31
+ @Nullable
32
+ public Object myMethod4a() {
33
+ return null;
34
+ }
35
+
30
36
@Override
31
37
@Nullable
32
38
@Deprecated
Original file line number Diff line number Diff line change @@ -10,26 +10,27 @@ class FormatAnnotationsAccessModifiers {
10
10
return null;
11
11
}
12
12
13
- @Nullable
14
- public Object myMethod2() {
13
+ @Nullable public Object myMethod2() {
15
14
return null;
16
15
}
17
16
18
- @Nullable
19
- public
17
+ @Nullable public
20
18
Object myMethod3() {
21
19
return null;
22
20
}
23
21
24
- @Nullable
25
- @Deprecated
22
+ @Nullable @Deprecated
26
23
public Object myMethod4() {
27
24
return null;
28
25
}
29
26
30
- @Override
31
- @Nullable
32
27
@Deprecated
28
+ @Nullable public Object myMethod4a() {
29
+ return null;
30
+ }
31
+
32
+ @Override
33
+ @Nullable @Deprecated
33
34
public Object myMethod5() {
34
35
return null;
35
36
}
@@ -40,18 +41,14 @@ class FormatAnnotationsAccessModifiers {
40
41
}
41
42
42
43
@Deprecated
43
- @Interned
44
- @MustCall("close")
45
- @SuppressWarnings
44
+ @Interned @MustCall("close") @SuppressWarnings
46
45
public class MyClass3 {
47
46
// No body
48
47
}
49
48
50
49
public
51
50
@Deprecated
52
51
@SuppressWarnings
53
- @Interned
54
- @MustCall("close")
55
- class MyClass4 {
52
+ @Interned @MustCall("close") class MyClass4 {
56
53
// No body
57
54
}
You can’t perform that action at this time.
0 commit comments