Hi Elric, Since Clojure is untyped, you can just totally ignore the type parameter:
(proxy [FooInitializer] [] (method [...])) Methods which accept or return F in the Java class will accept or return Object in Java, which is what happens under the hood anyway - type erasure means the type params are a figment of javac's imagination. Cheers, Colin On 29 April 2015 at 17:39, Elric Erkose <[email protected]> wrote: > How do we use a container class with a proxy? > > Given the following class signature, how would we write the proxy? > > ```java > public abstract class FooInitializer<F extends Foo> > ``` > > ```clojure > (proxy [FooInitializer ???] [] > ``` > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
