This content has been marked as final. Show 1 reply
how do i navigate to get the className of the Object that implements the interface?
You cannot get the actual class name of the target object.
This is not the limitation of Javassist.
Greeting h = new HelloWorld(); h.speak();
Since the value of h is determined only at runtime, you cannot know
the actual class name of the value of h when Javassist is running, i.e.
compile time or load time.