code: boolean setModifies(Set<String> modifies) {
      lazyInitInfo();
  
      if (info.modifies != null) {
        return false;
      }
  
      info.modifies = ImmutableSet.copyOf(modifies);
      return true;
    }
docs: Sets modifies values.
  @param modifies A list of modifies types.