3 Replies Latest reply on Jul 10, 2003 6:55 AM by bialek

    method.setBody with $$ parameters

    bialek Newbie

      With the CtNewMethod.copy, we can create a copy of a method.
      Is there a way to overwrite the method's body ?(not just insertBefore/after)
      I need a body like:
      x = object1.$proceed($$);
      return y;
      object1 has the same interface as the class being called and I need to create such body for every method.