static StringBuffer toString(int mod, StringBuffer r)
public static String toString(int mod)
  static StringBuffer toString(int mod, StringBuffer r)  {    if (isPublic(mod))      r.append("public ");    if (isProtected(mod))      r.append("protected ");    if (isPrivate(mod))      r.append("private ");    if (isAbstract(mod))      r.append("abstract ");    if (isStatic(mod))      r.append("static ");    if (isFinal(mod))      r.append("final ");    if (isTransient(mod))      r.append("transient ");    if (isVolatile(mod))      r.append("volatile ");    if (isSynchronized(mod))      r.append("synchronized ");    if (isNative(mod))      r.append("native ");    if (isStrict(mod))      r.append("strictfp ");    if (isInterface(mod))      r.append("interface ");        // Trim trailing space.    if ((mod & ALL_FLAGS) != 0)      r.setLength(r.length() - 1);    return r;  }