I\'m making a MethodPointer class in order to simulate the functionality of function pointers from C++. At first, I was doing everything with just Object
MethodPointer
Object
If you do not need an specified Class-type, you could use
Class>
for you parameters.
So you have an unbound Type for your classes.
And if you want to get an instance you could use it like this:
obj.getClass().getDeclaredConstructor(Class> parameterTypes)