mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 04:07:30 +07:00
To make error messages consistent #IDEA-374747 Fixed (cherry picked from commit 328c5b355fcf56a7d1c165aab32220d37bdfcbc1) IJ-MR-170004 GitOrigin-RevId: f00fb74ddbff84b18839c60648d664774d566966
16 lines
805 B
Java
16 lines
805 B
Java
import typeUse.*;
|
|
|
|
public class IncorrectPlacementAmbiguous extends <warning descr="Nullability annotation is not applicable to extends/implements clause">@Nullable</warning> Object
|
|
implements <warning descr="Nullability annotation is not applicable to extends/implements clause">@Nullable</warning> Cloneable {
|
|
|
|
<warning descr="Nullability annotation is not applicable to constructors">@Nullable</warning> IncorrectPlacementAmbiguous() {}
|
|
|
|
void test(<warning descr="Receiver parameter is inherently non-null">@Nullable</warning> IncorrectPlacementAmbiguous this) {
|
|
@Nullable IncorrectPlacementAmbiguous.Inner a1;
|
|
IncorrectPlacementAmbiguous.@Nullable Inner a2;
|
|
}
|
|
|
|
<warning descr="Primitive type members cannot be annotated">@NotNull</warning> int[] data;
|
|
|
|
class Inner {}
|
|
} |