add function name_to_java()