6 Replies Latest reply on Feb 23, 2005 8:27 AM by Shigeru Chiba

    Can I get info about containing object of some methodCall?

    Reza Hay Newbie

      Hello,
      Suppose I have the following MethodCall expr:

      ..........................
      someObj.someMethod
      ..........................

      If I use:

      curMethod.instrument(new ExprEditor()
      public void edit(MethodCall m) throws CannotCompileException {
      ...............

      then I can get information about the methodCall "someMethod". For analysis purposes I will also get information about "someObj", that the method is a method of the object "someObj". Is it possible to get such information using ExprEditor? Or I should get in another way and how?

      Thanks in advance