Mega Code Archive

 
Categories / Java Book / 008 Reflection
 

0439 Get parameters annotation, type

Annotation[][] getParameterAnnotations() Returns an array of arrays that represent the annotations on the formal parameters, in declaration order, of the method represented by this Constructor object. Class<?>[] getParameterTypes() Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor represented by this Constructor object.