mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 12:34:00 +07:00
To make error messages consistent #IDEA-374747 Fixed (cherry picked from commit 328c5b355fcf56a7d1c165aab32220d37bdfcbc1) IJ-MR-170004 GitOrigin-RevId: f00fb74ddbff84b18839c60648d664774d566966
16 lines
1.1 KiB
Java
16 lines
1.1 KiB
Java
import typeUse.*;
|
|
|
|
public class IncorrectPlacementAmbiguousJava6 extends <error descr="Type annotations are not supported at language level '6'"><warning descr="Nullability annotation is not applicable to extends/implements clause">@Nullable</warning></error> Object
|
|
implements <error descr="Type annotations are not supported at language level '6'"><warning descr="Nullability annotation is not applicable to extends/implements clause">@Nullable</warning></error> Cloneable {
|
|
|
|
<warning descr="Nullability annotation is not applicable to constructors">@Nullable</warning> IncorrectPlacementAmbiguousJava6() {}
|
|
|
|
void test(<error descr="Receiver parameters are not supported at language level '6'"><warning descr="Receiver parameter is inherently non-null">@Nullable</warning> IncorrectPlacementAmbiguousJava6 this</error>) {
|
|
@Nullable IncorrectPlacementAmbiguousJava6.Inner a1;
|
|
IncorrectPlacementAmbiguousJava6.<error descr="Type annotations are not supported at language level '6'">@Nullable</error> Inner a2;
|
|
}
|
|
|
|
@NotNull int[] data;
|
|
|
|
class Inner {}
|
|
} |