Ill try to make it short. I want to iterate through the methods of a class via "getMethods()". Now when the method has a Parameter which is an instance of the "Event" class, it should be invoked.
Example Method:
private void onEvent(ExampleEvent event) {...]
"ExampleEvent" is an instance of the "Event" class.
Help is appreciated!
Aucun commentaire:
Enregistrer un commentaire