mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
add () when completing class name in more cases
This commit is contained in:
@@ -10,7 +10,7 @@ class Xxx {
|
||||
private Xxx(String x) {
|
||||
}
|
||||
|
||||
class Yyy {
|
||||
static class Yyy {
|
||||
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,7 +10,7 @@ class Xxx {
|
||||
private Xxx(String x) {
|
||||
}
|
||||
|
||||
class Yyy {
|
||||
static class Yyy {
|
||||
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zz<caret>
|
||||
}
|
||||
}
|
||||
|
||||
class Zzoo {
|
||||
void run();
|
||||
|
||||
class Impl implements Zzoo {}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zzoo()<caret>
|
||||
}
|
||||
}
|
||||
|
||||
class Zzoo {
|
||||
void run();
|
||||
|
||||
class Impl implements Zzoo {}
|
||||
}
|
||||
+2
@@ -664,6 +664,8 @@ public class NormalCompletionTest extends LightFixtureCompletionTestCase {
|
||||
|
||||
public void testClassNameWithInner() throws Throwable { doTest() }
|
||||
|
||||
public void testClassNameWithInstanceInner() throws Throwable { doTest('\n') }
|
||||
|
||||
public void testDoubleFalse() throws Throwable {
|
||||
configureByFile(getTestName(false) + ".java");
|
||||
assertStringItems("false", "finalize");
|
||||
|
||||
Reference in New Issue
Block a user