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.plan edu.umd.cs.findbugs.sarif The package providing aBugReporterimplementation 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 BugReporterSynchronizedBugReporter. delegateprivate java.util.List<TextUIBugReporter>BugReportDispatcher. reportersMethods 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)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 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 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 NonNull Modifier and Type Method Description java.util.List<AccessMethodDatabase.AccessMethodLocation>AccessMethodDatabase. getAccessMethodLocations(MethodDescriptor accessMethod)Method parameters in edu.umd.cs.findbugs.ba with annotations of type NonNull Modifier and Type Method Description static 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 NonNull Modifier and Type Field Description (package private) java.lang.StringCommandLine.Option. extraPart(package private) java.lang.StringCommandLine.Option. optionMethods in edu.umd.cs.findbugs.config with annotations of type NonNull Modifier and Type Method Description (package private) static CommandLine.OptionCommandLine. 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 WeaknessWeakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)Creates a new immutable instance of a weaknessstatic WeaknessWeakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)Creates a new immutable instance of a weaknessstatic WeaknessWeakness. of(int cweid, java.lang.String name, java.lang.String description, WeaknessSeverity severity)Creates a new immutable instance of a weaknessstatic WeaknessWeakness. 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 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, java.util.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, java.util.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, java.util.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, java.util.List<org.apache.bcel.classfile.CodeException> throwables)Java 11+ compiler generates redundant null checks for try-with-resources.private static booleanConstructorThrow. isHandled(org.apache.bcel.classfile.JavaClass thrownEx, java.lang.String caughtEx)Checks 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, java.lang.String exception)private booleanThrowingExceptions. parentThrows(org.apache.bcel.classfile.JavaClass clazz, org.apache.bcel.classfile.Method method, java.lang.String 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.URLConnectionIO. openNonCachedConnection(java.net.URL u)When URL Connection uses cache, it may keep file handler.static java.io.InputStreamIO. 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.URLConnectionIO. openNonCachedConnection(java.net.URL u)When URL Connection uses cache, it may keep file handler.static java.io.InputStreamIO. 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) booleanProfiler. contains(java.lang.Class<?> targetClass)voidProfileSummary. 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.plan
Methods in edu.umd.cs.findbugs.plan with annotations of type NonNull Modifier and Type Method Description DetectorFactoryChooserExecutionPlan. getFactoryChooser() -
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.ArtifactLocationLocation.PhysicalLocation. artifactLocationprivate java.util.Map<java.net.URI,java.lang.String>BugCollectionAnalyser. baseToIdMap baseURI to uriBaseId.(package private) intRule. cweid(package private) java.lang.StringRule. defaultTextprivate java.lang.StringInvocation. exitCodeDescription(package private) java.lang.StringRule. fullDescription(package private) java.lang.StringNotification. id(package private) java.lang.StringRule. idprivate java.util.List<java.util.List<Placeholder>>BugCollectionAnalyser. indexToPlaceholders(package private) java.util.List<SarifException>SarifException. innerExceptions(package private) java.lang.StringPlaceholder. keyKey to formattingBugAnnotation.(package private) java.lang.StringLocation.LogicalLocation. kind(package private) java.lang.StringSarifException. kind(package private) LevelNotification. level(package private) LevelResult. level(package private) LocationStack.StackFrame. locationprivate java.util.List<Location.LogicalLocation>Location. logicalLocations(package private) java.lang.StringNotification. message(package private) java.lang.StringExtension. name(package private) java.lang.StringLocation.LogicalLocation. name(package private) java.util.Map<java.lang.String,java.lang.String>Location.LogicalLocation. propertiesprivate java.util.List<Result>BugCollectionAnalyser. resultsprivate java.util.List<Rule>BugCollectionAnalyser. rules(package private) java.lang.StringRule. shortDescription(package private) StackSarifException. stack(package private) java.util.List<java.lang.String>Rule. tagsprivate java.util.SortedSet<Taxon>BugCollectionAnalyser. taxaprivate java.util.List<Notification>Invocation. toolConfigurationNotificationsprivate java.util.List<Notification>Invocation. toolExecutionNotificationsprivate java.util.Map<java.lang.String,java.lang.Integer>BugCollectionAnalyser. typeToIndex(package private) java.net.URILocation.ArtifactLocation. uri(package private) java.lang.StringExtension. versionMethods 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 RuleRule. fromBugPattern(BugPattern bugPattern, java.lang.String formattedMessage)(package private) static LevelLevel. fromBugRank(int bugRank)(package private) static Location.LogicalLocationLocation.LogicalLocation. fromStackTraceElement(java.lang.StackTraceElement element)(package private) static SarifExceptionSarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static LevelLevel. fromWeaknessSeverity(WeaknessSeverity severity)(package private) com.google.gson.JsonObjectBugCollectionAnalyser. getOriginalUriBaseIds()(package private) java.lang.StringPlaceholder. toArgument(java.util.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 NonNull Modifier and Type Method Description private voidSarifBugReporter. addSupportedTaxonomies(com.google.gson.stream.JsonWriter jsonWriter)(package private) static java.lang.StringLocation.LogicalLocation. findKind(BugAnnotation annotation)private static Location.PhysicalLocationLocation. findPhysicalLocation(BugInstance bugInstance, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)private static Location.PhysicalLocationLocation. 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.StringMessageFormat. format(java.util.function.BiFunction<java.lang.Integer,java.lang.String,java.lang.String> handler)static TaxonTaxon. 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 TaxonTaxon. 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 TaxonTaxon. 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 TaxonTaxon. 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 TaxonTaxon. 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 NotificationNotification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static NotificationNotification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static NotificationNotification. fromError(AbstractBugReporter.Error error, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)static java.util.UUIDGUIDCalculator. 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.UUIDGUIDCalculator. 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 ExtensionExtension. fromPlugin(Plugin plugin)(package private) static LocationLocation. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static LocationLocation. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static LocationLocation. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static Location.LogicalLocationLocation.LogicalLocation. fromStackTraceElement(java.lang.StackTraceElement element)(package private) static Stack.StackFrameStack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static Stack.StackFrameStack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static Stack.StackFrameStack.StackFrame. fromStackTraceElement(java.lang.StackTraceElement element, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)static java.util.UUIDGUIDCalculator. fromString(java.lang.String name)UUID version 5, but without using a namespace.(package private) static SarifExceptionSarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static SarifExceptionSarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static SarifExceptionSarifException. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static StackStack. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)(package private) static StackStack. fromThrowable(java.lang.Throwable throwable, SourceFinder sourceFinder, java.util.Map<java.net.URI,java.lang.String> baseToId)private voidSarifBugReporter. processExtensions(com.google.gson.stream.JsonWriter jsonWriter)private voidSarifBugReporter. processInvocations(com.google.gson.stream.JsonWriter jsonWriter, java.util.Map<java.net.URI,java.lang.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 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)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)
-