Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createClassFromUsage/beforeDeconstructionPattern1.java
Andrey Cherkasov 970dd8d1e7 [java-intentions] Create record from deconstruction pattern, if the identifier is unresolved: fixes after IJ-CR-96419
IDEA-303300

GitOrigin-RevId: 683cfefb998c2a1f3a16d7874c166740ff21ac2f
2022-10-25 18:21:23 +00:00

6 lines
153 B
Java

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