public static < T > ReflectionConstructor < T > getDeclaredConstructor ( Class < T > clazz , Class < ? > ... parameterTypes ) { assertReflectionAccessor ( ) ; try { return accessor . getDeclaredConstructor ( clazz , parameterTypes ) ; } catch ( Exception e ) { throw SneakyException . sneakyThrow ( e ) ; } }
Returns a constructor of the given class that takes the given parameter types .