Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createLocalFromUsage/afterOverload.java
Tagir Valeev 6266f14d9b [java-inspections] CreateLocalFromUsageFix: tests for preview
GitOrigin-RevId: 18145df666bfb6601725d6cdd13a14bb341fe32a
2022-07-27 10:00:37 +00:00

11 lines
216 B
Java

// "Create local variable 'xyz'" "true-preview"
interface Other<T> {
void add(int x, T y);
void add(T y);
}
class A {
public void foo(Other<String> other) {
String xyz;
other.add(xyz);
}
}