mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
template ConstructorInsertHandler test (IDEA-101429)
This commit is contained in:
@@ -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){}
|
||||
}
|
||||
Reference in New Issue
Block a user