@classmethod<EOL><INDENT>def massage_type_name(cls, type_name):<DEDENT>
if type_name.lower() in ("<STR_LIT>", "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT:str>", "<STR_LIT:string>"):<EOL><INDENT>return "<STR_LIT:string>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT>", "<STR_LIT:bool>"):<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT:int>", "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT:date>", "<STR_LIT>", "<STR_LIT:time>"):<EOL><INDENT>return "<STR_LIT:time>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT>", "<STR_LIT:float>", "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT:float>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT:list>", "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT:list>"<EOL><DEDENT>if type_name.lower() in ("<STR_LIT:object>", "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT:object>"<EOL><DEDENT>if "<STR_LIT>" in type_name.lower():<EOL><INDENT>return "<STR_LIT:list>"<EOL><DEDENT>return "<STR_LIT:string>"<EOL>
Returns a readable type according to a java type