mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
22 lines
362 B
Plaintext
22 lines
362 B
Plaintext
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
import static Statics._emptyList;
|
|
|
|
public class Statics {
|
|
|
|
public static <T> List<T> _emptyList() {
|
|
return new ArrayList<T>();
|
|
}
|
|
}
|
|
|
|
|
|
class Foo {
|
|
public static void main(String[] args) {
|
|
doSomething(Statics.<String>_emptyList());
|
|
}
|
|
|
|
public static void doSomething(List<String> list) {
|
|
|
|
}
|
|
} |