def get_type_name(type_name, sub_type=None):
if type_name == "<STR_LIT>":<EOL><INDENT>return type_name<EOL><DEDENT>elif type_name == "<STR_LIT>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif type_name == "<STR_LIT>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif type_name == "<STR_LIT:time>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif type_name == "<STR_LIT:object>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif type_name == "<STR_LIT:list>":<EOL><INDENT>return type_name<EOL><DEDENT>elif type_name == "<STR_LIT:float>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>
Returns a Java type according to a spec type