code: public static <T> Constructor<T> getConstructor(Class<T> type, Class<?>... parameterTypes) {
  
      try {
        return type.getDeclaredConstructor(parameterTypes);
      }
      catch (NoSuchMethodException cause) {
        throw new ConstructorNotFoundException(cause);
      }
    }
docs: Gets the constructor with the specified signature from the given class type.
  
  @param <T> the generic class type from which to get the constructor.
  @param type the Class type from which to get the Constructor.
  @param parameterTypes an array of class types indicating the constructor signature.
  @return a Constructor from the given class type with a matching signature.
  @see java.lang.Class
  @see java.lang.Class#getDeclaredConstructor(Class[])
  @see java.lang.reflect.Constructor