How can I annotate a PsiMethod
已回答
I'd like to annotate a method (PsiMethod) with @org.junit.Test
without using createAnnotationFromText
What is the right way to do that please ?
请先登录再写评论。
com.intellij.psi.PsiMethod#getModifierList -> com.intellij.psi.PsiAnnotationOwner#addAnnotation
thank you for your help. It was very usefull