Menu

YCoreToolkit.findMethod()

Help
exovii
2008-03-28
2013-04-08
  • exovii

    exovii - 2008-03-28

    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

     
    • exovii

      exovii - 2008-04-28

      Hi,

      Are you on holidays ? ;)

      exo

       

Log in to post a comment.