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 <tass...@member.fsf.org>wrote: > nick rothwell <n...@cassiel.com> 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 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 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