[stringtemplate-interest] StringTemplate + Doclet
Terence Parr
parrt at cs.usfca.edu
Wed Dec 22 13:49:39 PST 2010
On Dec 22, 2010, at 1:47 PM, Collin Fagan wrote:
> I ran into something like this when I was processing annotations. All annotations are interfaces and implemented with Proxy objects at runtime, hence you can't set a renderer for them. The only problem with isAssignableFrom is that it is not a one-to-one mapping like comparing classes is. How would one handel an object that isAssignableFrom multiple registered interfaces or classes?
I'm tracking order of registration so that it works like try-catch: first that fits, wins. :)
Ter
More information about the stringtemplate-interest
mailing list