|Monitored Caller Object with probeKit of TPTP [message #129653]
||Tue, 29 April 2008 10:05
Originally posted by: biscio81.tiscali.it|
I would know if is possible with ProbeKit of TPTP retrieve the Object that
i have three classes MyClass, Class1 and Class2. Class2 extends Class1 but
does't implement all methods of Class1.
MyClass instances a Object of Class2 and calls the method "Method1" defined
in Class1 on the Class2 object. The Method1 calls another method "Method2"
defined in Class1 and no defined in Class2. When i want retrive the object
that calls the Method2 i retrive the Class1 and no the Class2 that is the
effective object that does the call.
How do i retrive the object taht does the call?
I don't can to use the combination of beforeCall and entry Frament because
the tptp doesn't allow to specify a combination of these.
Moreover i don't can to use the StackTrace because in the printStackTrace
doesn't present a object(Class2) that calls method but only the class that
contains the method(Class1).
Powered by FUDForum
. Page generated in 0.03006 seconds