Dealing with controllers inheritance, i found that YCoreToolkit.FindMethod() could not find the inherited methods.
So i modified it:
At line 295, i replaced
Method[] methods = aClass.getDeclaredMethods();
by
Method[] methods = aClass.getMethods();
And, at line 300, i replaced
(!publicOnly || method.getModifiers() == Modifier.PUBLIC) &&
by
(!publicOnly || Modifier.isPublic(method.getModifiers())) &&
What do you think about that ?
Regards,
exo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Tomi,
Dealing with controllers inheritance, i found that YCoreToolkit.FindMethod() could not find the inherited methods.
So i modified it:
At line 295, i replaced
Method[] methods = aClass.getDeclaredMethods();
by
Method[] methods = aClass.getMethods();
And, at line 300, i replaced
(!publicOnly || method.getModifiers() == Modifier.PUBLIC) &&
by
(!publicOnly || Modifier.isPublic(method.getModifiers())) &&
What do you think about that ?
Regards,
exo
Hi,
Are you on holidays ? ;)
exo