mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DfaFactType#CAN_BE_NULL: notnull (but not nullable) is superstate for unknown
This commit is contained in:
@@ -54,6 +54,11 @@ public abstract class DfaFactType<T> extends Key<T> {
|
||||
return super.getPresentationText(fact, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean isSuper(@Nullable Boolean superFact, @Nullable Boolean subFact) {
|
||||
return (superFact == null && Boolean.FALSE.equals(subFact)) || super.isSuper(superFact, subFact);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
Boolean intersectFacts(@NotNull Boolean left, @NotNull Boolean right) {
|
||||
|
||||
Reference in New Issue
Block a user