don't suggest to complete class literals not in expressions

This commit is contained in:
peter
2011-09-15 16:38:19 +02:00
parent c16b41bb48
commit a5f568196e
3 changed files with 11 additions and 1 deletions
@@ -0,0 +1,5 @@
class Bar {
static class Inner {}
}
public class Foooo extends Bar.<caret>
@@ -744,6 +744,11 @@ public class NormalCompletionTest extends LightFixtureCompletionTestCase {
assertStringItems 'final', 'finalize'
}
public void testOnlyClassesInExtends() throws Throwable {
configure()
assertStringItems 'Inner'
}
public void testPrimitiveTypesInForLoop() throws Throwable { doPrimitiveTypeTest() }
public void testPrimitiveTypesInForLoop2() throws Throwable { doPrimitiveTypeTest() }
public void testPrimitiveTypesInForLoop3() throws Throwable { doPrimitiveTypeTest() }