docs: public ProjectCache withModes(String... modes) {
          if (this.modes == null) {
              setModes(new java.util.ArrayList<String>(modes.length));
          }
          for (String ele : modes) {
              this.modes.add(ele);
          }
          return this;
      }