[JSR308] Other questions related to Annotation processing

Chester Chen CChen at ascentmedia.com
Thu Dec 18 14:51:53 EST 2008


Artemus, 
 
   Thanks for the detailed reply. 
 
   I did not follow your last point : 
 
    >"....you will get annotation A, not annotation B. The AnnotatedTypeMirror will (by default) annotate all uses of fieldA with @B."
 
   do you mean to say
 
    ....you will get annotation A, not annotation B. The AnnotatedTypeMirror will (by default) annotate all uses of fieldA with @A.
 
  Any way, I will tries this out. 
 
Thanks
 
Chester

-----Original Message-----
From: Artemus Harper [mailto:subanark at gmail.com]
Sent: Thursday, December 18, 2008 10:28 AM
To: Chester Chen
Cc: JSR 308 (Annotations) mailing list
Subject: Re: [JSR308] Other questions related to Annotation processing


You need to ask the AnnotatedTypeFactory for a AnnotatedTypeMirror for the tree node. E.g. 
AnnotatedTypeMirror type = atypeFactory.getAnnotatedType(node);



More information about the JSR308 mailing list