template ConstructorInsertHandler test (IDEA-101429)

This commit is contained in:
Anna Kozlova
2014-06-04 20:49:39 +04:00
parent 6713978ce7
commit b9abbfb21f
5 changed files with 60 additions and 0 deletions
@@ -0,0 +1,12 @@
import pack.Foo;
class Test {
{
m(new Foo<String>() {
@Override
public void foo(String s) {
}
})
}
<T> void m(Foo<T> foo){}
}
@@ -0,0 +1,12 @@
import pack.Foo;
class Test {
{
m(new Foo<String>() {
@Override
public void foo(String s) {
}
})
}
void m(Foo<String> foo){}
}
@@ -0,0 +1,7 @@
import pack.Foo;
class Test {
{
m(new <caret>)
}
<T> void m(Foo<T> foo){}
}
@@ -0,0 +1,7 @@
import pack.Foo;
class Test {
{
m(new <caret>)
}
void m(Foo<String> foo){}
}