mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
12 lines
283 B
Java
12 lines
283 B
Java
// "Create Method 'get'" "true"
|
|
class Generic<T> {
|
|
public T get() {
|
|
<selection>return null; //To change body of created methods use File | Settings | File Templates.<caret></selection>
|
|
}
|
|
}
|
|
|
|
class WWW {
|
|
<E> void foo (Generic<E> p) {
|
|
E e = p.get();
|
|
}
|
|
} |