private static void setIntField(final FormSourceCodeGenerator generator, final @NonNls String fieldName, final int value,
                                  final Int2ObjectMap<String> map) {
    generator.append("gbc.");
    generator.append(fieldName);
    generator.append("=");
    if (map.containsKey(value)) {
      generator.append(map.get(value));
    }
    else {
      generator.append(value);
    }
    generator.append(";\n");
  }
private static void setIntField(final FormSourceCodeGenerator generator, final @NonNls String fieldName, final int value,
                                  final Int2ObjectMap<String> map)