IDEA-88844 Complete enum members in annotations when type is obvious

This commit is contained in:
peter
2012-07-16 18:58:15 +02:00
parent 2f447ef36f
commit a2c3620781
5 changed files with 1442 additions and 1428 deletions
@@ -0,0 +1,4 @@
enum TestEnum { TEXT1, TEXT2 }
public @interface TestAnnotation { TestEnum value(); }
@TestAnnotation(Tex<caret>)
@@ -0,0 +1,4 @@
enum TestEnum { TEXT1, TEXT2 }
public @interface TestAnnotation { TestEnum value(); }
@TestAnnotation(TestEnum.TEXT1<caret>)
@@ -993,6 +993,7 @@ public class ListUtils {
public void testSuggestExpectedTypeMembers() throws Throwable { doTest('\n') }
public void testSuggestExpectedTypeMembersInCall() throws Throwable { doTest('\n') }
public void testSuggestExpectedTypeMembersInAnno() throws Throwable { doTest('\n') }
public void testExpectedTypesDotSelectsItem() throws Throwable { doTest('.') }
public void testExpectedTypeMembersVersusStaticImports() throws Throwable {