You can get the class of object with object.getClass(), so Class<?> isn't needed (btw, why no space?). Second, the Method should be stored permanently somewhere, since Damage is a somewhat frequently triggered event.