suggest class names in foreach with missing type (IDEA-74350)

This commit is contained in:
peter
2011-09-15 20:02:35 +02:00
parent a9458eabd6
commit 330016badf
6 changed files with 31 additions and 1 deletions
@@ -0,0 +1,6 @@
public class Zoo2 {
{
for (Stri<caret>child : dir.getChildren())
}
}
@@ -0,0 +1,6 @@
public class Zoo2 {
{
for (Stri<caret> : dir.getChildren())
}
}
@@ -0,0 +1,6 @@
public class Zoo2 {
{
for (String <caret> : dir.getChildren())
}
}
@@ -0,0 +1,6 @@
public class Zoo2 {
{
for (String <caret>child : dir.getChildren())
}
}
@@ -854,6 +854,8 @@ public class NormalCompletionTest extends LightFixtureCompletionTestCase {
public void testMethodParameterAnnotationClass() throws Throwable { doTest(); }
public void testPrimitiveCastOverwrite() throws Throwable { doTest '\t' }
public void testClassReferenceInFor() throws Throwable { doTest ' ' }
public void testClassReferenceInFor2() throws Throwable { doTest ' ' }
public void testVoidMethodsInNonVoidContext() throws Throwable {
configure()