Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get annotations in classes? #22

Open
nekogochan opened this issue Feb 4, 2023 · 1 comment
Open

How to get annotations in classes? #22

nekogochan opened this issue Feb 4, 2023 · 1 comment

Comments

@nekogochan
Copy link

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

@Haixing-Hu
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants