Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/qualifyYieldCall/afterYieldJava13.java
Anna Kozlova bd1a21a02a bump highest language level to 14, prepare to remove 13_preview
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
2020-04-01 12:31:42 +00:00

26 lines
363 B
Java

// "Fix all 'Forward compatibility' problems in file" "true"
class Yield {
class X {
void test() {
Yield.yield("x");
Yield.this.yield(1);
}
}
void test() {
Yield.yield("x");
this.yield(1);
}
void varYield() {
int yield = 5;
yield++;
yield = 7;
}
void yield(int x) {}
static void yield(String x) {
}
}