mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
17 lines
329 B
Java
17 lines
329 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class Test {
|
|
|
|
public I getI() {
|
|
return this::<warning descr="Not annotated method is used as an override for a method annotated with NotNull">getMy<caret>String</warning>;
|
|
}
|
|
|
|
String getMyString() {
|
|
return toString();
|
|
}
|
|
}
|
|
|
|
interface I {
|
|
@NotNull
|
|
String getString();
|
|
} |