Commit 3b9ffc2
Add support in ErrorProne for a new
A follow-up CL will actually create the annotation once ErrorProne has this CL released to avoid premature dependencies on the new annotation.
This is the first step in open sourcing the threadsafe equivalent of `ImmutableTypeParameter`. After this an LSC will be performed to replace all usages of `ThreadSafe.TypeParameter` with `ThreadSafeTypeParameter` after which and remaining references to the former (e.g. in messages) will be removed.
PiperOrigin-RevId: 651816128ThreadSafeTypeParamerter annotation that is replacing ThreadSafe.TypeParameter.1 parent 77e4f72 commit 3b9ffc2
2 files changed
Lines changed: 31 additions & 3 deletions
File tree
- core/src
- main/java/com/google/errorprone/bugpatterns/threadsafety
- test/java/com/google/errorprone/bugpatterns/threadsafety
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
1001 | 1008 | | |
1002 | 1009 | | |
1003 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1004 | 1021 | | |
1005 | 1022 | | |
1006 | 1023 | | |
| |||
1015 | 1032 | | |
1016 | 1033 | | |
1017 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
1018 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
1019 | 1045 | | |
1020 | 1046 | | |
1021 | 1047 | | |
| |||
0 commit comments