created public String genPrimType(String t)