示例#1
0
 private String renderTypeWithoutEscape(@NotNull JetType type) {
   if (type == CANT_INFER_LAMBDA_PARAM_TYPE || type == CANT_INFER_TYPE_PARAMETER) {
     return "???";
   }
   if (type.isError()) {
     return type.toString();
   }
   if (KotlinBuiltIns.getInstance().isFunctionOrExtensionFunctionType(type)
       && prettyFunctionTypes) {
     return renderFunctionType(type);
   }
   return renderDefaultType(type);
 }
 public String toString() {
   return type.toString();
 }