Files
openide/java/java-tests/testData/refactoring/inlineMethod/StaticInterfaceMethod.java.after
Bas Leijdekkers 7178d5454c Java: correctly qualify method call when it is inlined from static interface method (IDEA-362625)
(cherry picked from commit 2f32664c77558fc4507a8a6ecc327f6c91b7d815)

IJ-CR-149100

GitOrigin-RevId: e224c59e90ff32687ebc67a278d1e63b52095fbd
2024-11-13 15:13:23 +00:00

17 lines
284 B
Plaintext

interface AccountModule {
static void createAccount(String a, String b) {
}
String getB();
}
class UseModule implements AccountModule {
public void createSome() {
AccountModule.createAccount("", getB());
}
@Override
public String getB() {
return "";
}
}