mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-77484 + tests
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class DDD {
|
||||
int test(boolean t) {
|
||||
if (t && <warning descr="Dereference of 'fff()' may produce 'java.lang.NullPointerException'">fff()</warning>.length == 1) {
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
public @Nullable DDD[] fff() {
|
||||
return new DDD[8];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user