code: public static String flagNames(long flags) {
          StringBuilder sbuf = new StringBuilder();
          int i = 0;
          long f = flags & StandardFlags;
          while (f != 0) {
              if ((f & 1) != 0) {
                  sbuf.append(" ");
                  sbuf.append(flagName[i]);
              }
              f = f >> 1;
              i++;
          }
          return sbuf.toString();
      }
docs: Return flags as a string, separated by " ".