Is there a way to find a method by it's bytecode name?
For example, I would like to find a reference to println(Object)
by string "_root_.scala.Predef.println(Ljava/lang/Object;)V."
Is there a way to find a method by it's bytecode name?
For example, I would like to find a reference to println(Object)
by string "_root_.scala.Predef.println(Ljava/lang/Object;)V."
There is no direct way to do it.
You have to parse string to extract class name. Load class by name and iterate thru its method to find required method.