Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createClassFromUsage/beforeDeconstructionPattern3.java
Andrey.Cherkasov 375b7b102f [java-intentions] Implement quick-fix to create record from deconstruction pattern, if the identifier is unresolved
IDEA-303300

GitOrigin-RevId: f4cd752f81987885a72b5da8d898f875a5198dcb
2022-10-10 17:13:10 +00:00

9 lines
223 B
Java

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