I’m trying to get a reference to a java.lang.Class which is on my classpath and look at the members on it with reflection. The trouble is, I’m trying to do this with only an incomplete classpath. By this I mean that the classpath contains all the classes I am interested in, but does not necessarily contain further classes which these classes might depend on. Therefore it is not possible to fully load the class in the normal way.
Is this possible?
You can use ASM to parse the
.classfile without loading the class