[Checkers] checkers v0.8.4 and annotations on type parameters
Niko Matsakis
niko at alum.mit.edu
Fri Jan 16 12:07:37 EST 2009
I thought the problem might be something like that. If it's not too
much trouble to support calling .getAnnotation() on the Element as
well, however, I would appreciate the patch. In my case, the
annotations in question properly belong on the Element, not the Type
corresponding to the element. Plus I wouldn't have to change my
code. :)
Niko
On Jan 16, 2009, at 6:00 PM, Mahmood Ali wrote:
> Greetings Niko,
>
>> Ok, I created a much simpler set of code here: [...]
>
> Thanks for developing the code.
>
> It seems that I misunderstood the original email (and found some
> bugs in the way too =) ).
> The supported method is to call .getAnnotation() on
> AnnotatedTypeMirror not TypeParameterElement. That is a difference
> between the patch you submitted and the one I implemented.
>
> The reason for this choice is a bit complex and is irreverent. I
> will write another patch for populating the TypeParameterElement
> properly. Expect something soon!
>
> Regards,
> Mahmood
>
More information about the checkers
mailing list