diff --git a/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java b/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java index 0caaaf6..833a9c7 100644 --- a/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java +++ b/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java @@ -21,8 +21,21 @@ * The tools may issue a warning if the nullability for a subclass method contradicts from the specified nullability * of a superclass method. *
- * The annotation has no effect on newly declared type parameters and their bounds. Only instantiations of
- * type parameters are constrained.
+ * For newly declared type parameters, the annotation applies to its bounds, including implicit {@code Object}
+ * bound if no explicit bound is declared. For example, {@code
+ * The type parameter references are not affected by {@code @NotNullByDefault}. For example:
+ *
* The annotation has no effect on local variables.
*
{@code
+ * @NotNullByDefault
+ * interface Pair
*