Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createClassFromUsage/beforeDeconstructionPattern2.java
T
2022-10-10 17:13:10 +00:00

9 lines
204 B
Java

// "Create record 'Point'" "true-preview"
class Test {
void foo(Object obj) {
switch (obj) {
case Poi<caret>nt(double x, double y) -> {}
default -> {}
}
}
}