Uses of Annotation Interface
edu.umd.cs.findbugs.annotations.NonNull
Packages that use NonNull
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs
), the object model classes for bug
instances (BugInstance
,
BugAnnotation
), and other miscellany.Annotations for FindBugs (mostly deprecated except for
SuppressFBWarnings
).A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
The package providing a
BugReporter
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 NonNullModifier and TypeFieldDescriptionprivate final BugReporter
SynchronizedBugReporter.delegate
private final List
<TextUIBugReporter> BugReportDispatcher.reporters
Methods in edu.umd.cs.findbugs with annotations of type NonNullModifier and TypeMethodDescriptionprivate static <T> Stream
<T> ByteCodePatternDetector.createStream
(Iterator<T> iter) Method parameters in edu.umd.cs.findbugs with annotations of type NonNullModifier and TypeMethodDescriptionprivate static <T> Stream
<T> ByteCodePatternDetector.createStream
(Iterator<T> iter) void
BugReportDispatcher.reportBug
(BugInstance bugInstance) Constructor parameters in edu.umd.cs.findbugs with annotations of type NonNullModifierConstructorDescriptionFindBugs2
(ExecutorService service) (package private)
SynchronizedBugReporter
(BugReporter delegate) -
Uses of NonNull in edu.umd.cs.findbugs.annotations
Methods in edu.umd.cs.findbugs.annotations with annotations of type NonNullModifier and TypeMethodDescriptionstatic 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 NonNullModifier and TypeMethodDescriptionstatic 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 NonNullModifier and TypeFieldDescription(package private) final String
CommandLine.Option.extraPart
(package private) final String
CommandLine.Option.option
Methods in edu.umd.cs.findbugs.config with annotations of type NonNullModifier and TypeMethodDescription(package private) static CommandLine.Option
CommandLine.splitOption
(String option) Constructor parameters in edu.umd.cs.findbugs.config with annotations of type NonNull -
Uses of NonNull in edu.umd.cs.findbugs.cwe
Method parameters in edu.umd.cs.findbugs.cwe with annotations of type NonNullModifier and TypeMethodDescriptionstatic Weakness
Weakness.of
(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic Weakness
Weakness.of
(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic Weakness
Weakness.of
(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic Weakness
Weakness.of
(int cweid, String name, 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 NonNullModifier and TypeMethodDescriptionstatic 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, 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, 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, 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, List<org.apache.bcel.classfile.CodeException> throwables) Java 11+ compiler generates redundant null checks for try-with-resources.private static boolean
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 NonNullModifier and TypeMethodDescriptionstatic URLConnection
IO.openNonCachedConnection
(URL u) When URL Connection uses cache, it may keep file handler.static InputStream
IO.openNonCachedStream
(URL u) When URL Connection uses cache, it may keep file handler.Method parameters in edu.umd.cs.findbugs.io with annotations of type NonNullModifier and TypeMethodDescriptionstatic URLConnection
IO.openNonCachedConnection
(URL u) When URL Connection uses cache, it may keep file handler.static InputStream
IO.openNonCachedStream
(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 NonNullModifier and TypeMethodDescription(package private) Collection
<Profiler.Profile> Profiler.getProfiles()
Profiler.getTargetClasses()
Method parameters in edu.umd.cs.findbugs.log with annotations of type NonNullModifier and TypeMethodDescription(package private) boolean
void
Constructor parameters in edu.umd.cs.findbugs.log with annotations of type NonNull -
Uses of NonNull in edu.umd.cs.findbugs.sarif
Fields in edu.umd.cs.findbugs.sarif with annotations of type NonNullModifier and TypeFieldDescriptionMessage.arguments
(package private) final Location.ArtifactLocation
Location.PhysicalLocation.artifactLocation
BugCollectionAnalyser.baseToId
Map baseURI to uriBaseId.(package private) final int
Rule.cweid
(package private) final String
Rule.defaultText
private final String
Invocation.exitCodeDescription
(package private) final String
Rule.fullDescription
(package private) final String
Notification.id
(package private) final String
Rule.id
private final List
<List<Placeholder>> BugCollectionAnalyser.indexToPlaceholders
(package private) final List
<SarifException> SarifException.innerExceptions
(package private) final String
Placeholder.key
Key to formattingBugAnnotation
.(package private) final String
Location.LogicalLocation.kind
(package private) final String
SarifException.kind
(package private) final Level
Notification.level
(package private) final Level
Result.level
(package private) final Location
Stack.StackFrame.location
private final List
<Location.LogicalLocation> Location.logicalLocations
(package private) final String
Notification.message
(package private) final String
SarifException.message
(package private) final String
Extension.name
(package private) final String
Location.LogicalLocation.name
Location.LogicalLocation.properties
BugCollectionAnalyser.results
BugCollectionAnalyser.rules
(package private) final String
Rule.shortDescription
(package private) final Stack
SarifException.stack
Rule.tags
BugCollectionAnalyser.taxa
private final List
<Notification> Invocation.toolConfigurationNotifications
private final List
<Notification> Invocation.toolExecutionNotifications
BugCollectionAnalyser.typeToIndex
(package private) final URI
Location.ArtifactLocation.uri
(package private) final String
Extension.version
Methods in edu.umd.cs.findbugs.sarif with annotations of type NonNullModifier and TypeMethodDescription(package private) static Optional
<Location.LogicalLocation> Location.LogicalLocation.fromBugInstance
(BugInstance bugInstance) (package private) static Rule
Rule.fromBugPattern
(BugPattern bugPattern, String formattedMessage) (package private) static Level
Level.fromBugRank
(int bugRank) (package private) static Location.LogicalLocation
Location.LogicalLocation.fromStackTraceElement
(StackTraceElement element) (package private) static SarifException
SarifException.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Level
Level.fromWeaknessSeverity
(WeaknessSeverity severity) (package private) com.google.gson.JsonObject
BugCollectionAnalyser.getOriginalUriBaseIds()
(package private) String
Placeholder.toArgument
(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 NonNullModifier and TypeMethodDescriptionprivate void
SarifBugReporter.addSupportedTaxonomies
(com.google.gson.stream.JsonWriter jsonWriter) (package private) static String
Location.LogicalLocation.findKind
(BugAnnotation annotation) private static Location.PhysicalLocation
Location.findPhysicalLocation
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) private static Location.PhysicalLocation
Location.findPhysicalLocation
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) private static Optional
<Location.PhysicalLocation> Location.findPhysicalLocation
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) private static Optional
<Location.PhysicalLocation> Location.findPhysicalLocation
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) String
MessageFormat.format
(BiFunction<Integer, String, String> handler) static Taxon
Taxon.from
(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static Taxon
Taxon.from
(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static Taxon
Taxon.from
(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static Taxon
Taxon.from
(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static Taxon
Taxon.from
(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).(package private) static Optional
<Location.ArtifactLocation> Location.ArtifactLocation.fromBugAnnotation
(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Optional
<Location.ArtifactLocation> Location.ArtifactLocation.fromBugAnnotation
(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Optional
<Location.ArtifactLocation> Location.ArtifactLocation.fromBugAnnotation
(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Optional
<Location.ArtifactLocation> Location.ArtifactLocation.fromBugAnnotation
(ClassAnnotation classAnnotation, SourceLineAnnotation bugAnnotation, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Optional
<Location.PhysicalLocation> Location.PhysicalLocation.fromBugAnnotation
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) Location.fromBugInstance
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) Location.fromBugInstance
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) Location.fromBugInstance
(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Optional
<Location.LogicalLocation> Location.LogicalLocation.fromBugInstance
(BugInstance bugInstance) (package private) static Notification
Notification.fromError
(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Notification
Notification.fromError
(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Notification
Notification.fromError
(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) static UUID
GUIDCalculator.fromNamespaceAndString
(UUID namespace, String name) Returns a UUID version 5 based on RFC 4122 (see: https://www.ietf.org/rfc/rfc4122.txt).static UUID
GUIDCalculator.fromNamespaceAndString
(UUID namespace, 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
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Location
Location.fromStackTraceElement
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Location
Location.fromStackTraceElement
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Location.LogicalLocation
Location.LogicalLocation.fromStackTraceElement
(StackTraceElement element) (package private) static Stack.StackFrame
Stack.StackFrame.fromStackTraceElement
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack.StackFrame
Stack.StackFrame.fromStackTraceElement
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack.StackFrame
Stack.StackFrame.fromStackTraceElement
(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) static UUID
GUIDCalculator.fromString
(String name) UUID version 5, but without using a namespace.(package private) static SarifException
SarifException.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static SarifException
SarifException.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static SarifException
SarifException.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack
Stack.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack
Stack.fromThrowable
(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) private void
SarifBugReporter.processExtensions
(com.google.gson.stream.JsonWriter jsonWriter) private void
SarifBugReporter.processInvocations
(com.google.gson.stream.JsonWriter jsonWriter, Map<URI, 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 NonNullModifierConstructorDescription(package private)
ArtifactLocation
(URI uri, String uriBaseId) (package private)
BugCollectionAnalyser
(BugCollection bugCollection) (package private)
Extension
(String version, String name, String shortDescription, String fullDescription, URI informationUri, String organization) (package private)
Extension
(String version, String name, String shortDescription, String fullDescription, URI informationUri, String organization) (package private)
Invocation
(int exitCode, String exitCodeDescription, boolean executionSuccessful, List<Notification> toolExecutionNotifications, List<Notification> toolConfigurationNotifications) (package private)
Invocation
(int exitCode, String exitCodeDescription, boolean executionSuccessful, List<Notification> toolExecutionNotifications, List<Notification> toolConfigurationNotifications) (package private)
Invocation
(int exitCode, String exitCodeDescription, boolean executionSuccessful, List<Notification> toolExecutionNotifications, List<Notification> toolConfigurationNotifications) (package private)
Location
(Location.PhysicalLocation physicalLocation, Collection<Location.LogicalLocation> logicalLocations) (package private)
LogicalLocation
(String name, String decoratedName, String kind, String fullyQualifiedName, Map<String, String> properties) (package private)
LogicalLocation
(String name, String decoratedName, String kind, String fullyQualifiedName, Map<String, String> properties) (package private)
(package private)
MessageFormat
(String pattern) (package private)
Notification
(String id, String message, Level level, SarifException exception) (package private)
Notification
(String id, String message, Level level, SarifException exception) (package private)
Notification
(String id, String message, Level level, SarifException exception) (package private)
PhysicalLocation
(Location.ArtifactLocation artifactLocation, Location.Region region) (package private)
Placeholder
(int index, String key) (package private)
(package private)
(package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
Rule
(String id, String shortDescription, String fullDescription, String defaultText, URI helpUri, List<String> tags, int cweid) (package private)
SarifException
(String kind, String message, Stack stack, List<SarifException> innerExceptions) (package private)
SarifException
(String kind, String message, Stack stack, List<SarifException> innerExceptions) (package private)
SarifException
(String kind, String message, Stack stack, List<SarifException> innerExceptions) (package private)
SarifException
(String kind, String message, Stack stack, List<SarifException> innerExceptions) (package private)
Stack
(String message, List<Stack.StackFrame> frames) (package private)
Stack
(String message, List<Stack.StackFrame> frames) (package private)
StackFrame
(Location location) private
private
private
private
private