javassist icon indicating copy to clipboard operation
javassist copied to clipboard

How to get all annotations declared on a class

Open jlerbsc opened this issue 2 years ago • 0 comments

Hi, I'm trying to get the class name of all annotations declared on a class but the method CtClass.getAnnotations() returns an array of AnnotationImpl's proxy. Can you explain me succinctly how I can get the name of the annotations?

jlerbsc avatar Feb 16 '23 17:02 jlerbsc