Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/castConstructorParameters/after5.java
Bas Leijdekkers 44f751215e java: cast quick-fix cosmetics (IDEA-277682)
GitOrigin-RevId: 2e9ca6999d9003e1d0d7392de6713593722238f2
2021-09-09 23:02:59 +00:00

20 lines
330 B
Java

// "Cast argument to 'B'" "true"
import java.util.*;
class GeneralTest {
static class B {
}
static class A {
A(B b) {
System.out.println(b);
}
}
public static void main(String[] args) {
List a = new ArrayList();
new A((B) a.get(0))<caret> {
};
}
}