Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.annotation/src')
-rw-r--r--org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/DefaultLocation.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/DefaultLocation.java b/org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/DefaultLocation.java
index 5d78d541f3..02677bfc38 100644
--- a/org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/DefaultLocation.java
+++ b/org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/DefaultLocation.java
@@ -80,7 +80,9 @@ public enum DefaultLocation {
/**
* Defines that a given {@link NonNullByDefault} annotation should affect all unannotated
- * explicit type bounds within the scope of the annotated declaration.
+ * explicit type bounds within the scope of the annotated declaration. A type bound of
+ * type {@link java.lang.Object} is <strong>never</strong> considered as an explicit bound,
+ * i.e., <code>T extends Object</code> is never affected by {@link NonNullByDefault}.
*
* <h2>Example</h2>
* <pre> @NonNullByDefault(TYPE_BOUND)

Back to the top