public interface VariableNullability
| 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).
|
default com.google.common.collect.ImmutableSet<Variable> |
getNullableVariables() |
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) |
boolean isPossiblyNullable(Variable variable)
boolean canPossiblyBeNullSeparately(com.google.common.collect.ImmutableSet<Variable> variables)
boolean canPossiblyBeNullSeparately(com.google.common.collect.ImmutableList<? extends ImmutableTerm> terms)
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableSet<Variable>> getNullableGroups()
VariableNullability update(ImmutableSubstitution<? extends ImmutableTerm> substitution, com.google.common.collect.ImmutableSet<Variable> projectedVariables)
VariableNullability applyFreshRenaming(InjectiveVar2VarSubstitution freshRenamingSubstitution)
default com.google.common.collect.ImmutableSet<Variable> getNullableVariables()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.