Uses of Annotation Type
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 BugReporterSynchronizedBugReporter.delegateprivate final List<TextUIBugReporter> BugReportDispatcher.reportersMethods 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) voidBugReportDispatcher.reportBug(BugInstance bugInstance) voidPriorityAdjuster.setFactoryChooser(DetectorFactoryChooser factoryChooser) Set the factory chooser used byExecutionPlandefault booleanDetectorFactoryChooser.wasForciblyEnabled(DetectorFactory factory) Check whether the given factory was forcibly enabled viaDetectorFactoryChooser.enable(DetectorFactory)byExecutionPlan.build()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 ConfidenceConfidence.getConfidence(int prio) Given a numeric confidence value, report the corresponding confidence enum value -
Uses of NonNull in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with annotations of type NonNullModifier and TypeMethodDescriptionAccessMethodDatabase.getAccessMethodLocations(MethodDescriptor accessMethod) Method parameters in edu.umd.cs.findbugs.ba with annotations of type NonNullModifier and TypeMethodDescriptionstatic CheckReturnValueAnnotationCheckReturnValueAnnotation.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 StringCommandLine.Option.extraPart(package private) final StringCommandLine.Option.optionMethods in edu.umd.cs.findbugs.config with annotations of type NonNullModifier and TypeMethodDescription(package private) static CommandLine.OptionCommandLine.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 WeaknessWeakness.of(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic WeaknessWeakness.of(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic WeaknessWeakness.of(int cweid, String name, String description, WeaknessSeverity severity) Creates a new immutable instance of a weaknessstatic WeaknessWeakness.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 booleanFindNullDeref.isGeneratedCodeInCatchBlock(org.apache.bcel.classfile.Method method, int pc) Java 11+ compiler generates redundant null checks for try-with-resources.private static booleanFindNullDeref.isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, 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 booleanFindNullDeref.isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, 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 booleanFindNullDeref.isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, 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 booleanFindNullDeref.isGeneratedCodeInCatchBlockViaLineNumber(org.apache.bcel.classfile.ConstantPool cp, 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 booleanChecks if the thrown Exception is handled by the caught Exception.private booleanThrowingExceptions.parentThrows(org.apache.bcel.classfile.JavaClass clazz, org.apache.bcel.classfile.Method method, String exception) private booleanThrowingExceptions.parentThrows(org.apache.bcel.classfile.JavaClass clazz, org.apache.bcel.classfile.Method method, String exception) -
Uses of NonNull in edu.umd.cs.findbugs.io
Methods in edu.umd.cs.findbugs.io with annotations of type NonNullModifier and TypeMethodDescriptionstatic URLConnectionIO.openNonCachedConnection(URL u) When URL Connection uses cache, it may keep file handler.static InputStreamIO.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 URLConnectionIO.openNonCachedConnection(URL u) When URL Connection uses cache, it may keep file handler.static InputStreamIO.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) booleanvoidConstructor parameters in edu.umd.cs.findbugs.log with annotations of type NonNull -
Uses of NonNull in edu.umd.cs.findbugs.plan
Methods in edu.umd.cs.findbugs.plan 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.ArtifactLocationLocation.PhysicalLocation.artifactLocationBugCollectionAnalyser.baseToIdMap baseURI to uriBaseId.(package private) final intRule.cweid(package private) final StringRule.defaultTextprivate final StringInvocation.exitCodeDescription(package private) final StringRule.fullDescription(package private) final StringNotification.id(package private) final StringRule.idprivate final List<List<Placeholder>> BugCollectionAnalyser.indexToPlaceholders(package private) final List<SarifException> SarifException.innerExceptions(package private) final StringPlaceholder.keyKey to formattingBugAnnotation.(package private) final StringLocation.LogicalLocation.kind(package private) final StringSarifException.kind(package private) final LevelNotification.level(package private) final LevelResult.level(package private) final LocationStack.StackFrame.locationprivate final List<Location.LogicalLocation> Location.logicalLocations(package private) final StringNotification.message(package private) final StringExtension.name(package private) final StringLocation.LogicalLocation.nameLocation.LogicalLocation.propertiesBugCollectionAnalyser.resultsBugCollectionAnalyser.rules(package private) final StringRule.shortDescription(package private) final StackSarifException.stackRule.tagsBugCollectionAnalyser.taxaprivate final List<Notification> Invocation.toolConfigurationNotificationsprivate final List<Notification> Invocation.toolExecutionNotificationsBugCollectionAnalyser.typeToIndex(package private) final URILocation.ArtifactLocation.uri(package private) final StringExtension.versionMethods 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 RuleRule.fromBugPattern(BugPattern bugPattern, String formattedMessage) (package private) static LevelLevel.fromBugRank(int bugRank) (package private) static Location.LogicalLocationLocation.LogicalLocation.fromStackTraceElement(StackTraceElement element) (package private) static SarifExceptionSarifException.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static LevelLevel.fromWeaknessSeverity(WeaknessSeverity severity) (package private) com.google.gson.JsonObjectBugCollectionAnalyser.getOriginalUriBaseIds()(package private) StringPlaceholder.toArgument(List<? extends BugAnnotation> bugAnnotations, ClassAnnotation primaryClass) (package private) com.google.gson.JsonObjectInvocation.toJsonObject()Method parameters in edu.umd.cs.findbugs.sarif with annotations of type NonNullModifier and TypeMethodDescriptionprivate voidSarifBugReporter.addSupportedTaxonomies(com.google.gson.stream.JsonWriter jsonWriter) (package private) static StringLocation.LogicalLocation.findKind(BugAnnotation annotation) private static Location.PhysicalLocationLocation.findPhysicalLocation(BugInstance bugInstance, SourceFinder sourceFinder, Map<URI, String> baseToId) private static Location.PhysicalLocationLocation.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) StringMessageFormat.format(BiFunction<Integer, String, String> handler) static TaxonTaxon.from(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static TaxonTaxon.from(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static TaxonTaxon.from(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static TaxonTaxon.from(String id, UUID guid, String shortDescription, String fullDescription, Level severityLevel) Create a new taxon element (see: §3.19.3).static TaxonTaxon.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 NotificationNotification.fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static NotificationNotification.fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static NotificationNotification.fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, Map<URI, String> baseToId) static UUIDGUIDCalculator.fromNamespaceAndString(UUID namespace, String name) Returns a UUID version 5 based on RFC 4122 (see: https://www.ietf.org/rfc/rfc4122.txt).static UUIDGUIDCalculator.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 ExtensionExtension.fromPlugin(Plugin plugin) (package private) static LocationLocation.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static LocationLocation.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static LocationLocation.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Location.LogicalLocationLocation.LogicalLocation.fromStackTraceElement(StackTraceElement element) (package private) static Stack.StackFrameStack.StackFrame.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack.StackFrameStack.StackFrame.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static Stack.StackFrameStack.StackFrame.fromStackTraceElement(StackTraceElement element, SourceFinder sourceFinder, Map<URI, String> baseToId) static UUIDGUIDCalculator.fromString(String name) UUID version 5, but without using a namespace.(package private) static SarifExceptionSarifException.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static SarifExceptionSarifException.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static SarifExceptionSarifException.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static StackStack.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) (package private) static StackStack.fromThrowable(Throwable throwable, SourceFinder sourceFinder, Map<URI, String> baseToId) private voidSarifBugReporter.processExtensions(com.google.gson.stream.JsonWriter jsonWriter) private voidSarifBugReporter.processInvocations(com.google.gson.stream.JsonWriter jsonWriter, Map<URI, String> baseToId) private voidSarifBugReporter.processRuns(com.google.gson.stream.JsonWriter jsonWriter) private voidSarifBugReporter.processTool(com.google.gson.stream.JsonWriter jsonWriter, com.google.gson.JsonArray rules) private voidSarifBugReporter.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)Stack(String message, List<Stack.StackFrame> frames) (package private)Stack(String message, List<Stack.StackFrame> frames) (package private)StackFrame(Location location) privateprivateprivateprivateprivate