in basic completion in java, act like smart completion for class names after new

This commit is contained in:
peter.gromov
2010-11-17 17:32:47 +03:00
parent 27fd107abc
commit 52a4227091
12 changed files with 173 additions and 31 deletions
@@ -2,6 +2,6 @@ import pack.WithInnerAClass;
public class Test1 {
public void foo() {
new WithInnerAClass()<caret>
new WithInnerAClass<caret>
}
}
@@ -0,0 +1,9 @@
class Foo {
{
Zzoo l = new Zz<caret>
}
}
interface Zzoo {
void run();
}
@@ -0,0 +1,14 @@
class Foo {
{
Zzoo l = new Zzoo() {
@Override
public void run() {
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
}
}
}
}
interface Zzoo {
void run();
}
@@ -0,0 +1,7 @@
import java.util.List;
class Foo {
{
List<String> l = new ArraLi<caret>
}
}
@@ -0,0 +1,8 @@
import java.util.ArrayList;
import java.util.List;
class Foo {
{
List<String> l = new ArrayList<String>(<caret>)
}
}
@@ -0,0 +1,11 @@
class Foo {
{
Zzoo l = new Zz<caret>
}
}
interface Zzoo {
void run();
class Impl implements Zzoo {}
}
@@ -0,0 +1,11 @@
class Foo {
{
Zzoo l = new Zzoo<caret>
}
}
interface Zzoo {
void run();
class Impl implements Zzoo {}
}