Hi,
In one of my generator I would need to scan the list of all
annotations in order to find one that is marked with another
annotation. Unfortunately, there doesn't seem to be any public
mechanism in JClassType to access the list of all annotations. Looking
at the class I see:
getAnnotations()
On Sun, Aug 8, 2010 at 3:57 PM, PhilBeaudoin wrote:
> In one of my generator I would need to scan the list of all
> annotations in order to find one that is marked with another
> annotation. Unfortunately, there doesn't seem to be any public
> mechanism in JClassType to access the list of all anno
> that would do exactly what I need, but they have default visibility
> and are indicated "for testing purposes only". Is there any reason why
> these method couldn't be made public?
Because the public API requires the use of class literals, it forces
the .class file for the annotation to be on th