def generate_java_internal()

in library/scripts/find_movable_strings.py [0:0]


def generate_java_internal(string_pack_ids, method_name):
    result = []
    result += " " * 2 + "private static int[] %s() {\n" % method_name
    result += " " * 6 + "return new int[]{\n"
    for line in string_pack_ids:
        result += line + "\n"
    result += " " * 6 + "};\n"
    result += " " * 2 + "}\n"
    result += "\n"
    return result