Uses of Interface
edu.umd.cs.findbugs.BugAnnotation
-
Packages that use BugAnnotation 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.npe edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.gui2 edu.umd.cs.findbugs.sarif The package providing aBugReporterimplementation which produces report in SARIF format.edu.umd.cs.findbugs.workflow -
-
Uses of BugAnnotation in edu.umd.cs.findbugs
Classes in edu.umd.cs.findbugs that implement BugAnnotation Modifier and Type Class Description classBugAnnotationWithSourceLinesclassClassAnnotationA BugAnnotation object specifying a Java class involved in the bug.classFieldAnnotationA BugAnnotation specifying a particular field in particular class.classIntAnnotationBug annotation class for integer values.classLocalVariableAnnotationBug annotation class for local variable namesclassMethodAnnotationA BugAnnotation specifying a particular method in a particular class.classPackageMemberAnnotationAbstract base class for BugAnnotations describing constructs which are contained in a Java package.classSourceLineAnnotationA BugAnnotation that records a range of source lines in a class.classStringAnnotationBug annotation class for string values.classTypeAnnotationBug annotation class for java types.Fields in edu.umd.cs.findbugs declared as BugAnnotation Modifier and Type Field Description (package private) BugAnnotationFuzzyBugComparator.FilteringBugAnnotationIterator. nextprivate BugAnnotationVersionInsensitiveBugComparator.FilteringAnnotationIterator. nextFields in edu.umd.cs.findbugs with type parameters of type BugAnnotation Modifier and Type Field Description private java.util.ArrayList<BugAnnotation>BugInstance. annotationList(package private) java.util.Iterator<BugAnnotation>FuzzyBugComparator.FilteringBugAnnotationIterator. iterprivate java.util.Iterator<BugAnnotation>VersionInsensitiveBugComparator.FilteringAnnotationIterator. iterMethods in edu.umd.cs.findbugs with type parameters of type BugAnnotation Modifier and Type Method Description private <T extends BugAnnotation>
TBugInstance. findPrimaryAnnotationOfType(java.lang.Class<T> cls)Find the first BugAnnotation in the list of annotations that is the same type or a subtype as the given Class parameter.<A extends BugAnnotation>
ABugInstance. getAnnotationWithRole(java.lang.Class<A> c, java.lang.String role)Get the first bug annotation with the specified class and role; return null if no such annotation exists;Methods in edu.umd.cs.findbugs that return BugAnnotation Modifier and Type Method Description static BugAnnotationBugInstance. getFieldOrMethodValueSource(OpcodeStack.Item item)static BugAnnotationBugInstance. getSomeSource(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, OpcodeStack stack, int stackPos)static BugAnnotationBugInstance. getSourceForStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int depth)static BugAnnotationBugInstance. getSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)static BugAnnotationBugInstance. getValueSource(OpcodeStack.Item item, org.apache.bcel.classfile.Method method, int pc)BugAnnotationFuzzyBugComparator.FilteringBugAnnotationIterator. next()BugAnnotationVersionInsensitiveBugComparator.FilteringAnnotationIterator. next()Methods in edu.umd.cs.findbugs that return types with arguments of type BugAnnotation Modifier and Type Method Description java.util.Iterator<BugAnnotation>BugInstance. annotationIterator()Get an Iterator over all bug annotations.java.util.List<BugAnnotation>BugInstance. getAnnotations()Get an Iterator over all bug annotations.java.util.List<BugAnnotation>BugInstance. getAnnotationsForMessage(boolean showContext)Methods in edu.umd.cs.findbugs with parameters of type BugAnnotation Modifier and Type Method Description BugInstanceBugInstance. add(BugAnnotation annotation)private voidBugInstance. addJavaAnnotationNames(BugAnnotation annotation)BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation)BugInstanceBugInstance. addOptionalAnnotation(BugAnnotation annotation, java.lang.String role)BugInstanceBugInstance. addOptionalUniqueAnnotations(BugAnnotation... annotations)BugInstanceBugInstance. addOptionalUniqueAnnotationsWithFallback(BugAnnotation fallback, BugAnnotation... annotations)intClassAnnotation. compareTo(BugAnnotation o)intFieldAnnotation. compareTo(BugAnnotation o)intIntAnnotation. compareTo(BugAnnotation o)intLocalVariableAnnotation. compareTo(BugAnnotation o)intMethodAnnotation. compareTo(BugAnnotation o)intSourceLineAnnotation. compareTo(BugAnnotation o)intStringAnnotation. compareTo(BugAnnotation o)intTypeAnnotation. compareTo(BugAnnotation o)java.lang.StringFindBugsMessageFormat. format(BugAnnotation[] args, ClassAnnotation primaryClass)java.lang.StringFindBugsMessageFormat. format(BugAnnotation[] args, ClassAnnotation primaryClass, boolean abridgedMessages)Format the message using the given array of BugAnnotations as arguments to bind to the placeholders in the pattern string.static booleanFuzzyBugComparator. ignore(BugAnnotation annotation)private booleanVersionInsensitiveBugComparator. isBoring(BugAnnotation annotation)private voidBugInstance. optionalAdd(java.util.Collection<BugAnnotation> c, BugAnnotation a)private voidSAXBugCollectionHandler. setAnnotationRole(org.xml.sax.Attributes attributes, BugAnnotation bugAnnotation)booleanBugInstance. tryAddingOptionalUniqueAnnotations(BugAnnotation... annotations)static voidBugAnnotationUtil. writeXML(XMLOutput xmlOutput, java.lang.String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages)Write a BugAnnotation as XML.Method parameters in edu.umd.cs.findbugs with type arguments of type BugAnnotation Modifier and Type Method Description BugInstanceBugInstance. addAnnotations(java.util.Collection<? extends BugAnnotation> annotationCollection)Add a Collection of BugAnnotations.private booleanVersionInsensitiveBugComparator. interestingNext(java.util.Iterator<BugAnnotation> i)private voidBugInstance. optionalAdd(java.util.Collection<BugAnnotation> c, BugAnnotation a)Constructor parameters in edu.umd.cs.findbugs with type arguments of type BugAnnotation Constructor Description FilteringAnnotationIterator(java.util.Iterator<BugAnnotation> iter)FilteringBugAnnotationIterator(java.util.Iterator<BugAnnotation> iter) -
Uses of BugAnnotation in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that return BugAnnotation Modifier and Type Method Description static BugAnnotationNullDerefAndRedundantComparisonFinder. findAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame)Methods in edu.umd.cs.findbugs.ba.npe with parameters of type BugAnnotation Modifier and Type Method Description voidNullDerefAndRedundantComparisonCollector. 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)Subclasses should override this method to capture values assigned null (or that become null through a comparison and branch) that are guaranteed to reach a dereference (ignoring implicit exception paths). -
Uses of BugAnnotation in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that return BugAnnotation Modifier and Type Method Description static BugAnnotationValueNumberSourceInfo. findAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame, java.lang.String partialRole)static BugAnnotationValueNumberSourceInfo. findRequiredAnnotationFromValueNumber(org.apache.bcel.classfile.Method method, Location location, ValueNumber valueNumber, ValueNumberFrame vnaFrame, java.lang.String partialRole)static BugAnnotationValueNumberSourceInfo. getFromValueNumber(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int stackPos) -
Uses of BugAnnotation in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect with type parameters of type BugAnnotation Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<BugAnnotation>>UnreadFields. anonymousClassAnnotationMethods in edu.umd.cs.findbugs.detect that return BugAnnotation Modifier and Type Method Description (package private) BugAnnotationFindNullDeref. getVariableAnnotation(Location location)Methods in edu.umd.cs.findbugs.detect with parameters of type BugAnnotation 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)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)private voidFindNullDeref. reportNullDeref(WarningPropertySet<WarningProperty> propertySet, Location location, java.lang.String type, int priority, BugAnnotation variable)private voidNoiseNullDeref. reportNullDeref(WarningPropertySet<WarningProperty> propertySet, Location location, java.lang.String type, int priority, BugAnnotation cause, BugAnnotation variable) -
Uses of BugAnnotation in edu.umd.cs.findbugs.gui2
Methods in edu.umd.cs.findbugs.gui2 with parameters of type BugAnnotation Modifier and Type Method Description (package private) java.awt.ComponentMainFrameComponentFactory. bugSummaryComponent(BugAnnotation value, BugInstance bug) -
Uses of BugAnnotation in edu.umd.cs.findbugs.sarif
Methods in edu.umd.cs.findbugs.sarif with parameters of type BugAnnotation Modifier and Type Method Description (package private) static java.lang.StringLocation.LogicalLocation. findKind(BugAnnotation annotation)Method parameters in edu.umd.cs.findbugs.sarif with type arguments of type BugAnnotation Modifier and Type Method Description (package private) java.lang.StringPlaceholder. toArgument(java.util.List<? extends BugAnnotation> bugAnnotations, ClassAnnotation primaryClass) -
Uses of BugAnnotation in edu.umd.cs.findbugs.workflow
Methods in edu.umd.cs.findbugs.workflow with parameters of type BugAnnotation Modifier and Type Method Description private voidCopyBuggySource. copySourceForAnnotation(BugAnnotation ann)
-