How to access all annotations of a CtClass including annotations on the super classes?
Open
question
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
Hi,
I'm trying to get all annotations of a CtClass including annotations on the super classes. Is there a simple way to do that.
Right now I'm struggling with the fact that ctClass.getSuperClass() returns a ctTypeReference (and not a CtClass) and there's no annotation on the ctTypeReference object (even though I do have annotation on the superclass).
Any idea?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.