Files
openide/java/java-tests/testData/refactoring/extractMethod/SuggestChangeSignatureThreeOccurrencesTwoLiteralFolding_after.java

21 lines
289 B
Java

public class C {
void second() {
newMethod(0, 1);
}
private void newMethod(int i, int i2) {
test(i);
test(i2);
}
void none() {
newMethod(0, 0);
}
void both() {
newMethod(1, 1);
}
private void test(int i) {}
}