I need to find the path to the object class in the files .class without initialization.
For example, I have a string "java.lang.System.out", I need to get "java.io.PrintStream", since "out" is "PrintStream". I have no idea how this can be done.
At the moment I am writing a compiler for the JVM, and there I need to specify the class of the object that is being accessed. Public objects are not deleted by the compiler.