Uses of Class
edu.umd.cs.findbugs.ba.NullnessAnnotation
-
Packages that use NullnessAnnotation Package Description edu.umd.cs.findbugs.ba A bytecode analysis framework for BCEL, providing CFG construction, generic dataflow analysis, and a variety of specific dataflow analyses.edu.umd.cs.findbugs.ba.npe edu.umd.cs.findbugs.detect -
-
Uses of NullnessAnnotation in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba declared as NullnessAnnotation Modifier and Type Field Description static NullnessAnnotation
NullnessAnnotation. CHECK_FOR_NULL
private static NullnessAnnotation[]
NullnessAnnotation. myValues
static NullnessAnnotation
NullnessAnnotation. NONNULL
static NullnessAnnotation
NullnessAnnotation. NULLABLE
static NullnessAnnotation
NullnessAnnotation. UNKNOWN_NULLNESS
Methods in edu.umd.cs.findbugs.ba that return NullnessAnnotation Modifier and Type Method Description NullnessAnnotation
INullnessAnnotationDatabase. getResolvedAnnotation(java.lang.Object o, boolean getMinimal)
Get a resolved NullnessAnnotation on given XMethod, XField, or XMethodParameter.NullnessAnnotation
NullnessAnnotationDatabase. getResolvedAnnotation(java.lang.Object o, boolean getMinimal)
Deprecated.static NullnessAnnotation
NullnessAnnotation.Parser. parse(java.lang.String className)
static NullnessAnnotation[]
NullnessAnnotation. values()
Methods in edu.umd.cs.findbugs.ba with parameters of type NullnessAnnotation Modifier and Type Method Description void
INullnessAnnotationDatabase. addDefaultAnnotation(AnnotationDatabase.Target target, java.lang.String c, NullnessAnnotation n)
Add a default annotation to the database.void
NullnessAnnotationDatabase. addDefaultAnnotation(AnnotationDatabase.Target target, java.lang.String c, NullnessAnnotation n)
Deprecated.void
NullnessAnnotationDatabase. addDefaultMethodAnnotation(java.lang.String name, NullnessAnnotation annotation)
Deprecated.void
INullnessAnnotationDatabase. addFieldAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, NullnessAnnotation annotation)
Add a field annotation to the database.void
NullnessAnnotationDatabase. addFieldAnnotation(java.lang.String name, java.lang.String name2, java.lang.String sig, boolean isStatic, NullnessAnnotation annotation)
Deprecated.void
INullnessAnnotationDatabase. addMethodAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, NullnessAnnotation annotation)
Add a method annotation to the database.void
NullnessAnnotationDatabase. addMethodAnnotation(java.lang.String name, java.lang.String name2, java.lang.String sig, boolean isStatic, NullnessAnnotation annotation)
Deprecated.void
INullnessAnnotationDatabase. addMethodParameterAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, int param, NullnessAnnotation annotation)
Add a method parameter annotation to the database.void
NullnessAnnotationDatabase. addMethodParameterAnnotation(java.lang.String name, java.lang.String name2, java.lang.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 NullnessAnnotation Modifier and Type Method Description NullnessAnnotation
TypeQualifierNullnessAnnotationDatabase. getDirectAnnotation(java.lang.Object o)
NullnessAnnotation
TypeQualifierNullnessAnnotationDatabase. getInheritedAnnotation(XMethod m)
NullnessAnnotation
TypeQualifierNullnessAnnotationDatabase. getInheritedAnnotation(XMethod m, int parameter)
static NullnessAnnotation
DerefFinder. getMethodNullnessAnnotation(ClassContext classContext, org.apache.bcel.classfile.Method method)
NullnessAnnotation
TypeQualifierNullnessAnnotationDatabase. getResolvedAnnotation(java.lang.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 NullnessAnnotation Modifier and Type Method Description void
TypeQualifierNullnessAnnotationDatabase. addDefaultAnnotation(AnnotationDatabase.Target target, java.lang.String c, NullnessAnnotation n)
void
TypeQualifierNullnessAnnotationDatabase. addFieldAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String mSig, boolean isStatic, NullnessAnnotation annotation)
void
TypeQualifierNullnessAnnotationDatabase. addMethodAnnotation(java.lang.String cName, java.lang.String mName, java.lang.String sig, boolean isStatic, NullnessAnnotation annotation)
void
TypeQualifierNullnessAnnotationDatabase. addMethodParameterAnnotation(java.lang.String cName, java.lang.String mName, java.lang.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 NullnessAnnotation Modifier and Type Field Description private NullnessAnnotation
FindNullDeref. methodAnnotation
Fields in edu.umd.cs.findbugs.detect with type parameters of type NullnessAnnotation Modifier and Type Field Description private java.util.Map<java.lang.Integer,NullnessAnnotation>
CheckRelaxingNullnessAnnotation.DetectorNode. nonNullParameter
Methods in edu.umd.cs.findbugs.detect that return NullnessAnnotation Modifier and Type Method Description private NullnessAnnotation
FindNullDeref. getMethodNullnessAnnotation()
See if the currently-visited method declares a(package private) static NullnessAnnotation
CheckRelaxingNullnessAnnotation. getNullness(java.lang.String annotationDesc)
Methods in edu.umd.cs.findbugs.detect that return types with arguments of type NullnessAnnotation Modifier and Type Method Description (package private) static java.util.Map<java.lang.Integer,NullnessAnnotation>
CheckRelaxingNullnessAnnotation. getNonnullOrNullableParams(java.util.List<org.objectweb.asm.tree.AnnotationNode>[] parameterAnnotations)
Methods in edu.umd.cs.findbugs.detect with parameters of type NullnessAnnotation Modifier and Type Method Description (package private) static boolean
CheckRelaxingNullnessAnnotation. containsNullness(java.util.Collection<AnnotationValue> annotations, NullnessAnnotation nullness)
-