mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
missing test data
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
class Doo {
|
||||
|
||||
@Nullable
|
||||
Object getMethod() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void main(String[] args) {
|
||||
Object method = getMethod();
|
||||
System.out.println(<warning descr="Method invocation 'getMethod().hashCode()' may produce 'java.lang.NullPointerException'">getMethod().hashCode()</warning>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user