On 15/04/13 21:37, Meikel Brandmeyer (kotarak) wrote:

Their might be cases where this works. And where it doesn't. Eg. when the X-bar calls the Y-bar.

Unfortunately that is exactly what is happening... :(

http://grepcode.com/file/repo1.maven.org/maven2/org.apache.uima/uimaj-core/2.4.0/org/apache/uima/analysis_component/JCasAnnotator_ImplBase.java/

line 46 and 67 to save you potential time...
the non-abstract method which accepts the more general Interface, casts its argument and delegates to the more specific signature (which is supposed to be overriden) with that cast...

The problem is that this is not an uncommon pattern in Java...It may be the first time I'm working with it but I've seen it elsewhere...that is whay it sort of surprises we don't have a good story for that...even gen-class is getting slightly ugly and complicated...but nothing beats 'proxy' (If i could use it!)...


Jim

--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to