Community
Participate
Working Groups
Let's assume I have the following class: ------------------------------------------------------------ class X extends AbstractList<String> { @Override public String get(int index) { return null; } @Override public int size() { return 0; } } ------------------------------------------------------------ Now, suddenly, I decide that I don't want this to be a List<String>, but a List<Integer> instead. I'd like to put my cursor on AbstractList<String>, and have an option to refactor the generic type bound <String> to <Integer>, resulting in: ------------------------------------------------------------ class X extends AbstractList<Integer> { // ^^^^^^^ Change here @Override public Integer get(int index) { // ^^^^^^^ Change here return null; } @Override public int size() { return 0; } } ------------------------------------------------------------