Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/changeToUnnamed/beforeAll.java
Tagir Valeev 5ceb7551aa [java-inspections] Move unused symbol warnings from PostHighlightingVisitor to normal inspection
Fixes IDEA-349083 Reimplement unused inspection not as a part of PostHighlightingVisitor, but as a normal inspection

GitOrigin-RevId: cb6e22eddbaf9db42626a79c7881bd377c4c7863
2024-03-22 12:27:36 +00:00

9 lines
193 B
Java

// "Fix all 'Unused declaration' problems in file" "true"
public class Test {
record R(int x, int y) {}
void test(Object obj) {
if (obj instanceof R(int <caret>a, int b)) {
}
}
}