mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 18:03:06 +07:00
17 lines
311 B
Java
17 lines
311 B
Java
import org.jetbrains.annotations.Contract;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class Foo {
|
|
|
|
public void main(@NotNull Object nn) {
|
|
foo(nn).hashCode();
|
|
}
|
|
|
|
@Contract("null->null;!null->!null")
|
|
@Nullable
|
|
Object foo(Object a) { return a; }
|
|
|
|
}
|
|
|