mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
9 lines
204 B
Java
9 lines
204 B
Java
// "Create method 'newMethod'" "true-preview"
|
|
import java.util.Objects;
|
|
|
|
class X {
|
|
<T extends Serializable & Cloneable> void intersection() {
|
|
T t = Objects.requireNonNull(<caret>newMethod());
|
|
}
|
|
}
|