When working with existing Java classes, I often get reflection warnings if I did something wrong, for example.
IllegalArgumentException No matching field found: gets for class java.lang.String clojure.lang.Reflector.getInstanceField (Reflector.java:271)
Is clojure a run-time reflection for every call to the specified methods? or is it cached in any way? Would there be a speed advantage to move any involved java-interop into the corresponding Java class?
source
share