How do i add an invisible PsiMethod to a PsiClass instance,like Lombok @Getter、@Setter
Answered
How do i add an invisible PsiMethod to a PsiClass instance,like Lombok @Getter、@Setter?
And,the PsiMethod should be invisible in source code
Please sign in to leave a comment.
com.intellij.psi.augment.PsiAugmentProvider
See sample usages in IntelliJ Community sources (incl. Lombok plugin) and here https://plugins.jetbrains.com/intellij-platform-explorer?extensions=com.intellij.lang.psiAugmentProvider
Thank you so much