@ SuppressWarnings ( "unchecked" ) public static < T > Constructor < T > constructor ( Class < T > declaringClass , Class < ? > ... parameterTypes ) { return ( Constructor < T > ) WhiteboxImpl . findUniqueConstructorOrThrowException ( declaringClass , ( Object [ ] ) parameterTypes ) ; }
Returns a constructor specified in declaringClass .