Files
openide/java/java-tests/testData/refactoring/changeSignature/WithoutConflictsSwitchUsedDeconstruction.java
2024-12-02 18:59:47 +00:00

12 lines
265 B
Java

public class WithoutConflictsSwitchUsedDeconstruction {
public record Point(int a<caret>, String b) {
void foo(Object obj) {
switch (obj) {
case Point(int x, Object y) when x > 10 -> {
}
default -> {
}
}
}
}
}