code: @Internal
      public static <T> Constructor<T> getRequiredInternalConstructor(Class<T> type, Class... argumentTypes) {
          try {
              return type.getDeclaredConstructor(argumentTypes);
          } catch (NoSuchMethodException e) {
              throw newNoSuchConstructorInternalError(type, argumentTypes);
          }
      }
docs: Finds an internal constructor defined by the Micronaut API and throws a {@link NoSuchMethodError} if it doesn't exist.
  
  @param type          The type
  @param argumentTypes The argument types
  @param <T>           The type
  @return An {@link Optional} contains the method or empty
  @throws NoSuchMethodError If the method doesn't exist