public static void appendName(@NotNull final StringBuilder buffer, @NotNull final String name) {
    if (GroovyNamesUtil.isIdentifier(name)) {
      buffer.append(name);
    }
    else {
      buffer.append("'");
      buffer.append(GrStringUtil.escapeSymbolsForString(name, true, false));
      buffer.append("'");
    }
  }
public static void appendName(@NotNull final StringBuilder buffer, @NotNull final String name)