mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
14 lines
337 B
Java
14 lines
337 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Doo {
|
|
|
|
@Nullable
|
|
Object getMethod() {
|
|
return null;
|
|
}
|
|
|
|
public void main(String[] args) {
|
|
Object method = getMethod();
|
|
System.out.println(getMethod().<warning descr="Method invocation 'hashCode' may produce 'java.lang.NullPointerException'">hashCode</warning>());
|
|
}
|
|
} |