void (final FormSourceCodeGenerator generator, @NonNls final 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"); }