[gwt-contrib] Why is JClassType#getAnnotations() not public?

2010-08-10 Thread PhilBeaudoin
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()

Re: [gwt-contrib] Why is JClassType#getAnnotations() not public?

2010-08-10 Thread John Tamplin
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

Re: [gwt-contrib] Why is JClassType#getAnnotations() not public?

2010-08-11 Thread BobV
> 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