private static void append(StringBuilder sb, String name, int modifiers, int mask) {
    append(sb, name, (modifiers & mask) != 0);
  }
private static void append(StringBuilder sb, String name, int modifiers, int mask)