So lets say I am trying to get a method from a class using Method m = plugin.getClass().getDeclaredMethod("getFile");
.
But that plugin
class is extending another class, which is the one with the getFile
method. I am not quite sure if that would make it throw the NoSuchMethodException
exception or not.
I know the class that the plugin
is extending has the getFile method.
Sorry if I sound confusing, a bit tired.