Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/afterInCondition.java
Anna Kozlova 4bb02e9e68 create from usage: don't go through polyadic to deep (IDEA-244730)
GitOrigin-RevId: f7ab010a75203486f0c967ae5ba7c69db81ad812
2020-07-10 09:53:37 +00:00

13 lines
223 B
Java

// "Create method 'test'" "true"
public class Test {
void test(boolean b, Object obj) {
if (b || test() == obj) {
// do smth
}
}
private Object test() {
return null;
}
}