Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73006 Details for
Bug 111882
[assist] Invalid relevance while completing in case of a switch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
bug111882_001.txt (text/plain), 18.25 KB, created by
David Audel
on 2007-07-04 03:56:56 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
David Audel
Created:
2007-07-04 03:56:56 EDT
Size:
18.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java,v >retrieving revision 1.337 >diff -u -r1.337 CompletionEngine.java >--- codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 28 Jun 2007 12:30:51 -0000 1.337 >+++ codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 4 Jul 2007 07:55:30 -0000 >@@ -8121,6 +8121,12 @@ > this.expectedTypesFilter = SUPERTYPE; > } > } >+ } else if (parent instanceof SwitchStatement) { >+ SwitchStatement switchStatement = (SwitchStatement) parent; >+ if (switchStatement.expression != null && >+ switchStatement.expression.resolvedType != null) { >+ addExpectedType(switchStatement.expression.resolvedType, scope); >+ } > > // Expected types for javadoc > } else if (parent instanceof Javadoc) { >#P org.eclipse.jdt.core.tests.model >Index: workspace/Completion/src/CompletionAfterCase2.java >=================================================================== >RCS file: workspace/Completion/src/CompletionAfterCase2.java >diff -N workspace/Completion/src/CompletionAfterCase2.java >--- workspace/Completion/src/CompletionAfterCase2.java 5 Feb 2003 10:23:47 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,9 +0,0 @@ >-public class CompletionAfterCase2 { >- static final int zzz = 5; >- void foo(){ >- switch(1) { >- case 25: >- case zz >- } >- } >-} >\ No newline at end of file >Index: workspace/Completion/src/CompletionAfterCase1.java >=================================================================== >RCS file: workspace/Completion/src/CompletionAfterCase1.java >diff -N workspace/Completion/src/CompletionAfterCase1.java >--- workspace/Completion/src/CompletionAfterCase1.java 5 Feb 2003 10:23:47 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,8 +0,0 @@ >-public class CompletionAfterCase1 { >- static final int zzz = 5; >- void foo(){ >- switch(1) { >- case zz >- } >- } >-} >\ No newline at end of file >Index: src/org/eclipse/jdt/core/tests/model/CompletionTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests.java,v >retrieving revision 1.163 >diff -u -r1.163 CompletionTests.java >--- src/org/eclipse/jdt/core/tests/model/CompletionTests.java 28 Jun 2007 12:30:45 -0000 1.163 >+++ src/org/eclipse/jdt/core/tests/model/CompletionTests.java 4 Jul 2007 07:55:38 -0000 >@@ -1437,29 +1437,130 @@ > } > } > public void testCompletionAfterCase1() throws JavaModelException { >- CompletionTestsRequestor requestor = new CompletionTestsRequestor(); >- ICompilationUnit cu= getCompilationUnit("Completion", "src", "", "CompletionAfterCase1.java"); >+ this.workingCopies = new ICompilationUnit[1]; >+ this.workingCopies[0] = getWorkingCopy( >+ "/Completion/src/CompletionAfterCase1.java", >+ "public class CompletionAfterCase1 {\n" + >+ " static final int zzz = 5;\n" + >+ " void foo(){\n" + >+ " switch(1) {\n" + >+ " case zz\n" + >+ " }\n" + >+ " }\n" + >+ "}\n"); > >- String str = cu.getSource(); >- String completeBehind = "zz"; >- int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >- cu.codeComplete(cursorLocation, requestor); >+ CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); >+ String str = this.workingCopies[0].getSource(); >+ String completeBehind = "zz"; >+ int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >+ this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); > >- assertEquals( >- "element:zzz completion:zzz relevance:"+(R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED), >+ assertResults( >+ "zzz[FIELD_REF]{zzz, LCompletionAfterCase1;, I, zzz, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXACT_EXPECTED_TYPE + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}", > requestor.getResults()); > } > public void testCompletionAfterCase2() throws JavaModelException { >- CompletionTestsRequestor requestor = new CompletionTestsRequestor(); >- ICompilationUnit cu= getCompilationUnit("Completion", "src", "", "CompletionAfterCase2.java"); >+ this.workingCopies = new ICompilationUnit[1]; >+ this.workingCopies[0] = getWorkingCopy( >+ "/Completion/src/CompletionAfterCase2.java", >+ "public class CompletionAfterCase2 {\n" + >+ " static final int zzz = 5;\n" + >+ " void foo(){\n" + >+ " switch(1) {\n" + >+ " case 25:\n" + >+ " case zz\n" + >+ " }\n" + >+ " }\n" + >+ "}\n"); > >- String str = cu.getSource(); >- String completeBehind = "zz"; >- int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >- cu.codeComplete(cursorLocation, requestor); >+ CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); >+ String str = this.workingCopies[0].getSource(); >+ String completeBehind = "zz"; >+ int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >+ this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); > >- assertEquals( >- "element:zzz completion:zzz relevance:"+(R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED), >+ assertResults( >+ "zzz[FIELD_REF]{zzz, LCompletionAfterCase2;, I, zzz, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXACT_EXPECTED_TYPE + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}", >+ requestor.getResults()); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=111882 >+public void testCompletionAfterCase3() throws JavaModelException { >+ this.workingCopies = new ICompilationUnit[1]; >+ this.workingCopies[0] = getWorkingCopy( >+ "/Completion/src/test/CompletionAfterCase2.java", >+ "package test;\n" + >+ "public class CompletionAfterCase2 {\n" + >+ " static final int ZZZ1 = 5;\n" + >+ " static final long ZZZ2 = 5;\n" + >+ " static final double ZZZ3 = 0;\n" + >+ " static final Object ZZZ4 = null;\n" + >+ " static final int[] ZZZ5 = null;\n" + >+ " static final Object[] ZZZ6 = null;\n" + >+ " static final short ZZZ7 = 0;\n" + >+ " void foo(int i){\n" + >+ " switch(i) {\n" + >+ " case ZZ\n" + >+ " }\n" + >+ " }\n" + >+ "}\n"); >+ >+ CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); >+ String str = this.workingCopies[0].getSource(); >+ String completeBehind = "ZZ"; >+ int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >+ this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); >+ >+ assertResults( >+ "ZZZ2[FIELD_REF]{ZZZ2, Ltest.CompletionAfterCase2;, J, ZZZ2, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ3[FIELD_REF]{ZZZ3, Ltest.CompletionAfterCase2;, D, ZZZ3, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ4[FIELD_REF]{ZZZ4, Ltest.CompletionAfterCase2;, Ljava.lang.Object;, ZZZ4, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ5[FIELD_REF]{ZZZ5, Ltest.CompletionAfterCase2;, [I, ZZZ5, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ6[FIELD_REF]{ZZZ6, Ltest.CompletionAfterCase2;, [Ljava.lang.Object;, ZZZ6, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ7[FIELD_REF]{ZZZ7, Ltest.CompletionAfterCase2;, S, ZZZ7, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXPECTED_TYPE + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ1[FIELD_REF]{ZZZ1, Ltest.CompletionAfterCase2;, I, ZZZ1, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXACT_EXPECTED_TYPE + R_CASE + R_UNQUALIFIED+ R_NON_RESTRICTED) + "}", >+ requestor.getResults()); >+} >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=111882 >+public void testCompletionAfterCase4() throws JavaModelException { >+ this.workingCopies = new ICompilationUnit[2]; >+ this.workingCopies[0] = getWorkingCopy( >+ "/Completion/src/test/CompletionAfterCase2.java", >+ "package test;\n" + >+ "public class CompletionAfterCase2 {\n" + >+ " void foo(int i){\n" + >+ " switch(i) {\n" + >+ " case TestConstants.ZZ\n" + >+ " }\n" + >+ " }\n" + >+ "}\n"); >+ >+ this.workingCopies[1] = getWorkingCopy( >+ "/Completion/src/test/TestConstants.java", >+ "package test;\n" + >+ "public class TestConstants {\n" + >+ " public static final int ZZZ1 = 5;\n" + >+ " public static final long ZZZ2 = 5;\n" + >+ " public static final double ZZZ3 = 0;\n" + >+ " public static final Object ZZZ4 = null;\n" + >+ " public static final int[] ZZZ5 = null;\n" + >+ " public static final Object[] ZZZ6 = null;\n" + >+ " public static final short ZZZ7 = 0;\n" + >+ "}\n"); >+ >+ CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); >+ String str = this.workingCopies[0].getSource(); >+ String completeBehind = "ZZ"; >+ int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); >+ this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); >+ >+ assertResults( >+ "ZZZ2[FIELD_REF]{ZZZ2, Ltest.TestConstants;, J, ZZZ2, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ3[FIELD_REF]{ZZZ3, Ltest.TestConstants;, D, ZZZ3, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ4[FIELD_REF]{ZZZ4, Ltest.TestConstants;, Ljava.lang.Object;, ZZZ4, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ5[FIELD_REF]{ZZZ5, Ltest.TestConstants;, [I, ZZZ5, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ6[FIELD_REF]{ZZZ6, Ltest.TestConstants;, [Ljava.lang.Object;, ZZZ6, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ7[FIELD_REF]{ZZZ7, Ltest.TestConstants;, S, ZZZ7, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXPECTED_TYPE + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}\n" + >+ "ZZZ1[FIELD_REF]{ZZZ1, Ltest.TestConstants;, I, ZZZ1, null, " + (R_DEFAULT + R_RESOLVED + R_INTERESTING + R_EXACT_EXPECTED_TYPE + R_CASE + R_QUALIFIED+ R_NON_RESTRICTED) + "}", > requestor.getResults()); > } > public void testCompletionAfterSupercall1() throws JavaModelException { >Index: src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java,v >retrieving revision 1.90 >diff -u -r1.90 CompletionTests_1_5.java >--- src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 29 Jun 2007 10:13:30 -0000 1.90 >+++ src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java 4 Jul 2007 07:55:40 -0000 >@@ -3600,12 +3600,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0136.Colors;}\n" + >+ "expectedTypesKeys={Ltest0136/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0136.Colors;, Ltest0136.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0136.Colors;, Ltest0136.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -3639,12 +3639,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0137.Colors;}\n" + >+ "expectedTypesKeys={Ltest0137/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0137.Colors;, Ltest0137.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0137.Colors;, Ltest0137.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -3679,12 +3679,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0138.Colors;}\n" + >+ "expectedTypesKeys={Ltest0138/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0138.Colors;, Ltest0138.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0138.Colors;, Ltest0138.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -3718,12 +3718,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0139.Colors;}\n" + >+ "expectedTypesKeys={Ltest0139/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0139.Colors;, Ltest0139.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0139.Colors;, Ltest0139.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -3757,12 +3757,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0140.Colors;}\n" + >+ "expectedTypesKeys={Ltest0140/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0140.Colors;, Ltest0140.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0140.Colors;, Ltest0140.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -3797,8 +3797,8 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0141.Colors;}\n" + >+ "expectedTypesKeys={Ltest0141/Colors;}", > result.context); > > assertResults( >@@ -3839,12 +3839,12 @@ > "RED"); > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Ltest0142.Colors;}\n" + >+ "expectedTypesKeys={Ltest0142/Colors;}", > result.context); > > assertResults( >- "RED[FIELD_REF]{RED, Ltest0142.Colors;, Ltest0142.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", >+ "RED[FIELD_REF]{RED, Ltest0142.Colors;, Ltest0142.Colors;, RED, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_NAME + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_NON_RESTRICTED + R_ENUM_CONSTANT) + "}", > result.proposals); > } finally { > if(enumeration != null) { >@@ -6717,13 +6717,13 @@ > > > assertResults( >- "expectedTypesSignatures=null\n" + >- "expectedTypesKeys=null", >+ "expectedTypesSignatures={Lp.Colors;}\n" + >+ "expectedTypesKeys={Lp/Colors;}", > result.context); > > assertResults( >- "BLACK[FIELD_REF]{BLACK, Lp.Colors;, Lp.Colors;, BLACK, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_ENUM + R_UNQUALIFIED + R_NON_RESTRICTED) + "}\n" + >- "WHITE[FIELD_REF]{WHITE, Lp.Colors;, Lp.Colors;, WHITE, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_ENUM + R_UNQUALIFIED + R_NON_RESTRICTED) + "}", >+ "BLACK[FIELD_REF]{BLACK, Lp.Colors;, Lp.Colors;, BLACK, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_EXPECTED_TYPE + R_ENUM + R_UNQUALIFIED + R_NON_RESTRICTED) + "}\n" + >+ "WHITE[FIELD_REF]{WHITE, Lp.Colors;, Lp.Colors;, WHITE, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_EXPECTED_TYPE + R_ENUM + R_UNQUALIFIED + R_NON_RESTRICTED) + "}", > result.proposals); > } finally { > if(aType != null) { >@@ -8253,9 +8253,9 @@ > this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); > > assertResults( >- "bar[FIELD_REF]{bar, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, bar, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}\n" + >- "baz[FIELD_REF]{baz, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, baz, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}\n" + >- "foo[FIELD_REF]{foo, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, foo, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}", >+ "bar[FIELD_REF]{bar, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, bar, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}\n" + >+ "baz[FIELD_REF]{baz, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, baz, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}\n" + >+ "foo[FIELD_REF]{foo, Lenumbug.EnumBug$Foo;, Lenumbug.EnumBug$Foo;, foo, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_EXACT_EXPECTED_TYPE + R_UNQUALIFIED + R_EXPECTED_TYPE + R_NON_RESTRICTED) + "}", > requestor.getResults()); > } > //https://bugs.eclipse.org/bugs/show_bug.cgi?id=128169
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111882
: 73006