So ASM gives me
as the signature of a method but I couldn't find any way to retrieve this signature from a PsiMethod in this format. The only thing which I can do is to retrieve the parameters with
and then get the canonical text of every parameter:
but this shows boolean instead of Z(this is the signature of boolean in the JVM).
So is there any way to retrieve the JVM signature or do I have to write my own function to do this?