docs: private void processPropValidators() {
      getMethodsWithAnnotation(component, PropValidator.class).forEach(method -> {
        PropValidator propValidator = method.getAnnotation(PropValidator.class);
  
        if (!TypeName.get(method.getReturnType()).equals(TypeName.BOOLEAN)) {
          printError("Method "
              + method.getSimpleName()
              + " annotated with PropValidator must return a boolean.");
        }
  
        String exposedMethodName = exposeExistingJavaMethodToJs(method);
        String propertyName = propValidator.value();
        optionsBuilder.addStatement("options.addJavaPropValidator(p.$L, $S)",
            exposedMethodName,
            propertyName);
      });
    }