private static void appendFlag(int flags, int mask, @NotNull StringBuilder sb, int start, @NotNull String maskName) {
    if (!BitUtil.isSet(flags, mask)) return;
    if (sb.length() > start) sb.append(", ");
    sb.append(maskName);
  }
private static void appendFlag(int flags, int mask, @NotNull StringBuilder sb, int start, @NotNull String maskName)