CodeGenerator icon indicating copy to clipboard operation
CodeGenerator copied to clipboard

How to get annotations in classes?

Open nekogochan opened this issue 2 years ago • 1 comments

Hi, my question in head. If this functionallity isn't available, please add it

nekogochan avatar Feb 04 '23 18:02 nekogochan

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.

Haixing-Hu avatar Aug 27 '24 06:08 Haixing-Hu