"Introduce Type Parameter"
Is there a refactoring, or intention that would turn
public class StringFoo {
public String getFirst () {
return null;
}
}
into
public class Foo]]> {
public T getFirst () {
return null;
}
}
Alain
Please sign in to leave a comment.
Wasn't a "Eugene" talking about such a refactoring lately?
Tom
He was talking about the converse, "Inline Type Parameter", but I mentioned "Introduce" in the thread. I think "Introduce" is the more valuable of the two, but that both are worth supporting.
--Dave Griffith
But to actually answer Alain's question, no, there is currently no such automation in either the product or any plugin that I'm aware of.
--Dave Griffith
posted:
"new refactoring: Introduce Type Parameter"
http://www.jetbrains.net/jira/browse/IDEA-1757