docs: @JsOverlay
    public final void addJavaPropValidator(Function javaMethod, String propertyName) {
      PropOptions propDefinition = getProps().get(propertyName);
      propDefinition.validator = javaMethod;
    }