parseType

open fun parseType(@NotNull type: String): Type(source)

Parses a Java type name and returns a Type that represents it.

Return

ClassOrInterfaceType representing the type

Parameters

type

the type name like a.b.c.X, Y, or int

Throws

if the source code has parser errors