Files
openide/java/java-tests/testData/refactoring/introduceParameter/beforeRemoveParameterInHierarchy1.java
Anna Kozlova c5adb3e2ee java introduce parameter: optimization + progress (IDEA-251661)
postpone search for overriding methods until usages in current method is checked

GitOrigin-RevId: 1a68af844d1b590203f42a322812b0b065124f5d
2020-09-29 08:12:55 +00:00

11 lines
399 B
Java

public class Bar {
public int baz(byte blah, byte blah1, byte blah2) {
return <selection>blah + blah1 + blah2</selection>;
}
}
class S extends Bar {
public int baz(byte blah, byte blah1, byte blah2) {
System.out.println(blah1);
return super.baz((byte) 0, (byte) 0, (byte) 0); //To change body of overridden methods use File | Settings | File Templates.
}
}