private Builder update(@NotNull Capability capability, boolean value) {
      if (!value) {
        myCapabilities.remove(capability);
      }
      else {
        myCapabilities.add(capability);
      }

      return this;
    }
private Builder update(@NotNull Capability capability, boolean value)