8181869: getAnnotatedParameterTypes%G​%@() specification should be clarified

Reviewed-by: lancea
This commit is contained in:
Joe Darcy 2019-06-09 15:21:43 -07:00
parent 000df1402b
commit de1584263d

View file

@ -234,6 +234,9 @@ public abstract class Executable extends AccessibleObject
* parameter types, in declaration order, of the executable
* represented by this object. Returns an array of length
* 0 if the underlying executable takes no parameters.
* Note that the constructors of some inner classes
* may have an implicitly declared parameter in addition to
* explicitly declared ones.
*
* @return the parameter types for the executable this object
* represents
@ -257,6 +260,9 @@ public abstract class Executable extends AccessibleObject
* parameter types, in declaration order, of the executable represented by
* this object. Returns an array of length 0 if the
* underlying executable takes no parameters.
* Note that the constructors of some inner classes
* may have an implicitly declared parameter in addition to
* explicitly declared ones.
*
* <p>If a formal parameter type is a parameterized type,
* the {@code Type} object returned for it must accurately reflect
@ -699,6 +705,9 @@ public abstract class Executable extends AccessibleObject
*
* Returns an array of length 0 if the method/constructor declares no
* parameters.
* Note that the constructors of some inner classes
* may have an implicitly declared parameter in addition to
* explicitly declared ones.
*
* @return an array of objects representing the types of the
* formal parameters of the method or constructor represented by this