mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 8b2e9886481740602ddf3f6fecf92ca180bd7412
17 lines
299 B
Java
17 lines
299 B
Java
// "Add missing nullability annotations to overriding methods" "true"
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
abstract class P2 {
|
|
@NotNull<caret>
|
|
String foo(@NotNull String p) {
|
|
return p;
|
|
}
|
|
|
|
Object o = new P2() {
|
|
@Override
|
|
String foo(String p) {
|
|
return "";
|
|
}
|
|
};
|
|
} |