title: How to access static inner Java class via Clojure interop?
body: <p>Basically what I need to do is this</p>
  
  <pre><code>FileChannel.MapMode.READ_ONLY
  </code></pre>
  
  <p>I tried doing the obvious</p>
  
  <pre><code>(.. FileChannel MapMode READ_ONLY)
  </code></pre>
  
  <p>but that ends up throwing an exception </p>
  
  <pre><code>java.lang.NoSuchFieldException: MapMode
  </code></pre>
  
  <p>even the <code>/</code> notation specified as for access static fields in the <a href="http://clojure.org/java_interop" rel="noreferrer">interop documentation</a> produces the same exception</p>
  
  <pre><code>(. (FileChannel/MapMode) READ_ONLY)
  </code></pre>