code: public static MethodHandle findDefaultConstructor(Class<?> clazz) {
      MethodHandle methodHandle = null;
      try {
        Constructor<?> constructor = clazz.getConstructor();
        methodHandle = MethodHandles.publicLookup().unreflectConstructor(constructor);
      } catch (NoSuchMethodException | SecurityException | IllegalAccessException e) {
        // No default constructor
      }
      return methodHandle;
    }
docs: Finds and returns a MethodHandle for the default constructor of the given class, {@code clazz}.
  
  @param clazz
  the class
  @return a MethodHandle for the default constructor. Returns {@code null} if the class does not
  have a public no-argument constructor.