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.annotations Annotations for FindBugs (mostly deprecated except forSuppressFBWarnings
).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.config edu.umd.cs.findbugs.cwe edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.io edu.umd.cs.findbugs.log edu.umd.cs.findbugs.sarif The package providing aBugReporter
implementation which produces report in SARIF format. -
-
Uses of NonNull in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs with annotations of type NonNull Modifier and Type Field Description private BugReporter
SynchronizedBugReporter. delegate
private java.util.List<TextUIBugReporter>
BugReportDispatcher. reporters
Methods in edu.umd.cs.findbugs with annotations of type NonNull Modifier and Type Method Description private static <T> java.util.stream.Stream<T>
ByteCodePatternDetector. createStream(java.util.Iterator<T> iter)
Method parameters in edu.umd.cs.findbugs with annotations of type NonNull Modifier and Type Method Description private static <T> java.util.stream.Stream<T>
ByteCodePatternDetector. createStream(java.util.Iterator<T> iter)
void
BugReportDispatcher. reportBug(BugInstance bugInstance)
Constructor parameters in edu.umd.cs.findbugs with annotations of type NonNull Constructor Description FindBugs2(java.util.concurrent.ExecutorService service)
SynchronizedBugReporter(BugReporter delegate)
-
Uses of NonNull in edu.umd.cs.findbugs.annotations
Methods in edu.umd.cs.findbugs.annotations with annotations of type NonNull Modifier and Type Method Description static Confidence
Confidence. getConfidence(int prio)
Given a numeric confidence value, report the corresponding confidence enum value -
Uses of NonNull in edu.umd.cs.findbugs.ba
Method parameters in edu.umd.cs.findbugs.ba with annotations of type NonNull Modifier and Type Method Description static CheckReturnValueAnnotation
CheckReturnValueAnnotation. createFor(javax.annotation.meta.When when)
-
Uses of NonNull in edu.umd.cs.findbugs.config
Fields in edu.umd.cs.findbugs.config with annotations of type NonNull Modifier and Type Field Description (package private) java.lang.String
CommandLine.Option. extraPart
(package private) java.lang.String
CommandLine.Option. option
Methods in edu.umd.cs.findbugs.config with annotations of type NonNull Modifier and Type Method Description (package private) static CommandLine.Option
CommandLine. splitOption(java.lang.String option)
Constructor parameters in edu.umd.cs.findbugs.config with annotations of type NonNull Constructor Description Option(java.lang.String option, java.lang.String extraPart)
Option(java.lang.String option, java.lang.String extraPart)
-
Uses of NonNull in edu.umd.cs.findbugs.cwe
Method parameters in edu.umd.cs.findbugs.cwe with annotations of type NonNull Modifier and Type Method Description static Weakness
Weakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)
Creates a new immutable instance of a weaknessstatic Weakness
Weakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)
Creates a new immutable instance of a weaknessstatic Weakness
Weakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)
Creates a new immutable instance of a weaknessstatic Weakness
Weakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)
Creates a new immutable instance of a weakness -
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 static boolean
FindNullDeref. isGeneratedCodeInCatchBlock(org.apache.bcel.classfile.Method method, int pc)
Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
FindNullDeref. isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, int pc, org.apache.bcel.classfile.LineNumberTable lineNumberTable, int line, org.apache.bcel.generic.InstructionList instructions, java.util.List<org.apache.bcel.classfile.CodeException> throwables)
Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
FindNullDeref. isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, int pc, org.apache.bcel.classfile.LineNumberTable lineNumberTable, int line, org.apache.bcel.generic.InstructionList instructions, java.util.List<org.apache.bcel.classfile.CodeException> throwables)
Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
FindNullDeref. isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, int pc, org.apache.bcel.classfile.LineNumberTable lineNumberTable, int line, org.apache.bcel.generic.InstructionList instructions, java.util.List<org.apache.bcel.classfile.CodeException> throwables)
Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
FindNullDeref. isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, int pc, org.apache.bcel.classfile.LineNumberTable lineNumberTable, int line, org.apache.bcel.generic.InstructionList instructions, java.util.List<org.apache.bcel.classfile.CodeException> throwables)
Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
ConstructorThrow. isHandled(org.apache.bcel.classfile.JavaClass thrownEx, java.lang.String caughtEx)
Checks if the thrown Exception is handled by the caught Exception. -
Uses of NonNull in edu.umd.cs.findbugs.io
Methods in edu.umd.cs.findbugs.io with annotations of type NonNull Modifier and Type Method Description static java.net.URLConnection
IO. openNonCachedConnection(java.net.URL u)
When URL Connection uses cache, it may keep file handler.static java.io.InputStream
IO. openNonCachedStream(java.net.URL u)
When URL Connection uses cache, it may keep file handler.Method parameters in edu.umd.cs.findbugs.io with annotations of type NonNull Modifier and Type Method Description static java.net.URLConnection
IO. openNonCachedConnection(java.net.URL u)
When URL Connection uses cache, it may keep file handler.static java.io.InputStream
IO. openNonCachedStream(java.net.URL u)
When URL Connection uses cache, it may keep file handler. -
Uses of NonNull in edu.umd.cs.findbugs.log
Methods in edu.umd.cs.findbugs.log with annotations of type NonNull Modifier and Type Method Description (package private) java.util.Collection<Profiler.Profile>
Profiler. getProfiles()
(package private) java.util.Set<java.lang.Class<?>>
Profiler. getTargetClasses()
Method parameters in edu.umd.cs.findbugs.log with annotations of type NonNull Modifier and Type Method Description (package private) boolean
Profiler. contains(java.lang.Class<?> targetClass)
void
ProfileSummary. writeXML(XMLOutput xmlOutput)
Constructor parameters in edu.umd.cs.findbugs.log with annotations of type NonNull Constructor Description ProfileSummary(Profiler... profilers)
-
Uses of NonNull in edu.umd.cs.findbugs.sarif
Fields in edu.umd.cs.findbugs.sarif with annotations of type NonNull Modifier and Type Field Description (package private) java.util.List<java.lang.String>
Message. arguments
(package private) Location.ArtifactLocation
Location.PhysicalLocation. artifactLocation
private java.util.Map<java.net.URI,java.lang.String>
BugCollectionAnalyser. baseToId
Map baseURI to uriBaseId.(package private) int
Rule. cweid
(package private) java.lang.String
Rule. defaultText
private java.lang.String
Invocation. exitCodeDescription
(package private) java.lang.String
Rule. fullDescription
(package private) java.lang.String
Notification. id
(package private) java.lang.String
Rule. id
private java.util.List<java.util.List<Placeholder>>
BugCollectionAnalyser. indexToPlaceholders
(package private) java.util.List<SarifException>
SarifException. innerExceptions
(package private) java.lang.String
Placeholder. key
Key to formattingBugAnnotation
.(package private) java.lang.String
Location.LogicalLocation. kind
(package private) java.lang.String
SarifException. kind
(package private) Level
Notification. level
(package private) Level
Result. level
(package private) Location
Stack.StackFrame. location
private java.util.List<Location.LogicalLocation>
Location. logicalLocations
(package private) java.lang.String
Notification. message
(package private) java.lang.String
SarifException. message
(package private) java.lang.String
Extension. name
(package private) java.lang.String
Location.LogicalLocation. name
(package private) java.util.Map<java.lang.String,java.lang.String>
Location.LogicalLocation. properties
private java.util.List<Result>
BugCollectionAnalyser. results
private java.util.List<Rule>
BugCollectionAnalyser. rules
(package private) java.lang.String
Rule. shortDescription
(package private) Stack
SarifException. stack
(package private) java.util.List<java.lang.String>
Rule. tags
private java.util.SortedSet<Taxon>
BugCollectionAnalyser. taxa
private java.util.List<Notification>
Invocation. toolConfigurationNotifications
private java.util.List<Notification>
Invocation. toolExecutionNotifications
private java.util.Map<java.lang.String,java.lang.Integer>
BugCollectionAnalyser. typeToIndex
(package private) java.net.URI
Location.ArtifactLocation. uri
(package private) java.lang.String
Extension. version
Methods in edu.umd.cs.findbugs.sarif with annotations of type NonNull Modifier and Type Method Description (package private) static java.util.Optional<Location.LogicalLocation>
Location.LogicalLocation. fromBugInstance(BugInstance bugInstance)
(package private) static Rule
Rule. fromBugPattern(BugPattern bugPattern, java.lang.String formattedMessage)
(package private) static Level
Level. fromBugRank(int bugRank)
(package private) static Location.LogicalLocation
Location.LogicalLocation. fromStackTraceElement(java.lang.StackTraceElement element)
(package private) static SarifException
SarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Level
Level. fromWeaknessSeverity(WeaknessSeverity severity)
(package private) com.google.gson.JsonObject
BugCollectionAnalyser. getOriginalUriBaseIds()
(package private) java.lang.String
Placeholder. toArgument(java.util.List<? extends BugAnnotation> bugAnnotations, ClassAnnotation primaryClass)
(package private) com.google.gson.JsonObject
Invocation. toJsonObject()
Method parameters in edu.umd.cs.findbugs.sarif with annotations of type NonNull Modifier and Type Method Description private void
SarifBugReporter. addSupportedTaxonomies(com.google.gson.stream.JsonWriter jsonWriter)
(package private) static java.lang.String
Location.LogicalLocation. findKind(BugAnnotation annotation)
private static Location.PhysicalLocation
Location. findPhysicalLocation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
private static Location.PhysicalLocation
Location. findPhysicalLocation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
private static java.util.Optional<Location.PhysicalLocation>
Location. findPhysicalLocation(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
private static java.util.Optional<Location.PhysicalLocation>
Location. findPhysicalLocation(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) java.lang.String
MessageFormat. format(java.util.function.BiFunction<java.lang.Integer,java.lang.String,java.lang.String> handler)
static Taxon
Taxon. from(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Create a new taxon element (see: §3.19.3).static Taxon
Taxon. from(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Create a new taxon element (see: §3.19.3).static Taxon
Taxon. from(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Create a new taxon element (see: §3.19.3).static Taxon
Taxon. from(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Create a new taxon element (see: §3.19.3).static Taxon
Taxon. from(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Create a new taxon element (see: §3.19.3).(package private) static java.util.Optional<Location.ArtifactLocation>
Location.ArtifactLocation. fromBugAnnotation(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location.ArtifactLocation>
Location.ArtifactLocation. fromBugAnnotation(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location.ArtifactLocation>
Location.ArtifactLocation. fromBugAnnotation(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location.ArtifactLocation>
Location.ArtifactLocation. fromBugAnnotation(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location.PhysicalLocation>
Location.PhysicalLocation. fromBugAnnotation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location>
Location. fromBugInstance(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location>
Location. fromBugInstance(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location>
Location. fromBugInstance(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static java.util.Optional<Location.LogicalLocation>
Location.LogicalLocation. fromBugInstance(BugInstance bugInstance)
(package private) static Notification
Notification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Notification
Notification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Notification
Notification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
static java.util.UUID
GUIDCalculator. fromNamespaceAndString(java.util.UUID namespace, java.lang.String name)
Returns a UUID version 5 based on RFC 4122 (see: https://www.ietf.org/rfc/rfc4122.txt).static java.util.UUID
GUIDCalculator. fromNamespaceAndString(java.util.UUID namespace, java.lang.String name)
Returns a UUID version 5 based on RFC 4122 (see: https://www.ietf.org/rfc/rfc4122.txt).(package private) static Extension
Extension. fromPlugin(Plugin plugin)
(package private) static Location
Location. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Location
Location. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Location
Location. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Location.LogicalLocation
Location.LogicalLocation. fromStackTraceElement(java.lang.StackTraceElement element)
(package private) static Stack.StackFrame
Stack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Stack.StackFrame
Stack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Stack.StackFrame
Stack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
static java.util.UUID
GUIDCalculator. fromString(java.lang.String name)
UUID version 5, but without using a namespace.(package private) static SarifException
SarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static SarifException
SarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static SarifException
SarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Stack
Stack. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
(package private) static Stack
Stack. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)
private void
SarifBugReporter. processExtensions(com.google.gson.stream.JsonWriter jsonWriter)
private void
SarifBugReporter. processInvocations(com.google.gson.stream.JsonWriter jsonWriter, java.util.Map<java.net.URI,java.lang.String> baseToId)
private void
SarifBugReporter. processRuns(com.google.gson.stream.JsonWriter jsonWriter)
private void
SarifBugReporter. processTool(com.google.gson.stream.JsonWriter jsonWriter, com.google.gson.JsonArray rules)
private void
SarifBugReporter. processTool(com.google.gson.stream.JsonWriter jsonWriter, com.google.gson.JsonArray rules)
Constructor parameters in edu.umd.cs.findbugs.sarif with annotations of type NonNull Constructor Description ArtifactLocation(java.net.URI uri, java.lang.String uriBaseId)
BugCollectionAnalyser(BugCollection bugCollection)
Extension(java.lang.String version, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, java.net.URI informationUri, java.lang.String organization)
Extension(java.lang.String version, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, java.net.URI informationUri, java.lang.String organization)
Invocation(int exitCode, java.lang.String exitCodeDescription, boolean executionSuccessful, java.util.List<Notification> toolExecutionNotifications, java.util.List<Notification> toolConfigurationNotifications)
Invocation(int exitCode, java.lang.String exitCodeDescription, boolean executionSuccessful, java.util.List<Notification> toolExecutionNotifications, java.util.List<Notification> toolConfigurationNotifications)
Invocation(int exitCode, java.lang.String exitCodeDescription, boolean executionSuccessful, java.util.List<Notification> toolExecutionNotifications, java.util.List<Notification> toolConfigurationNotifications)
Location(Location.PhysicalLocation physicalLocation, java.util.Collection<Location.LogicalLocation> logicalLocations)
LogicalLocation(java.lang.String name, java.lang.String decoratedName, java.lang.String kind, java.lang.String fullyQualifiedName, java.util.Map<java.lang.String,java.lang.String> properties)
LogicalLocation(java.lang.String name, java.lang.String decoratedName, java.lang.String kind, java.lang.String fullyQualifiedName, java.util.Map<java.lang.String,java.lang.String> properties)
Message(java.util.List<java.lang.String> arguments)
MessageFormat(java.lang.String pattern)
Notification(java.lang.String id, java.lang.String message, Level level, SarifException exception)
Notification(java.lang.String id, java.lang.String message, Level level, SarifException exception)
Notification(java.lang.String id, java.lang.String message, Level level, SarifException exception)
PhysicalLocation(Location.ArtifactLocation artifactLocation, Location.Region region)
Placeholder(int index, java.lang.String key)
Result(java.lang.String ruleId, int ruleIndex, Message message, java.util.List<Location> locations, Level level)
Result(java.lang.String ruleId, int ruleIndex, Message message, java.util.List<Location> locations, Level level)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
Rule(java.lang.String id, java.lang.String shortDescription, java.lang.String fullDescription, java.lang.String defaultText, java.net.URI helpUri, java.util.List<java.lang.String> tags, int cweid)
SarifException(java.lang.String kind, java.lang.String message, Stack stack, java.util.List<SarifException> innerExceptions)
SarifException(java.lang.String kind, java.lang.String message, Stack stack, java.util.List<SarifException> innerExceptions)
SarifException(java.lang.String kind, java.lang.String message, Stack stack, java.util.List<SarifException> innerExceptions)
SarifException(java.lang.String kind, java.lang.String message, Stack stack, java.util.List<SarifException> innerExceptions)
Stack(java.lang.String message, java.util.List<Stack.StackFrame> frames)
Stack(java.lang.String message, java.util.List<Stack.StackFrame> frames)
StackFrame(Location location)
Taxon(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Taxon(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Taxon(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Taxon(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
Taxon(java.lang.String id, java.util.UUID guid, java.lang.String shortDescription, java.lang.String fullDescription, Level severityLevel)
-