code: public static AceRights parseValue(final int value) {
          final AceRights res = new AceRights();
          if (value == 0) {
              return res;
          }
  
          res.others = value;
  
          for (ObjectRight type : ObjectRight.values()) {
              if ((value & type.getValue()) == type.getValue()) {
                  res.rights.add(type);
                  res.others ^= type.getValue();
              }
          }
  
          return res;
      }
docs: Parse ACE rights.
  
  @param value int value representing rights.
  @return ACE rights.