Details

    Description

      The information encapsulated by MethodWrapper is sometimes insufficient because a method's argument may be sub-classes/impl-classes of a class/interface. For example:

      void myMethod(ArrayList list);
      void myMethod(List list);

      In this situation, the wrong method may get invoked.

      To address this issue, a MethodWrapper can now be created using:

      public MethodWrapper(Method method, Object[] arguments);

      Creating a MethodWrapper in this fashion allows a MethodInvoker class to use

      public String[] getArgumentClassNames()

      to retrieve an array of method's arguments classes.

      Attachments

        Issue Links

          Activity

            People

              michael.saechang Michael Saechang
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP2 (5.2.6)