mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
[java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations
- fix tests - fixes to show external annotations GitOrigin-RevId: 79cde38663de10c2985b72e76e98372fef214b20
This commit is contained in:
committed by
intellij-monorepo-bot
parent
246f6ab1cc
commit
36f87ac0b6
@@ -3,7 +3,7 @@ PsiJavaFileStub [org.jetbrains.annotations]
|
||||
PsiModifierListStub[mask=1025]
|
||||
PsiAnnotationStub[@java.lang.annotation.Documented]
|
||||
PsiAnnotationStub[@java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.CLASS)]
|
||||
PsiAnnotationStub[@java.lang.annotation.Target(value={java.lang.annotation.ElementType.METHOD,java.lang.annotation.ElementType.FIELD,java.lang.annotation.ElementType.PARAMETER,java.lang.annotation.ElementType.LOCAL_VARIABLE})]
|
||||
PsiAnnotationStub[@java.lang.annotation.Target(value={java.lang.annotation.ElementType.METHOD,java.lang.annotation.ElementType.FIELD,java.lang.annotation.ElementType.PARAMETER,java.lang.annotation.ElementType.LOCAL_VARIABLE,java.lang.annotation.ElementType.TYPE_USE})]
|
||||
PsiTypeParameterListStub
|
||||
PsiRefListStub[EXTENDS_LIST:]
|
||||
PsiRefListStub[IMPLEMENTS_LIST:]
|
||||
@@ -12,4 +12,4 @@ PsiJavaFileStub [org.jetbrains.annotations]
|
||||
PsiAnnotationStub[@org.jetbrains.annotations.NonNls]
|
||||
PsiTypeParameterListStub
|
||||
PsiParameterListStub
|
||||
PsiRefListStub[THROWS_LIST:]
|
||||
PsiRefListStub[THROWS_LIST:]
|
||||
@@ -7,7 +7,7 @@ class Box {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private Data newMethod(String str1, String str2) {
|
||||
private Box.Data newMethod(String str1, String str2) {
|
||||
return new Data() {
|
||||
@Override
|
||||
public String getA() {
|
||||
|
||||
@@ -22,7 +22,7 @@ public class OutputVariableReused {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private X newMethod(String s, String left, String right) {
|
||||
private OutputVariableReused.X newMethod(String s, String left, String right) {
|
||||
String res = convert(s, left, right);
|
||||
if (res != null) {
|
||||
return new X(res);
|
||||
|
||||
@@ -28,7 +28,7 @@ class TooComplexCode {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private X newMethod(@NotNull X x) {
|
||||
private TooComplexCode.X newMethod(@NotNull X x) {
|
||||
return x.get();
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public class NullableCheckBreakDuplicate {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private Pojo newMethod() {
|
||||
private NullableCheckBreakDuplicate.Pojo newMethod() {
|
||||
Pojo x = things.get(0);
|
||||
|
||||
if (x.it > 0) return null;
|
||||
|
||||
@@ -14,7 +14,7 @@ class Test {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private Pojo newMethod() {
|
||||
private Test.Pojo newMethod() {
|
||||
Pojo x = things.get(0);
|
||||
|
||||
if(x.it > 0) {
|
||||
|
||||
@@ -28,7 +28,7 @@ class TooComplexCode {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private X newMethod(@NotNull X x) {
|
||||
private TooComplexCode.X newMethod(@NotNull X x) {
|
||||
return x.get();
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public class NullableCheckBreakDuplicate {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private Pojo newMethod() {
|
||||
private NullableCheckBreakDuplicate.Pojo newMethod() {
|
||||
Pojo x = things.get(0);
|
||||
|
||||
if (x.it > 0) return null;
|
||||
|
||||
Reference in New Issue
Block a user