mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
nullable problems: disable warnings on "complex" getters/setters (IDEA-63958)
This commit is contained in:
+9
@@ -38,4 +38,13 @@ class C {
|
||||
public void setC(@Nullable C c) {
|
||||
this.c = c;
|
||||
}
|
||||
|
||||
@NotNull C c1;
|
||||
@Nullable
|
||||
public C getC1() {
|
||||
if (c1 != null) {
|
||||
return null;
|
||||
}
|
||||
return c1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user