I know this might sound kinda odd, but I was wondering if it was possible to manually create a java.lang.Method
at runtime.
And what about Class<?>
?
I know this might sound kinda odd, but I was wondering if it was possible to manually create a java.lang.Method
at runtime.
And what about Class<?>
?
It is possible to create a Class<?>
at runtime using libraries such as:
These, can contain the method that you can retrieve as usually using reflection.
Take also a look at: https://stackoverflow.com/a/2532269/272388