Uses of Class
edu.umd.cs.findbugs.ba.npe.IsNullValue
Packages that use IsNullValue
Package
Description
-
Uses of IsNullValue in edu.umd.cs.findbugs.ba.deref
Methods in edu.umd.cs.findbugs.ba.deref with parameters of type IsNullValueModifier and TypeMethodDescriptionprivate static booleanUnconditionalValueDerefAnalysis.reportDereference(IsNullValue value) -
Uses of IsNullValue in edu.umd.cs.findbugs.ba.npe
Subclasses with type arguments of type IsNullValue in edu.umd.cs.findbugs.ba.npeModifier and TypeClassDescriptionclassA dataflow analysis to detect potential null pointer dereferences.classclassFields in edu.umd.cs.findbugs.ba.npe declared as IsNullValueModifier and TypeFieldDescriptionprivate final IsNullValueIsNullConditionDecision.fallThroughDecisionfinal IsNullValueRedundantBranch.firstValueprivate final IsNullValueIsNullConditionDecision.ifcmpDecisionprivate static final IsNullValue[][]IsNullValue.instanceByFlagsListfinal IsNullValueRedundantBranch.secondValueFields in edu.umd.cs.findbugs.ba.npe with type parameters of type IsNullValueModifier and TypeFieldDescriptionprivate Map<ValueNumber, IsNullValue> IsNullValueFrame.knownValueMapMethods in edu.umd.cs.findbugs.ba.npe that return IsNullValueModifier and TypeMethodDescriptionstatic IsNullValueIsNullValue.checkedNonNullValue()Get the instance representing a value known to be non-null because it was compared against null value, or because we saw the object creation.static IsNullValueIsNullValue.checkedNullValue()Get the instance representing a value known to be null because it was compared against null value, or because we saw that it was assigned the null constant.private static IsNullValue[][]IsNullValue.createInstanceByFlagList()IsNullValue.downgradeOnControlSplit()Control split: move given value down in the lattice if it is a conditionally-null value.IsNullConditionDecision.getDecision(int edgeType) Get the decision reached about the value on outgoing edge of given type.IsNullValueFrameModelingVisitor.getDefaultValue()IsNullValueFrame.getKnownValue(ValueNumber valueNumber) IsNullValueFrameModelingVisitor.getReturnValueNullness(XMethod calledMethod) IsNullValue.markInformationAsComingFromFieldValue(XField field) Convert to a value known because it was returned from a method in a method property database.IsNullValue.markInformationAsComingFromReturnValueOfMethod(XMethod methodInvoked, NullnessAnnotation methodNullnessAnnotation) Convert to a value known because it was returned from a method in a method property database.static IsNullValueIsNullValue.merge(IsNullValue a, IsNullValue b) Merge two values.static IsNullValueIsNullValue.noKaboomNonNullValue(Location ins) Get the instance representing a value known to be non-null because a NPE would have occurred if it were null.static IsNullValueIsNullValue.nonNullValue()Get the instance representing values that are definitely not null.static IsNullValueIsNullValue.nonReportingNotNullValue()Get non-reporting non-null value.static IsNullValueIsNullValue.nullOnComplexPathValue()Get null on complex path value.static IsNullValueIsNullValue.nullOnComplexPathValue3()Like "null on complex path" except that there are at least three branches between the explicit null value and the current location.static IsNullValueIsNullValue.nullOnSimplePathValue()Get the instance representing values that are definitely null on some simple (no branches) incoming path.static IsNullValueIsNullValue.nullValue()Get the instance representing values that are definitely null.static IsNullValueIsNullValue.parameterMarkedAsMightBeNull(XMethodParameter mp) Get instance representing a parameter marked as MightBeNullstatic IsNullValueIsNullValue.parameterMarkedAsNonnull(XMethodParameter mp) Get instance representing a parameter marked as Nonnullstatic IsNullValueIsNullValue.pathSensitiveNonNullValue()Get non-null value resulting from comparison to explicit null.static IsNullValueIsNullValue.pathSensitiveNullValue()Get null value resulting from comparison to explicit null.IsNullValue.toExceptionValue()Convert to an exception path value.Methods in edu.umd.cs.findbugs.ba.npe that return types with arguments of type IsNullValueMethods in edu.umd.cs.findbugs.ba.npe with parameters of type IsNullValueModifier and TypeMethodDescriptionvoidNullValueUnconditionalDeref.add(IsNullValue isNullValue, Set<Location> unconditionalDerefLocationSet) voidNullDerefAndRedundantComparisonCollector.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame) Deprecated.voidNullDerefAndRedundantComparisonCollector.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame, boolean isConsistent) Subclasses should override this method to capture locations where a null pointer is dereferenced.private IsNullConditionDecisionIsNullValueAnalysis.handleIfNull(IsNullValue tos, ValueNumber prevTopValue, boolean ifnull) static IsNullValueIsNullValue.merge(IsNullValue a, IsNullValue b) Merge two values.private voidNullDerefAndRedundantComparisonFinder.noteUnconditionallyDereferencedNullValue(Location thisLocation, Map<ValueNumber, SortedSet<Location>> bugLocations, Map<ValueNumber, NullValueUnconditionalDeref> nullValueGuaranteedDerefMap, UnconditionalValueDerefSet derefSet, IsNullValue isNullValue, ValueNumber valueNumber) Note the locations where a known-null value is unconditionally dereferenced.private voidIsNullValueFrameModelingVisitor.produce(IsNullValue value) private voidIsNullValueFrameModelingVisitor.produce2(IsNullValue value) private IsNullValueFrameIsNullValueAnalysis.replaceValues(IsNullValueFrame origFrame, IsNullValueFrame frame, ValueNumber replaceMe, ValueNumberFrame prevVnaFrame, ValueNumberFrame targetVnaFrame, IsNullValue replacementValue) Update is-null information at a branch target based on information gained at a null comparison branch.voidIsNullValueFrame.setKnownValue(ValueNumber valueNumber, IsNullValue knownValue) Method parameters in edu.umd.cs.findbugs.ba.npe with type arguments of type IsNullValueModifier and TypeMethodDescriptionvoidIsNullValueFrame.copyFrom(Frame<IsNullValue> other) booleanIsNullValueFrame.sameAs(Frame<IsNullValue> other) Constructors in edu.umd.cs.findbugs.ba.npe with parameters of type IsNullValueModifierConstructorDescriptionIsNullConditionDecision(ValueNumber value, IsNullValue ifcmpDecision, IsNullValue fallThroughDecision) Constructor.RedundantBranch(Location location, int lineNumber, IsNullValue firstValue) Constructor.RedundantBranch(Location location, int lineNumber, IsNullValue firstValue, IsNullValue secondValue) Constructor. -
Uses of IsNullValue in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect with parameters of type IsNullValueModifier and TypeMethodDescriptionvoidFindNullDeref.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame) Deprecated.voidFindNullDeref.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame, boolean isConsistent) voidNoiseNullDeref.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame) Deprecated.voidNoiseNullDeref.foundNullDeref(Location location, ValueNumber valueNumber, IsNullValue refValue, ValueNumberFrame vnaFrame, boolean isConsistent)
NullDerefAndRedundantComparisonCollector.foundNullDeref(Location,ValueNumber,IsNullValue,ValueNumberFrame,boolean)instead