so, I had some kind of event handler in java which worked, but now since I converted to kotlin it doesn't anymore. I am checking if (java) event Class isInstance with the method I have, and it returns true, but then if I try to method.invoke(method), it throwns an exception about "object is not an instance of declaring class". what can I do ?
12/20/2017, 7:23 PM
are you checking against some Class object at runtime? if the class is known statically, you do