Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/removeRedundantDeconstructionComponents/afterSeveralRedundantPatterns.java
T
2022-11-08 17:52:21 +00:00

10 lines
208 B
Java

// "Remove redundant nested patterns" "true-preview"
class Main {
void foo(Object obj) {
if (obj instanceof Point(double w, double x)) {
}
}
record Point(double x, double y) {}
}