Uses of Class
edu.umd.cs.findbugs.annotations.NonNull
-
Packages that use NonNull 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.jsr305 Support for analyzing code containing JSR-305 type qualifier annotations.edu.umd.cs.findbugs.ba.npe edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.filter edu.umd.cs.findbugs.gui2 edu.umd.cs.findbugs.visitclass edu.umd.cs.findbugs.xml -
-
Uses of NonNull in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs with annotations of type NonNull Modifier and Type Method Description java.lang.StringBugInstance. getAnnotationText()Get the user annotation text.BugPatternBugInstance. getBugPattern()Get the BugPattern.java.lang.StringI18N. getBugTypeDescription(java.lang.String shortBugType)Get a description for given "bug type".java.lang.StringBugDesignation. getDesignationKey()return the user designation E.g., "MOSTLY_HARMLESS", "CRITICAL", "NOT_A_BUG", etc.java.lang.StringI18N. getDetailHTML(java.lang.String key)Get an HTML document describing the bug pattern for given key in detail.java.lang.StringI18N. getMessage(java.lang.String key)Deprecated.BugDesignationBugInstance. getNonnullUserDesignation()Deprecated.java.lang.StringI18N. getShortMessage(java.lang.String key)Get a short message string.java.lang.StringI18N. getShortMessageWithoutCode(java.lang.String key)java.lang.StringBugInstance. getUserDesignationKey()Get the user designation key.intBugInstance. getUserDesignationKeyIndex()Method parameters in edu.umd.cs.findbugs with annotations of type NonNull Modifier and Type Method Description BugInstanceBugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle handle)Add a source line annotation for the given instruction in the given method.static SourceLineAnnotationSourceLineAnnotation. fromVisitedInstruction(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle handle)Factory method for creating a source line annotation describing the source line number for a visited instruction.voidBugReporter. reportBug(BugInstance bugInstance)Report a bug.Constructor parameters in edu.umd.cs.findbugs with annotations of type NonNull Constructor Description SourceLineAnnotation(java.lang.String className, java.lang.String sourceFile, int startLine, int endLine, int startBytecode, int endBytecode)Constructor.SourceLineAnnotation(java.lang.String className, java.lang.String sourceFile, int startLine, int endLine, int startBytecode, int endBytecode)Constructor. -
Uses of NonNull in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with annotations of type NonNull Modifier and Type Method Description org.apache.bcel.generic.ConstantPoolGenClassContext. getConstantPoolGen()Get the ConstantPoolGen used to create the MethodGens for this class.java.lang.IntegerSourceInfoMap.SourceLineRange. getEnd()static java.util.Set<java.lang.Integer>ClassContext. getLoopExitBranches(org.apache.bcel.classfile.Method method, org.apache.bcel.generic.MethodGen methodGen)java.util.List<org.apache.bcel.classfile.Method>ClassContext. getMethodsInCallOrder()static IncompatibleTypesIncompatibleTypes. getPriorityForAssumingCompatible(GenericObjectType genericType, org.apache.bcel.generic.Type plainType)static IncompatibleTypesIncompatibleTypes. getPriorityForAssumingCompatible(org.apache.bcel.generic.ObjectType expectedType, org.apache.bcel.generic.ObjectType actualType, boolean pointerEquality)static IncompatibleTypesIncompatibleTypes. getPriorityForAssumingCompatible(org.apache.bcel.generic.Type lhsType, org.apache.bcel.generic.Type rhsType)static IncompatibleTypesIncompatibleTypes. getPriorityForAssumingCompatible(org.apache.bcel.generic.Type expectedType, org.apache.bcel.generic.Type actualType, boolean pointerEquality)java.lang.IntegerSourceInfoMap.SourceLineRange. getStart()static java.util.Set<XMethod>Hierarchy2. resolveMethodCallTargets(org.apache.bcel.generic.InvokeInstruction invokeInstruction, TypeFrame typeFrame, org.apache.bcel.generic.ConstantPoolGen cpg)Resolve possible method call targets.Method parameters in edu.umd.cs.findbugs.ba with annotations of type NonNull Modifier and Type Method Description static CFGBuilderCFGBuilderFactory. create(org.apache.bcel.generic.MethodGen methodGen)Create a CFGBuilder to build a CFG for given method.org.apache.bcel.classfile.JavaClassURLClassPathRepository. findClass(java.lang.String className)static XFieldHierarchy. findXField(org.apache.bcel.generic.FieldInstruction fins, org.apache.bcel.generic.ConstantPoolGen cpg)Look up the field referenced by given FieldInstruction, returning it as anXFieldobject.static LocationLocation. getFirstLocation(BasicBlock basicBlock)static LocationLocation. getLastLocation(BasicBlock basicBlock)org.apache.bcel.classfile.JavaClassURLClassPathRepository. loadClass(java.lang.String className)org.apache.bcel.classfile.JavaClassAnalysisContext. lookupClass(ClassDescriptor classDescriptor)Lookup a class.abstract org.apache.bcel.classfile.JavaClassAnalysisContext. lookupClass(java.lang.String className)Lookup a class.java.lang.StringAnalysisContext. lookupSourceFile(java.lang.String dottedClassName)Lookup a class's source filestatic org.apache.bcel.classfile.JavaClassAnalysisContext. lookupSystemClass(java.lang.String className)This is equivalent to Repository.lookupClass() or this.lookupClass(), except it uses the original Repository instead of the current one.voidAnalysisContext. setClassSummary(ClassSummary classSummary)voidAnalysisContext. setFieldSummary(FieldSummary fieldSummary)voidAnalysisContext. setUnreadFields(UnreadFields unreadFields)Constructor parameters in edu.umd.cs.findbugs.ba with annotations of type NonNull Constructor Description BetterCFGBuilder2(org.apache.bcel.generic.MethodGen methodGen)Constructor.Location(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock)Constructor.Location(org.apache.bcel.generic.InstructionHandle handle, BasicBlock basicBlock)Constructor.SourceLineRange(java.lang.Integer line)Constructor for a single line.SourceLineRange(java.lang.Integer start, java.lang.Integer end)Constructor for a range of lines.SourceLineRange(java.lang.Integer start, java.lang.Integer end)Constructor for a range of lines. -
Uses of NonNull in edu.umd.cs.findbugs.ba.jsr305
Methods in edu.umd.cs.findbugs.ba.jsr305 with annotations of type NonNull Modifier and Type Method Description static TypeQualifierAnnotationTypeQualifierAnnotation. combineParameterAnnotations(TypeQualifierAnnotation a, TypeQualifierAnnotation b)static TypeQualifierAnnotationTypeQualifierAnnotation. getValue(TypeQualifierValue desc, javax.annotation.meta.When when)static TypeQualifierValueTypeQualifierValue. getValue(ClassDescriptor desc, java.lang.Object value)Given a ClassDescriptor/value pair, return the interned TypeQualifierValue representing that pair.static java.util.Collection<TypeQualifierAnnotation>TypeQualifierAnnotation. getValues(java.util.Map<TypeQualifierValue,javax.annotation.meta.When> map) -
Uses of NonNull in edu.umd.cs.findbugs.ba.npe
Method parameters in edu.umd.cs.findbugs.ba.npe with annotations of type NonNull Modifier and Type Method Description 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.voidIsNullValueFrame. setKnownValue(ValueNumber valueNumber, IsNullValue knownValue)voidIsNullValueFrame. setKnownValue(ValueNumber valueNumber, IsNullValue knownValue) -
Uses of NonNull in edu.umd.cs.findbugs.ba.vna
Method parameters in edu.umd.cs.findbugs.ba.vna with annotations of type NonNull Modifier and Type Method Description voidValueNumberFrame. addAvailableLoad(AvailableLoad availableLoad, ValueNumber[] value)Add an available load. -
Uses of NonNull in edu.umd.cs.findbugs.detect
Method parameters in edu.umd.cs.findbugs.detect with annotations of type NonNull Modifier and Type Method Description voidFindNullDeref. foundGuaranteedNullDeref(java.util.Set<Location> assignedNullLocationSet, java.util.Set<Location> derefLocationSet, java.util.SortedSet<Location> doomedLocations, ValueNumberDataflow vna, ValueNumber refValue, BugAnnotation variableAnnotation, NullValueUnconditionalDeref deref, boolean npeIfStatementCovered)voidFindNullDeref. foundGuaranteedNullDeref(java.util.Set<Location> assignedNullLocationSet, java.util.Set<Location> derefLocationSet, java.util.SortedSet<Location> doomedLocations, ValueNumberDataflow vna, ValueNumber refValue, BugAnnotation variableAnnotation, NullValueUnconditionalDeref deref, boolean npeIfStatementCovered)voidNoiseNullDeref. foundGuaranteedNullDeref(java.util.Set<Location> assignedNullLocationSet, java.util.Set<Location> derefLocationSet, java.util.SortedSet<Location> doomedLocations, ValueNumberDataflow vna, ValueNumber refValue, BugAnnotation variableAnnotation, NullValueUnconditionalDeref deref, boolean npeIfStatementCovered)voidNoiseNullDeref. foundGuaranteedNullDeref(java.util.Set<Location> assignedNullLocationSet, java.util.Set<Location> derefLocationSet, java.util.SortedSet<Location> doomedLocations, ValueNumberDataflow vna, ValueNumber refValue, BugAnnotation variableAnnotation, NullValueUnconditionalDeref deref, boolean npeIfStatementCovered) -
Uses of NonNull in edu.umd.cs.findbugs.filter
Constructor parameters in edu.umd.cs.findbugs.filter with annotations of type NonNull Constructor Description VersionMatcher(long version, RelationalOp relOp) -
Uses of NonNull in edu.umd.cs.findbugs.gui2
Method parameters in edu.umd.cs.findbugs.gui2 with annotations of type NonNull Modifier and Type Method Description 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 BugCollectionBugLoader. doAnalysis(Project p, FindBugsProgress progressCallback)Performs an analysis and returns the BugSet createdstatic 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 projectConstructor parameters in edu.umd.cs.findbugs.gui2 with annotations of type NonNull Constructor Description AnalyzingDialog(Project project, boolean changeSettings)AnalyzingDialog(Project project, AnalysisCallback callback, boolean joinThread) -
Uses of NonNull in edu.umd.cs.findbugs.visitclass
Method parameters in edu.umd.cs.findbugs.visitclass with annotations of type NonNull Modifier and Type Method Description static org.apache.bcel.classfile.LocalVariableLVTHelper. getLocalVariableAtPC(org.apache.bcel.classfile.LocalVariableTable lvt, int index, int pc)returns the local variable at an index int the scope of PC -
Uses of NonNull in edu.umd.cs.findbugs.xml
Method parameters in edu.umd.cs.findbugs.xml with annotations of type NonNull Modifier and Type Method Description XMLAttributeListXMLAttributeList. addAttribute(java.lang.String name, java.lang.String value)Add a single attribute name and value.XMLAttributeListXMLAttributeList. addAttribute(java.lang.String name, java.lang.String value)Add a single attribute name and value.XMLAttributeListXMLAttributeList. addOptionalAttribute(java.lang.String name, java.lang.String value)Add a single attribute name and value.static java.lang.StringXMLAttributeList. getQuotedAttributeValue(java.lang.String rawValue)Return a properly quoted form for an attribute value.Constructor parameters in edu.umd.cs.findbugs.xml with annotations of type NonNull Constructor Description QuoteMetaCharacters(java.lang.String text, MetaCharacterMap map)Constructor.QuoteMetaCharacters(java.lang.String text, MetaCharacterMap map)Constructor.
-