Uses of Class
edu.umd.cs.findbugs.annotations.CheckForNull
-
Packages that use CheckForNull Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance, BugAnnotation), and other miscellany.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.ch edu.umd.cs.findbugs.ba.deref edu.umd.cs.findbugs.ba.generic edu.umd.cs.findbugs.ba.jsr305 Support for analyzing code containing JSR-305 type qualifier annotations.edu.umd.cs.findbugs.ba.npe edu.umd.cs.findbugs.ba.obl Implementation of dataflow analysis for checking whether obligations to close streams and other resources (e.g.edu.umd.cs.findbugs.ba.type edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.classfile A high-level abstraction layer for codebases, classes, and components of classes (methods, fields, instructions, etc.).edu.umd.cs.findbugs.classfile.analysis Classes of objects that are the result of executing an analysis engine on a class or method. The classes in this particular package are those that are independent of any particular bytecode-analysis framework (e.g., BCEL or ASM). Two important classes in this package are ClassData, which represents the raw data of a class, and ClassInfo, which represents symbolic information parsed from the class data.edu.umd.cs.findbugs.classfile.engine Analysis engine classes to produce the analyses defined in the edu.umd.cs.findbugs.classfile.analysis package.edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.filter edu.umd.cs.findbugs.gui2 edu.umd.cs.findbugs.sourceViewer edu.umd.cs.findbugs.util edu.umd.cs.findbugs.visitclass edu.umd.cs.findbugs.xml -
-
Uses of CheckForNull in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs with annotations of type CheckForNull Modifier and Type Method Description java.lang.StringBugDesignation. getAnnotationText()PackageStats.ClassStatsProjectStats. getClassStats(java.lang.String className)Report that a class has been analyzed.static BugAnnotationBugInstance. getFieldOrMethodValueSource(OpcodeStack.Item item)java.lang.StringOpcodeStack.Item. getHttpParameterName()org.apache.bcel.classfile.JavaClassOpcodeStack.Item. getJavaClass()Returns null for primitive and arraysXMethodOpcodeStack.Item. getReturnValueOf()static BugAnnotationBugInstance. getSomeSource(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, OpcodeStack stack, int stackPos)java.lang.StringPackageStats.ClassStats. getSourceFile()static BugAnnotationBugInstance. getSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)java.lang.StringBugDesignation. getUser()java.lang.StringBugInstance. getUserName()BugPatternI18N. lookupBugPattern(java.lang.String bugType)Look up bug pattern.Method parameters in edu.umd.cs.findbugs with annotations of type CheckForNull Modifier and Type Method Description voidProjectStats. addClass(java.lang.String className, java.lang.String sourceFile, boolean isInterface, int size)Report that a class has been analyzed.BugInstanceBugInstance. addEqualsMethodUsed(java.util.Collection<XMethod> equalsMethods)BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation)BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation, java.lang.String role)BugInstanceBugInstance. addOptionalField(XField xfield)Add a field annotation for an XField.static SourceLineAnnotationSourceLineAnnotation. forEntireMethod(org.apache.bcel.classfile.JavaClass javaClass, org.apache.bcel.classfile.Method method)Create a SourceLineAnnotation covering an entire method.static BugAnnotationBugInstance. getFieldOrMethodValueSource(OpcodeStack.Item item)voidBugDesignation. merge(BugDesignation other)replace unset fields of this user designation with values set in the othervoidBugInstance. setAnnotationText(java.lang.String annotationText, BugCollection bugCollection)Set the user annotation text.voidBugInstance. setUserDesignationKey(java.lang.String key, BugCollection bugCollection)voidBugInstance. setUserDesignationKeyIndex(int index, BugCollection bugCollection)svoidProject. writeXML(XMLOutput xmlOutput, java.lang.Object destination) -
Uses of CheckForNull in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with annotations of type CheckForNull Modifier and Type Method Description static JavaClassAndMethodHierarchy. findConcreteMethod(org.apache.bcel.classfile.JavaClass javaClass, java.lang.String methodName, java.lang.String methodSig)Deprecated.static org.apache.bcel.generic.ObjectType[]Hierarchy2. findDeclaredExceptions(org.apache.bcel.generic.InvokeInstruction inv, org.apache.bcel.generic.ConstantPoolGen cpg)Find the declared exceptions for the method called by given instruction.static JavaClassAndMethodHierarchy. findInvocationLeastUpperBound(org.apache.bcel.classfile.JavaClass jClass, java.lang.String methodName, java.lang.String methodSig, JavaClassAndMethodChooser methodChooser, boolean invokeInterface)static JavaClassAndMethodHierarchy. findInvocationLeastUpperBound(org.apache.bcel.generic.InvokeInstruction inv, org.apache.bcel.generic.ConstantPoolGen cpg)Find the least upper bound method in the class hierarchy which could be called by the given InvokeInstruction.static JavaClassAndMethodHierarchy. findInvocationLeastUpperBound(org.apache.bcel.generic.InvokeInstruction inv, org.apache.bcel.generic.ConstantPoolGen cpg, JavaClassAndMethodChooser methodChooser)static XMethodHierarchy2. findInvocationLeastUpperBound(XClass jClass, java.lang.String methodName, java.lang.String methodSig, boolean invokeStatic, boolean invokeInterface)static XMethodHierarchy2. findInvocationLeastUpperBound(ClassDescriptor classDesc, java.lang.String methodName, java.lang.String methodSig, boolean invokeStatic, boolean invokeInterface)static XMethodHierarchy2. findInvocationLeastUpperBound(org.apache.bcel.generic.InvokeInstruction inv, org.apache.bcel.generic.ConstantPoolGen cpg, JavaClassAndMethodChooser methodChooser)static XMethodHierarchy. findMethod(ClassDescriptor classDesc, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)Find a method in given class.static JavaClassAndMethodHierarchy. findMethod(org.apache.bcel.classfile.JavaClass javaClass, java.lang.String methodName, java.lang.String methodSig)Find a method in given class.static JavaClassAndMethodHierarchy. findMethod(org.apache.bcel.classfile.JavaClass javaClass, java.lang.String methodName, java.lang.String methodSig, JavaClassAndMethodChooser chooser)static XMethodHierarchy2. findMethod(ClassDescriptor classDescriptor, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)static XMethodHierarchy. findXMethod(org.apache.bcel.classfile.JavaClass javaClass, java.lang.String methodName, java.lang.String methodSig, JavaClassAndMethodChooser chooser)Deprecated.static java.util.BitSetClassContext. getBytecodeSet(org.apache.bcel.classfile.JavaClass clazz, org.apache.bcel.classfile.Method method)Get a BitSet representing the bytecodes that are used in the given method.java.util.BitSetClassContext. getBytecodeSet(org.apache.bcel.classfile.Method method)Get a BitSet representing the bytecodes that are used in the given method.SourceInfoMap.SourceLineRangeSourceInfoMap. getClassLine(java.lang.String className)Look up the line number range for a class.SourceInfoMap.SourceLineRangeSourceInfoMap. getFieldLine(java.lang.String className, java.lang.String fieldName)Look up the line number range for a field.org.apache.bcel.generic.MethodGenClassContext. getMethodGen(org.apache.bcel.classfile.Method method)Get a MethodGen object for given method.SourceInfoMap.SourceLineRangeSourceInfoMap. getMethodLine(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature)Look up the line number range for a method.AnnotationEnumAnnotationDatabase. getResolvedAnnotation(java.lang.Object o, boolean getMinimal)NullnessAnnotationINullnessAnnotationDatabase. getResolvedAnnotation(java.lang.Object o, boolean getMinimal)Get a resolved NullnessAnnotation on given XMethod, XField, or XMethodParameter.NullnessAnnotationNullnessAnnotationDatabase. getResolvedAnnotation(java.lang.Object o, boolean getMinimal)java.lang.StringXClass. getSource()ClassDescriptorXClass. getSuperclassDescriptor()Get ClassDescriptor of this class's immediate superclass.AnnotationEnumAnnotationDatabase. getUncachedResolvedAnnotation(java.lang.Object o, boolean getMinimal)XClassXFactory. getXClass(ClassDescriptor classDescriptor)Get the XClass object providing information about the class named by the given ClassDescriptor.static CheckReturnValueAnnotationCheckReturnValueAnnotation. parse(java.lang.String priority)static NullnessAnnotationNullnessAnnotation.Parser. parse(java.lang.String s)Method parameters in edu.umd.cs.findbugs.ba with annotations of type CheckForNull Modifier and Type Method Description static voidClassContext. dumpDataflowInformation(org.apache.bcel.classfile.Method method, CFG cfg, ValueNumberDataflow vnd, IsNullValueDataflow inv, UnconditionalValueDerefDataflow dataflow, TypeDataflow typeDataflow)static voidClassContext. dumpDataflowInformation(org.apache.bcel.classfile.Method method, CFG cfg, ValueNumberDataflow vnd, IsNullValueDataflow inv, UnconditionalValueDerefDataflow dataflow, TypeDataflow typeDataflow)booleanXFactory. isEmptyArrayField(XField f)voidAbstractDataflowAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, Fact start, Fact result)voidAbstractDominatorsAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, java.util.BitSet start, java.util.BitSet result)voidBlockTypeAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, BlockType start, BlockType result)voidDataflowAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, Fact start, Fact result)Transfer function for the analysis. -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.ch
Method parameters in edu.umd.cs.findbugs.ba.ch with annotations of type CheckForNull Modifier and Type Method Description booleanInheritanceGraphVisitor. visitClass(ClassDescriptor classDescriptor, XClass xclass)Visit a class vertex in the inheritance graph.booleanInheritanceGraphVisitor. visitEdge(ClassDescriptor sourceDesc, XClass source, ClassDescriptor targetDesc, XClass target)Visit an inheritance edge in the inheritance graph. -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.deref
Method parameters in edu.umd.cs.findbugs.ba.deref with annotations of type CheckForNull Modifier and Type Method Description static java.util.Set<ValueNumber>UnconditionalValueDerefAnalysis. checkAllNonNullParams(Location location, ValueNumberFrame vnaFrame, org.apache.bcel.generic.ConstantPoolGen constantPool, org.apache.bcel.classfile.Method method, IsNullValueDataflow invDataflow, TypeDataflow typeDataflow)static java.util.Set<ValueNumber>UnconditionalValueDerefAnalysis. checkAllNonNullParams(Location location, ValueNumberFrame vnaFrame, org.apache.bcel.generic.ConstantPoolGen constantPool, org.apache.bcel.classfile.Method method, IsNullValueDataflow invDataflow, TypeDataflow typeDataflow)static java.util.Set<ValueNumber>UnconditionalValueDerefAnalysis. checkNonNullParams(Location location, ValueNumberFrame vnaFrame, org.apache.bcel.generic.ConstantPoolGen constantPool, org.apache.bcel.classfile.Method method, IsNullValueFrame invFrame)static java.util.Set<ValueNumber>UnconditionalValueDerefAnalysis. checkNonNullParams(Location location, ValueNumberFrame vnaFrame, org.apache.bcel.generic.ConstantPoolGen constantPool, org.apache.bcel.classfile.Method method, IsNullValueFrame invFrame)static java.util.Set<ValueNumber>UnconditionalValueDerefAnalysis. checkUnconditionalDerefDatabase(Location location, ValueNumberFrame vnaFrame, org.apache.bcel.generic.ConstantPoolGen constantPool, IsNullValueFrame invFrame, TypeDataflow typeDataflow)voidUnconditionalValueDerefSet. cleanDerefSet(Location location, ValueNumberFrame vnaFrame)voidUnconditionalValueDerefSet. mergeWith(UnconditionalValueDerefSet fact, ValueNumber skipMe, ValueNumberFactory valueNumberFactory)Merge given dataflow fact into this one. -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.generic
Methods in edu.umd.cs.findbugs.ba.generic with annotations of type CheckForNull Modifier and Type Method Description static java.util.Iterator<java.lang.String>GenericSignatureParser. getGenericSignatureIterator(org.apache.bcel.classfile.Method target) -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.jsr305
Fields in edu.umd.cs.findbugs.ba.jsr305 with annotations of type CheckForNull Modifier and Type Field Description java.lang.ObjectTypeQualifierValue. valueMethods in edu.umd.cs.findbugs.ba.jsr305 with annotations of type CheckForNull Modifier and Type Method Description static TypeQualifierAnnotationTypeQualifierAnnotation. combineReturnTypeAnnotations(TypeQualifierAnnotation a, TypeQualifierAnnotation b)Combine return type annotations.static TypeQualifierAnnotationTypeQualifierApplications. getDirectTypeQualifierAnnotation(XMethod xmethod, int parameter, TypeQualifierValue typeQualifierValue)Get the TypeQualifierAnnotation directly applied to given method parameter.static TypeQualifierAnnotationTypeQualifierApplications. getEffectiveTypeQualifierAnnotation(XMethod xmethod, int parameter, TypeQualifierValue typeQualifierValue)Get the effective TypeQualifierAnnotation on given method parameter. -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe with annotations of type CheckForNull Modifier and Type Method Description PointerUsageRequiringNonNullValueUsagesRequiringNonNullValues. get(Location loc, ValueNumber vn, ValueNumberDataflow vnaDataflow)IsNullValueIsNullConditionDecision. getDecision(int edgeType)Get the decision reached about the value on outgoing edge of given type.IsNullConditionDecisionIsNullValueFrame. getDecision()static IsNullValueAnalysis.PointerEqualityCheckIsNullValueAnalysis. getForPointerEqualityCheck(CFG cfg, ValueNumberDataflow vna)IsNullValueIsNullValueFrame. getKnownValue(ValueNumber valueNumber)XFieldPointerUsageRequiringNonNullValue. getNonNullField()XMethodParameterPointerUsageRequiringNonNullValue. getNonNullParameter()XMethodTypeQualifierNullnessAnnotationDatabase. getXMethod(java.lang.String cName, java.lang.String mName, java.lang.String sig, boolean isStatic)Method parameters in edu.umd.cs.findbugs.ba.npe with annotations of type CheckForNull Modifier and Type Method Description voidIsNullValueAnalysis. endTransfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, IsNullValueFrame result)voidIsNullValueFrame. setDecision(IsNullConditionDecision decision)voidIsNullValueAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, IsNullValueFrame start, IsNullValueFrame result)Constructor parameters in edu.umd.cs.findbugs.ba.npe with annotations of type CheckForNull Constructor Description IsNullConditionDecision(ValueNumber value, IsNullValue ifcmpDecision, IsNullValue fallThroughDecision)Constructor.IsNullConditionDecision(ValueNumber value, IsNullValue ifcmpDecision, IsNullValue fallThroughDecision)Constructor.IsNullConditionDecision(ValueNumber value, IsNullValue ifcmpDecision, IsNullValue fallThroughDecision)Constructor. -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.obl
Method parameters in edu.umd.cs.findbugs.ba.obl with annotations of type CheckForNull Modifier and Type Method Description voidObligationAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, StateSet start, StateSet result) -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.type
Method parameters in edu.umd.cs.findbugs.ba.type with annotations of type CheckForNull Modifier and Type Method Description voidTypeAnalysis. transfer(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle end, TypeFrame start, TypeFrame result) -
Uses of CheckForNull in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna with annotations of type CheckForNull Modifier and Type Method Description AvailableLoadValueNumberFrame. getLoad(ValueNumber v)Method parameters in edu.umd.cs.findbugs.ba.vna with annotations of type CheckForNull Modifier and Type Method Description voidValueNumberFrame. killAllLoadsExceptFor(ValueNumber v)voidValueNumberFrame. killAllLoadsOf(ValueNumber v)Kill all loads. -
Uses of CheckForNull in edu.umd.cs.findbugs.classfile
Methods in edu.umd.cs.findbugs.classfile with annotations of type CheckForNull Modifier and Type Method Description static ClassDescriptorDescriptorFactory. createClassDescriptorFromFieldSignature(java.lang.String signature)Create a class descriptor from a field signaturestatic ClassDescriptorClassDescriptor. fromFieldSignature(java.lang.String signature)Deprecated.Method parameters in edu.umd.cs.findbugs.classfile with annotations of type CheckForNull Modifier and Type Method Description static java.lang.StringDescriptorFactory. canonicalizeString(java.lang.String s) -
Uses of CheckForNull in edu.umd.cs.findbugs.classfile.analysis
Methods in edu.umd.cs.findbugs.classfile.analysis with annotations of type CheckForNull Modifier and Type Method Description AnnotatedObjectAnnotatedObject. getContainingScope()AnnotatedObjectClassInfo. getContainingScope()AnnotatedObjectFieldInfo. getContainingScope()AnnotatedObjectMethodInfo. getContainingScope()AnnotatedObjectClassInfo. getContainingScope0()java.lang.StringClassInfo. getSource()java.lang.String[]MethodInfo. getThrownExceptions() -
Uses of CheckForNull in edu.umd.cs.findbugs.classfile.engine
Constructor parameters in edu.umd.cs.findbugs.classfile.engine with annotations of type CheckForNull Constructor Description ClassParser(java.io.DataInputStream in, ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)Constructor.ClassParserUsingASM(org.objectweb.asm.ClassReader classReader, ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)ClassParserUsingBCEL(org.apache.bcel.classfile.JavaClass javaClass, ClassDescriptor expectedClassDescriptor, ICodeBaseEntry codeBaseEntry)Deprecated. -
Uses of CheckForNull in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect with annotations of type CheckForNull Modifier and Type Method Description static XMethodNaming. definedIn(org.apache.bcel.classfile.JavaClass clazz, XMethod m)Constructor parameters in edu.umd.cs.findbugs.detect with annotations of type CheckForNull Constructor Description BuildNonNullAnnotationDatabase(NullnessAnnotationDatabase database) -
Uses of CheckForNull in edu.umd.cs.findbugs.filter
Fields in edu.umd.cs.findbugs.filter with annotations of type CheckForNull Modifier and Type Field Description protected java.lang.StringMemberMatcher. signature -
Uses of CheckForNull in edu.umd.cs.findbugs.gui2
Methods in edu.umd.cs.findbugs.gui2 with annotations of type CheckForNull Modifier and Type Method Description protected java.lang.StringCommentsArea. convertDesignationNameToDesignationKey(java.lang.String name)static BugCollectionBugLoader. doAnalysis(Project p)Does what it says it does, hit apple r (control r on pc) and the analysis is redone using the current projectstatic SortedBugCollectionBugLoader. loadBugs(MainFrame mainFrame, Project project, java.io.File source)static SortedBugCollectionBugLoader. loadBugs(MainFrame mainFrame, Project project, java.net.URL url)static ProjectBugLoader. loadProject(MainFrame mainFrame, java.io.File f)static BugCollectionBugLoader. redoAnalysisKeepComments(Project p)Does what it says it does, hit apple r (control r on pc) and the analysis is redone using the current projectMethod parameters in edu.umd.cs.findbugs.gui2 with annotations of type CheckForNull Modifier and Type Method Description static voidFilterActivity. notifyListeners(FilterListener.Action whatsGoingOnCode, javax.swing.tree.TreePath optionalPath) -
Uses of CheckForNull in edu.umd.cs.findbugs.sourceViewer
Methods in edu.umd.cs.findbugs.sourceViewer with annotations of type CheckForNull Modifier and Type Method Description java.awt.ColorHighlightInformation. getHighlight(java.lang.Integer line) -
Uses of CheckForNull in edu.umd.cs.findbugs.util
Methods in edu.umd.cs.findbugs.util with annotations of type CheckForNull Modifier and Type Method Description static java.lang.StringClassName. fromFieldSignature(java.lang.String signature)Method parameters in edu.umd.cs.findbugs.util with annotations of type CheckForNull Modifier and Type Method Description static <T extends java.lang.Comparable<? super T>>
intUtil. nullSafeCompareTo(T o1, T o2)static <T extends java.lang.Comparable<? super T>>
intUtil. nullSafeCompareTo(T o1, T o2)static <T> booleanUtil. nullSafeEquals(T o1, T o2)static <T> booleanUtil. nullSafeEquals(T o1, T o2)static intUtil. nullSafeHashcode(java.lang.Object o) -
Uses of CheckForNull in edu.umd.cs.findbugs.visitclass
Methods in edu.umd.cs.findbugs.visitclass with annotations of type CheckForNull Modifier and Type Method Description static org.apache.bcel.classfile.JavaClassUtil. getOuterClass(org.apache.bcel.classfile.JavaClass obj)Determine the outer class of obj.XClassDismantleBytecode. getXClassOperand()XFieldDismantleBytecode. getXFieldOperand()XMethodDismantleBytecode. getXMethodOperand()Method parameters in edu.umd.cs.findbugs.visitclass with annotations of type CheckForNull Modifier and Type Method Description static intUtil. getSizeOfSurroundingTryBlock(org.apache.bcel.classfile.ConstantPool constantPool, org.apache.bcel.classfile.Code code, java.lang.String vmNameOfExceptionClass, int pc)static intUtil. getSizeOfSurroundingTryBlock(org.apache.bcel.classfile.Method method, java.lang.String vmNameOfExceptionClass, int pc) -
Uses of CheckForNull in edu.umd.cs.findbugs.xml
Method parameters in edu.umd.cs.findbugs.xml with annotations of type CheckForNull Modifier and Type Method Description XMLAttributeListXMLAttributeList. addOptionalAttribute(java.lang.String name, java.lang.String value)Add a single attribute name and value.
-