diff --git a/compiler/testData/foreignAnnotations/annotations/org/eclipse/jdt/annotation/NonNull.java b/compiler/testData/foreignAnnotations/annotations/org/eclipse/jdt/annotation/NonNull.java
index d76b2e3927c..aef7056e595 100644
--- a/compiler/testData/foreignAnnotations/annotations/org/eclipse/jdt/annotation/NonNull.java
+++ b/compiler/testData/foreignAnnotations/annotations/org/eclipse/jdt/annotation/NonNull.java
@@ -11,24 +11,25 @@
*******************************************************************************/
package org.eclipse.jdt.annotation;
-import java.lang.annotation.ElementType;
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-
+
/**
- * Qualifier for a reference type in a {@link ElementType#TYPE_USE TYPE_USE} position:
- * The type that has this annotation is intended to not include the value null.
+ * Qualifier for a type in a method signature or a local variable declaration:
+ * The entity (return value, parameter, field, local variable) whose type has this
+ * annotation can never have the value null at runtime.
*
- * If annotation based null analysis is enabled using this annotation has two consequences: - *
+ * This has two consequences: *NullPointerException can occur at runtime.null value to an entity (field, local variable, method parameter or method return value)
- * of this type is a compile time error.NullPointerException can occur at runtime.null value to the entity is a compile time error.
- * Note: Since org.eclipse.jdt.annotation 2.0.0, the
- * @Target is {TYPE_USE}. For the old API, see
- *
- * @NonNull in 1.1.0.
*
null.
+ * Qualifier for a type in a method signature or a local variable declaration:
+ * The entity (return value, parameter, field, local variable) whose type has this
+ * annotation is allowed to have the value null at runtime.
* - * If annotation based null analysis is enabled using this annotation has two consequences: - *
- *null value to an entity (field, local variable, method parameter or method return value)
- * of this type is legal.NullPointerException can occur at runtime.
- * Note: Since org.eclipse.jdt.annotation 2.0.0, the
- * @Target is {TYPE_USE}. For the old API, see
- *
- * @Nullable in 1.1.0.
+ * This has two consequences:
+ *
null value to the entity is legal.NullPointerException can occur at runtime.