mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
18 lines
226 B
Java
18 lines
226 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class Test {
|
|
|
|
public I getI() {
|
|
return this::getMyString;
|
|
}
|
|
|
|
@NotNull
|
|
String getMyString() {
|
|
return toString();
|
|
}
|
|
}
|
|
|
|
interface I {
|
|
@NotNull
|
|
String getString();
|
|
} |