Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/deletePrivateMethod/beforeChain.java
Tagir Valeev 193b2cb477 [java-inspections] Experimental ModCommand-based DeletePrivateMethodFix for unused inspection
GitOrigin-RevId: efd9306505048695f1aa1de1851383e170b0c1ca
2024-03-12 16:55:18 +00:00

31 lines
448 B
Java

// "Delete method 'test()'|->... along with other private methods used only there" "true"
class X {
private void t<caret>est() {
test1();
test2();
test3();
test4();
}
private void test1() {
test2();
test5();
}
private void test2() {
}
public void test3() {
test4();
}
private void test4() {
}
private void test5() {
}
}