mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
[java] improves "unsupported language level" message (IDEA-168859)
This commit is contained in:
@@ -15,7 +15,7 @@ abstract class C {
|
||||
void notWrong() { }
|
||||
}
|
||||
|
||||
class B extends <error descr="Type annotations are not supported at this language level">@Deprecated</error> Object { }
|
||||
class B extends <error descr="Type annotations are not supported at language level '1.7'">@Deprecated</error> Object { }
|
||||
|
||||
enum E {
|
||||
@Anno E1
|
||||
@@ -24,7 +24,7 @@ enum E {
|
||||
interface I {
|
||||
@<error descr="Duplicate annotation">Anno</error>
|
||||
public @<error descr="Duplicate annotation">Anno</error>
|
||||
Collection<<error descr="Type annotations are not supported at this language level">@Anno</error> String>
|
||||
Collection<<error descr="Type annotations are not supported at language level '1.7'">@Anno</error> String>
|
||||
method(@<error descr="Duplicate annotation">Anno</error> @<error descr="Duplicate annotation">Anno</error> Object o);
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ interface I {
|
||||
@interface Part { }
|
||||
|
||||
Part[] arrayValue() default {@Part, @Part};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user