Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/removeUnusedVariable/beforePatternVariable1.java
Andrey.Cherkasov 1c7aea69ba [java-inspections] 'Remove pattern variable' fix is available on deconstruction pattern component but produces red code
IDEA-298527

GitOrigin-RevId: 32645ea4938384d31bbe4750c3867e3b00f3fafe
2022-08-29 13:52:32 +00:00

6 lines
146 B
Java

// "Remove pattern variable" "true-preview"
class X {
public void test(Object object) {
if (object instanceof String str<caret>ing) {}
}
}