NonNullApi (Gradle API 9.4.1)
Description: declaration: package: org.gradle.api, annotation type: NonNullApi

Package org.gradle.api

# Annotation Type NonNullApi

@Target({TYPE,PACKAGE}) @NotNull @Nonnull @TypeQualifierDefault({METHOD,PARAMETER}) @Documented @Retention(RUNTIME) @Deprecated public @interface NonNullApi
Deprecated.
Deprecated in Gradle 9 for removal in Gradle 10. Prefer JSpecify annotations such as `NullMarked` and `Nullable`. Note that you can also still use JSR305 annotations such as `Nonnull` and `Nullable`.
Marks a type or a whole package as providing a non-null API by default. All parameter and return types are assumed to be `Nonnull` unless specifically marked as `Nullable`. All types of an annotated package inherit the package rule. Subpackages do not inherit nullability rules and must be annotated.

Since:
  4.2