I want to take use of the reflection in clojure.
Suppose there is a part of java code
import com.example.SampleClass;
import java.lang.reflect.Field;
public class Sample {
public static void main(String[] args) {
Field field = SampleClass.class.getDeclaredField("someFiledName");
}
}
I can not find how to express the meaning of SampleClass.class
where there is not any instance of SampleClass. It is just imported so I can not use (.class SampleClass)
or (.getClass SampleClass)