CodeGenerator
CodeGenerator copied to clipboard
How to get annotations in classes?
Hi, my question in head. If this functionallity isn't available, please add it
You can do it with the APIs from the PsiClass
. To get the PsiClass
object, use class0.raw
, which is a property points to the underlying PsiClass
of the class0
object.
The APIs of PsiClass
can be found from the javadoc of IDEA Intellij Community source code.