hi, i am doing a testing for the PSI api and want to ask some questions.
1) how to create psiClass using
public abstract PsiClass createClassFromText(String s, PsiElement psielement) in the ElementFactory. What is the purpose for the "psielement" parameter?
2) Such as PSIclass, if i want to add a new super class to it, then what can i do? I cannot find superClass element can be created in PSIElementFactory.
And i want to make sure that if i want to set modifier, super class, interface and etc to PSIClass, is that every thing can be done by "PSIClass.add(element)"? I cann find any other set or add method to do these.