Files
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
178 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(_, _)) {
}
}
}