blob: 18b76d3aa1d566465f97c13d05ee5e013216f2c4 [file]
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();
}