docs: public static boolean isFieldVisibleInJS(VariableElement field) {
      return (hasAnnotation(field.getEnclosingElement(), JsType.class) && field
          .getModifiers()
          .contains(Modifier.PUBLIC)) || hasAnnotation(field, JsProperty.class);
    }