docs: private static void throwAbstractMethodError(Code code, Method method,
                                                   Local<String> abstractMethodErrorMessage,
                                                   Local<AbstractMethodError> abstractMethodError) {
          TypeId<AbstractMethodError> abstractMethodErrorClass = TypeId.get(AbstractMethodError.class);
  
          MethodId<AbstractMethodError, Void> abstractMethodErrorConstructor =
                  abstractMethodErrorClass.getConstructor(TypeId.STRING);
          code.loadConstant(abstractMethodErrorMessage, "'" + method + "' cannot be called");
          code.newInstance(abstractMethodError, abstractMethodErrorConstructor,
                  abstractMethodErrorMessage);
  
          code.throwValue(abstractMethodError);
      }