Uses of Class
edu.umd.cs.findbugs.ba.NullnessAnnotation
Packages that use NullnessAnnotation
Package
Description
A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
-
Uses of NullnessAnnotation in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba declared as NullnessAnnotationModifier and TypeFieldDescriptionstatic final NullnessAnnotation
NullnessAnnotation.CHECK_FOR_NULL
private static final NullnessAnnotation[]
NullnessAnnotation.myValues
static final NullnessAnnotation
NullnessAnnotation.NONNULL
static final NullnessAnnotation
NullnessAnnotation.NULLABLE
static final NullnessAnnotation
NullnessAnnotation.UNKNOWN_NULLNESS
Methods in edu.umd.cs.findbugs.ba that return NullnessAnnotationModifier and TypeMethodDescriptionINullnessAnnotationDatabase.getResolvedAnnotation
(Object o, boolean getMinimal) Get a resolved NullnessAnnotation on given XMethod, XField, or XMethodParameter.NullnessAnnotationDatabase.getResolvedAnnotation
(Object o, boolean getMinimal) Deprecated.static NullnessAnnotation
static NullnessAnnotation[]
NullnessAnnotation.values()
Methods in edu.umd.cs.findbugs.ba with parameters of type NullnessAnnotationModifier and TypeMethodDescriptionvoid
INullnessAnnotationDatabase.addDefaultAnnotation
(AnnotationDatabase.Target target, String c, NullnessAnnotation n) Add a default annotation to the database.void
NullnessAnnotationDatabase.addDefaultAnnotation
(AnnotationDatabase.Target target, String c, NullnessAnnotation n) Deprecated.void
NullnessAnnotationDatabase.addDefaultMethodAnnotation
(String name, NullnessAnnotation annotation) Deprecated.void
INullnessAnnotationDatabase.addFieldAnnotation
(String cName, String mName, String mSig, boolean isStatic, NullnessAnnotation annotation) Add a field annotation to the database.void
NullnessAnnotationDatabase.addFieldAnnotation
(String name, String name2, String sig, boolean isStatic, NullnessAnnotation annotation) Deprecated.void
INullnessAnnotationDatabase.addMethodAnnotation
(String cName, String mName, String mSig, boolean isStatic, NullnessAnnotation annotation) Add a method annotation to the database.void
NullnessAnnotationDatabase.addMethodAnnotation
(String name, String name2, String sig, boolean isStatic, NullnessAnnotation annotation) Deprecated.void
INullnessAnnotationDatabase.addMethodParameterAnnotation
(String cName, String mName, String mSig, boolean isStatic, int param, NullnessAnnotation annotation) Add a method parameter annotation to the database.void
NullnessAnnotationDatabase.addMethodParameterAnnotation
(String name, String name2, String sig, boolean isStatic, int param, NullnessAnnotation annotation) Deprecated. -
Uses of NullnessAnnotation in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that return NullnessAnnotationModifier and TypeMethodDescriptionTypeQualifierNullnessAnnotationDatabase.getDirectAnnotation
(Object o) TypeQualifierNullnessAnnotationDatabase.getInheritedAnnotation
(XMethod m) TypeQualifierNullnessAnnotationDatabase.getInheritedAnnotation
(XMethod m, int parameter) static NullnessAnnotation
DerefFinder.getMethodNullnessAnnotation
(ClassContext classContext, org.apache.bcel.classfile.Method method) TypeQualifierNullnessAnnotationDatabase.getResolvedAnnotation
(Object o, boolean getMinimal) private NullnessAnnotation
TypeQualifierNullnessAnnotationDatabase.toNullnessAnnotation
(TypeQualifierAnnotation tqa) Convert a Nonnull-based TypeQualifierAnnotation into a NullnessAnnotation.Methods in edu.umd.cs.findbugs.ba.npe with parameters of type NullnessAnnotationModifier and TypeMethodDescriptionvoid
TypeQualifierNullnessAnnotationDatabase.addDefaultAnnotation
(AnnotationDatabase.Target target, String c, NullnessAnnotation n) void
TypeQualifierNullnessAnnotationDatabase.addFieldAnnotation
(String cName, String mName, String mSig, boolean isStatic, NullnessAnnotation annotation) void
TypeQualifierNullnessAnnotationDatabase.addMethodAnnotation
(String cName, String mName, String sig, boolean isStatic, NullnessAnnotation annotation) void
TypeQualifierNullnessAnnotationDatabase.addMethodParameterAnnotation
(String cName, String mName, String sig, boolean isStatic, int param, NullnessAnnotation annotation) private ClassDescriptor
TypeQualifierNullnessAnnotationDatabase.getNullnessAnnotationClassDescriptor
(NullnessAnnotation n) Convert a NullnessAnnotation into the ClassDescriptor of the equivalent JSR-305 nullness type qualifier. -
Uses of NullnessAnnotation in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as NullnessAnnotationFields in edu.umd.cs.findbugs.detect with type parameters of type NullnessAnnotationModifier and TypeFieldDescriptionprivate Map
<Integer, NullnessAnnotation> CheckRelaxingNullnessAnnotation.DetectorNode.nonNullParameter
Methods in edu.umd.cs.findbugs.detect that return NullnessAnnotationModifier and TypeMethodDescriptionprivate NullnessAnnotation
FindNullDeref.getMethodNullnessAnnotation()
See if the currently-visited method declares a(package private) static NullnessAnnotation
CheckRelaxingNullnessAnnotation.getNullness
(String annotationDesc) Methods in edu.umd.cs.findbugs.detect that return types with arguments of type NullnessAnnotationModifier and TypeMethodDescription(package private) static Map
<Integer, NullnessAnnotation> CheckRelaxingNullnessAnnotation.getNonnullOrNullableParams
(List<org.objectweb.asm.tree.AnnotationNode>[] parameterAnnotations) Methods in edu.umd.cs.findbugs.detect with parameters of type NullnessAnnotationModifier and TypeMethodDescription(package private) static boolean
CheckRelaxingNullnessAnnotation.containsNullness
(Collection<AnnotationValue> annotations, NullnessAnnotation nullness)