public class NullnessValue extends CFAbstractValue<NullnessValue>
CFAbstractValue.AnnotationSetCombiner, CFAbstractValue.ValueGlb, CFAbstractValue.ValueLub
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPolyNullNonNull
|
protected boolean |
isPolyNullNull
|
analysis, annotations, underlyingType
Constructor and Description |
---|
NullnessValue(CFAbstractAnalysis<NullnessValue,?,?> analysis,
Set<AnnotationMirror> annotations,
TypeMirror underlyingType) |
Modifier and Type | Method and Description |
---|---|
NullnessValue |
leastUpperBound(NullnessValue other)
Compute the least upper bound of two values.
|
String |
toStringSimple()
Returns the string representation, using simple (not fully-qualified) names.
|
canBeMissingAnnotations, equals, getAnnotations, getUnderlyingType, greatestLowerBound, hashCode, mostSpecific, toString, toStringFullyQualified, validateSet, widenUpperBound
protected boolean isPolyNullNonNull
protected boolean isPolyNullNull
public NullnessValue(CFAbstractAnalysis<NullnessValue,?,?> analysis, Set<AnnotationMirror> annotations, TypeMirror underlyingType)
public NullnessValue leastUpperBound(NullnessValue other)
AbstractValue
Important: This method must fulfill the following contract:
this
.
other
.
this
, even if the signature is
more permissive.
leastUpperBound
in interface AbstractValue<NullnessValue>
leastUpperBound
in class CFAbstractValue<NullnessValue>
@SideEffectFree public String toStringSimple()
CFAbstractValue
toStringSimple
in class CFAbstractValue<NullnessValue>