title: clojure partial File/createTempFile
body: <p>The following code exhibits the semantics that I'd like to replicate on a java static method</p>
  
  <pre><code>((partial apply (fn [x y] (print x y \newline))) ["one" "two"])
  </code></pre>
  
  <p>one two</p>
  
  <p>nil</p>
  
  <p>However, when evaluated on a static method, the following exception is thrown.</p>
  
  <pre><code>((partial apply File/createTempFile) ["hello" ".txt"])
  </code></pre>
  
  <p>CompilerException java.lang.RuntimeException: Unable to find static field: createTempFile in class java.io.File, compiling:(NO_SOURCE_PATH:50)</p>
  
  <p>Is there any way to achieve the first scenario using the static method in the second scenario?</p>