Commit c41ee92
In
Completion can fail under `--release 8`, leading to `warning: unknown enum constant ElementType.MODULE`.
This CL is one of a variety of ways that I'll be addressing google/truth#1320. It alone should be sufficient (unless there are other problems that I'm unaware of), but I'll do more for people who might not upgrade Error Prone immediately, and I'll do something cleaner for the `NullArgumentForNonNullParameter` check that makes the known-problematic call to `hasAnnotation`.
PiperOrigin-RevId: 651801869hasAnnotation, don't trigger completion for NullMarked.1 parent 8c1a828 commit c41ee92
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
913 | 914 | | |
914 | 915 | | |
915 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
916 | 925 | | |
917 | 926 | | |
918 | 927 | | |
| |||
2830 | 2839 | | |
2831 | 2840 | | |
2832 | 2841 | | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
2833 | 2845 | | |
2834 | 2846 | | |
0 commit comments