mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
extract method: exclude unused type parameters mentioned in return type (IDEA-58456)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class Test {
|
||||
public <T> T method(Class<T> clazz) {
|
||||
newMethod();
|
||||
return null;
|
||||
}
|
||||
|
||||
private void newMethod() {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user