Files
openide/java/java-tests/testData/inspection/nullableProblems/AnnotatingPrimitivesAmbiguous.java
Tagir Valeev 33e0062392 [java-inspection] Rewrite annotation checking
Now start from annotations instead of type element or owner (process owners for external annotations only)
Also, prefer TYPE_USE when reporting on primitive types

GitOrigin-RevId: 90771f89eb68ed1446afa9bbfc9cc7938c321d26
2020-09-07 07:19:55 +00:00

6 lines
192 B
Java

class Y {
public static <warning descr="Primitive type members cannot be annotated">@withTypeUse.Nullable</warning> byte @withTypeUse.Nullable [] getData3() {
return null;
}
}