mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
10 lines
194 B
Java
10 lines
194 B
Java
// "Replace 'list' with pattern variable" "true"
|
|
import java.util.List;
|
|
|
|
class X {
|
|
void test(Object obj) {
|
|
if (obj instanceof List) {
|
|
List<?> l<caret>ist = (List<?>) obj;
|
|
}
|
|
}
|
|
} |