src/share/classes/java/lang/reflect/Executable.java
Print this page
rev 7006 : 8007073: Implement Core Reflection for Type Annotations on parameters
Reviewed-by: duke
rev 7007 : 8013541: Revise javadoc for Executable.getAnnotatedReturnType()
Reviewed-by: duke
@@ -484,12 +484,12 @@
}
return declaredAnnotations;
}
/**
- * Returns an AnnotatedType object that represents the potentially
- * annotated return type of the method/constructor represented by this
+ * Returns an AnnotatedType object that represents the use of a type to
+ * specify the return type of the method/constructor represented by this
* Executable.
*
* If this Executable represents a constructor, the AnnotatedType object
* represents the type of the constructed object.
*