That's correct. You'll want to make sure you (:import Foo$Bar) also. more info: http://blog.jayfields.com/2011/01/clojure-using-java-inner-classes.html
Cheers, Jay On Mon, Apr 30, 2012 at 11:44 AM, Tassilo Horn <[email protected]>wrote: > nick rothwell <[email protected]> writes: > > > I'm faced with the following in some legacy code: > > > > public interface Foo { interface Bar { ... String BAZ = "baz"; ... }} > > > > Is there any way of accessing Foo.Bar.BAZ in the Clojure world? I've > > tried various combinations of proxying and reifying with no joy. > > Not tested, but I think it's Foo$Bar/BAZ. > > Bye, > Tassilo > > -- > 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 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
