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 TypeMethodDescriptionReturns the string representation, using simple (not fully-qualified) names.protected NullnessValueupperBound(@Nullable NullnessValue other, TypeMirror upperBoundTypeMirror, boolean shouldWiden) Returns an upper bound ofthisandother.Methods inherited from class org.checkerframework.framework.flow.CFAbstractValuecanBeMissingAnnotations, equals, getAnnotations, getUnderlyingType, greatestLowerBound, hashCode, leastUpperBound, leastUpperBound, 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- 
upperBoundprotected NullnessValue upperBound(@Nullable NullnessValue other, TypeMirror upperBoundTypeMirror, boolean shouldWiden) Description copied from class:CFAbstractValueReturns an upper bound ofthisandother. The underlying type of the value returned isupperBoundTypeMirror. IfshouldWidenis false, this method returns the least upper bound ofthisandother.This is the implementation of CFAbstractValue.leastUpperBound(CFAbstractValue, TypeMirror),CFAbstractValue.leastUpperBound(CFAbstractValue),CFAbstractValue.widenUpperBound(CFAbstractValue), andCFAbstractValue.upperBound(CFAbstractValue, boolean). Subclasses may override it.- Overrides:
- upperBoundin class- CFAbstractValue<NullnessValue>
- Parameters:
- other- an abstract value
- upperBoundTypeMirror- the underlying type of the returned value
- shouldWiden- true if the method should perform widening
- Returns:
- an upper bound of this and other
 
- 
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
 
 
-