mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
9 lines
174 B
Java
9 lines
174 B
Java
// "Replace 'list' with pattern variable" "true"
|
|
import java.util.*;
|
|
|
|
class X {
|
|
void test(List<Integer> obj) {
|
|
if (obj instanceof ArrayList<Integer> list) {
|
|
}
|
|
}
|
|
} |