How can I annotate a PsiMethod
Answered
I'd like to annotate a method (PsiMethod) with @org.junit.Test
without using createAnnotationFromText
What is the right way to do that please ?
Please sign in to leave a comment.
com.intellij.psi.PsiMethod#getModifierList -> com.intellij.psi.PsiAnnotationOwner#addAnnotation
thank you for your help. It was very usefull