Lines Matching refs:c_str
300 writer.Write("package %s;\n\n", package_name.c_str()); in GenerateJavaClass()
302 writer.Write("public final class %s {\n", class_name.c_str()); in GenerateJavaClass()
304 writer.Write("private %s () {}\n\n", class_name.c_str()); in GenerateJavaClass()
315 std::string prop_id = ApiNameToIdentifier(prop.api_name()).c_str(); in GenerateJavaClass()
320 GetJavaEnumTypeName(prop).c_str()); in GenerateJavaClass()
325 writer.Write("%s(\"%s\")", ToUpper(name).c_str(), name.c_str()); in GenerateJavaClass()
335 GetJavaEnumTypeName(prop).c_str()); in GenerateJavaClass()
355 writer.Write("public static %s %s() {\n", prop_type.c_str(), in GenerateJavaClass()
356 prop_id.c_str()); in GenerateJavaClass()
358 writer.Write("public static Optional<%s> %s() {\n", prop_type.c_str(), in GenerateJavaClass()
359 prop_id.c_str()); in GenerateJavaClass()
363 prop.prop_name().c_str()); in GenerateJavaClass()
372 class_name.c_str(), prop.prop_name().c_str(), in GenerateJavaClass()
373 prop.legacy_prop_name().c_str()); in GenerateJavaClass()
375 prop.legacy_prop_name().c_str()); in GenerateJavaClass()
379 writer.Write("return %s;\n", GetParsingExpression(prop).c_str()); in GenerateJavaClass()
388 writer.Write("public static void %s(%s value) {\n", prop_id.c_str(), in GenerateJavaClass()
389 prop_type.c_str()); in GenerateJavaClass()
392 prop.prop_name().c_str(), in GenerateJavaClass()
393 GetFormattingExpression(prop).c_str()); in GenerateJavaClass()