public class DummyVariableNullabilityImpl extends Object implements DummyVariableNullability
| Modifier and Type | Method and Description |
|---|---|
VariableNullability |
applyFreshRenaming(InjectiveVar2VarSubstitution freshRenamingSubstitution) |
boolean |
canPossiblyBeNullSeparately(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
Generalization to arbitrary terms
|
boolean |
canPossiblyBeNullSeparately(com.google.common.collect.ImmutableSet<Variable> variables)
Returns true if it possible that among the variables at least two can be null
but are not required to be null at the same time.
|
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> |
getNullableGroups()
All the variables of a group are always null at the same time (guaranteed).
|
boolean |
isPossiblyNullable(Variable variable)
NB: for variables outside its scope, returns true (as it does not know anything about them)
|
VariableNullability |
update(ImmutableSubstitution<? extends ImmutableTerm> substitution,
com.google.common.collect.ImmutableSet<Variable> projectedVariables)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNullableVariablespublic boolean isPossiblyNullable(Variable variable)
VariableNullabilityisPossiblyNullable in interface VariableNullabilitypublic boolean canPossiblyBeNullSeparately(com.google.common.collect.ImmutableSet<Variable> variables)
VariableNullabilitycanPossiblyBeNullSeparately in interface VariableNullabilitypublic boolean canPossiblyBeNullSeparately(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
VariableNullabilitycanPossiblyBeNullSeparately in interface VariableNullabilitypublic com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> getNullableGroups()
VariableNullabilitygetNullableGroups in interface VariableNullability@Deprecated public VariableNullability update(ImmutableSubstitution<? extends ImmutableTerm> substitution, com.google.common.collect.ImmutableSet<Variable> projectedVariables)
update in interface DummyVariableNullabilityupdate in interface VariableNullabilitypublic VariableNullability applyFreshRenaming(InjectiveVar2VarSubstitution freshRenamingSubstitution)
applyFreshRenaming in interface DummyVariableNullabilityapplyFreshRenaming in interface VariableNullabilityCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.