mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 01:42:17 +07:00
GitOrigin-RevId: 7234832a572304695efe2fd21af60127679715df
21 lines
468 B
Java
21 lines
468 B
Java
import org.eclipse.jdt.annotation.NonNull;
|
|
|
|
abstract class Foo {
|
|
|
|
abstract void foo(<warning descr="Overriding method parameters are not annotated">@<caret>NonNull</warning> String str);
|
|
|
|
|
|
public static class Foo2 extends Foo {
|
|
|
|
@Override
|
|
void foo(@NonNull String str) {
|
|
}
|
|
}
|
|
|
|
public static class Foo3 extends Foo {
|
|
|
|
@Override
|
|
void foo(String <warning descr="Not annotated parameter overrides @NonNull parameter">str</warning>) {
|
|
}
|
|
}
|
|
} |