mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-68178 Completions does not complete class names in java annotations
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Aaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Object.class, Aaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Object.class, Aaaaaaaaaaaaaaaaaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Aaaaaaaaaaaaaaaaaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Aaaaaaaaaaaaaaaaaaaaa.class<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = { Aaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import java.lang.Object;
|
||||
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = {Object.class, Aaaaaaaaaaaaaaaaaaaaa.class<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import java.lang.Object;
|
||||
|
||||
@interface TestFor {
|
||||
Class[] testForClass();
|
||||
}
|
||||
|
||||
class Foo {
|
||||
@TestFor(testForClass = {Object.class, Aaaaaa<caret> } )
|
||||
public void foo22() {}
|
||||
}
|
||||
|
||||
class Aaaaaaaaaaaaaaaaaaaaa {}
|
||||
+3
@@ -176,6 +176,9 @@ public class NormalCompletionTest extends LightFixtureCompletionTestCase {
|
||||
assertTrue("Exception not found", Arrays.binarySearch(myItems, "xxx") > 0);
|
||||
}
|
||||
|
||||
public void testClassLiteralInArrayAnnoInitializer() throws Throwable { doTest(); }
|
||||
public void testClassLiteralInArrayAnnoInitializer2() throws Throwable { doTest(); }
|
||||
|
||||
public void testReferenceParameters() throws Exception {
|
||||
configureByFile("ReferenceParameters.java");
|
||||
assertNotNull(myItems);
|
||||
|
||||
+2
@@ -801,6 +801,8 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
}
|
||||
|
||||
public void testCastWith2TypeParameters() throws Throwable { doTest(); }
|
||||
public void testClassLiteralInArrayAnnoInitializer() throws Throwable { doTest(); }
|
||||
public void testClassLiteralInArrayAnnoInitializer2() throws Throwable { doTest(); }
|
||||
|
||||
public void testAnnotation() throws Exception {
|
||||
doTest();
|
||||
|
||||
Reference in New Issue
Block a user