replace constructor with factory: insert class type parameters for default constructor(IDEA-104858)

This commit is contained in:
anna
2013-04-10 12:13:18 +02:00
parent 16acf1398e
commit feed82a5bd
5 changed files with 21 additions and 9 deletions
@@ -0,0 +1,8 @@
class Test<A,B,C> {
private Test() {
}
static <A, B, C> Test<A, B, C> newTest() {
return new Test<A, B, C>();
}
}
@@ -0,0 +1,2 @@
class Te<caret>st<A,B,C> {
}