mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
14 lines
329 B
Java
14 lines
329 B
Java
import org.jetbrains.annotations.*;
|
|
|
|
interface Foo {
|
|
<warning descr="Primitive type members cannot be annotated">@Nul<caret>lable</warning>
|
|
long getTime();
|
|
}
|
|
|
|
class Bar implements Foo {
|
|
<warning descr="Primitive type members cannot be annotated">@Nullable</warning>
|
|
@Override
|
|
public long getTime() {
|
|
return 0;
|
|
}
|
|
} |