Class NullnessValue
java.lang.Object
org.checkerframework.framework.flow.CFAbstractValue<NullnessValue>
org.checkerframework.checker.nullness.NullnessValue
- All Implemented Interfaces:
- AbstractValue<NullnessValue>
- 
Nested Class SummaryNested classes/interfaces inherited from class org.checkerframework.framework.flow.CFAbstractValueCFAbstractValue.AnnotationSetCombiner, CFAbstractValue.ValueGlb, CFAbstractValue.ValueLub
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanFields inherited from class org.checkerframework.framework.flow.CFAbstractValueanalysis, annotations, atypeFactory, qualHierarchy, underlyingType
- 
Constructor SummaryConstructorsConstructorDescriptionNullnessValue(CFAbstractAnalysis<NullnessValue, ?, ?> analysis, AnnotationMirrorSet annotations, TypeMirror underlyingType) Creates a new NullnessValue.
- 
Method SummaryModifier and TypeMethodDescriptionleastUpperBound(NullnessValue other) Compute the least upper bound of two values.Returns the string representation, using simple (not fully-qualified) names.Methods inherited from class org.checkerframework.framework.flow.CFAbstractValuecanBeMissingAnnotations, equals, getAnnotations, getUnderlyingType, greatestLowerBound, hashCode, mostSpecific, toString, toStringFullyQualified, validateSet, widenUpperBound
- 
Field Details- 
isPolyNullNonNullprotected boolean isPolyNullNonNull
- 
isPolyNullNullprotected boolean isPolyNullNull
 
- 
- 
Constructor Details- 
NullnessValuepublic NullnessValue(CFAbstractAnalysis<NullnessValue, ?, ?> analysis, AnnotationMirrorSet annotations, TypeMirror underlyingType) Creates a new NullnessValue.- Parameters:
- analysis- the analysis
- annotations- the annotations
- underlyingType- the underlying type
 
 
- 
- 
Method Details- 
leastUpperBoundDescription copied from interface:AbstractValueCompute the least upper bound of two values.Important: This method must fulfill the following contract: - Does not change this.
- Does not change other.
- Returns a fresh object which is not aliased yet.
- Returns an object of the same (dynamic) type as this, even if the signature is more permissive.
- Is commutative.
 - Specified by:
- leastUpperBoundin interface- AbstractValue<NullnessValue>
- Overrides:
- leastUpperBoundin class- CFAbstractValue<NullnessValue>
 
- Does not change 
- 
toStringSimpleDescription copied from class:CFAbstractValueReturns the string representation, using simple (not fully-qualified) names.- Overrides:
- toStringSimplein class- CFAbstractValue<NullnessValue>
- Returns:
- the string representation, using simple (not fully-qualified) names
 
 
-