Converting FQN to BinaryName and vise versa
已回答
I would like to know if there is a open api to convert a FQN of a class to Java Binary name to do the vise versa
example:
Ljava/util/AbstractList; -> java.util.AbstractList
java.util.AbstractList -> Ljava/util/AbstractList;
I need this conversion to be done on method and field FQN as well.
请先登录再写评论。
There is something in com.intellij.psi.util.ClassUtil. What problem are you trying to solve exactly?
I'm trying to implement the following messages to a Language server in IntelliJ which is described in https://github.com/spring-projects/sts4/wiki/Java-Messages
I think the class you mentioned can be used to do what i want. Thanks alot for helping out with this.