convert string with generics to PsiType
Answered
Is there a shortcut method for getting a PsiType from a string like:
java.util.List<java.lang.Integer>
Given List and Integer I can create this, but was hoping there was some magic somewhere.
Something like com.intellij.psi.PsiElementFactory#createTypeByFQClassName(java.lang.String) but that can handle the above...?
Please sign in to leave a comment.
com.intellij.psi.PsiJavaParserFacade#createTypeFromText
D'oh! So easy when you find it ;-). Thanks a lot.