Hi Torsten, I want to know whether one can provide something like "this" reference as the called class to createInvoke method. Since the called class might vary depending on the run-time type of objectref used by invoke* instruction. for e.g if A is superclass of B is superclass of C and one wants to add a invoke in class C to some method defined in A as well as B class then the called class can either be A or B depending on the run-time type of this reference loaded using aload_0 prior to invoke* instruction. Hope this clarifies.
Thanks and Regards Shrinivas Joshi. On Sat, 2 Jul 2005, Torsten Curdt wrote: > Shrinivas Joshi wrote: > > Hi All, > > InstructionFactory.createInvoke method takes name of the called class as > > it first parameter. Can this be used to create an invoke instruction that > > decides the name of the class at run-time. This is especially useful while > > creating invoke for some method call that is defined in super-classes of > > the calling class and appropriate class's method needs to be called based > > on the run-time type of the objectref. > > Kindly let me know about this. > > Shrinivas, > > sorry but ...but what is the question? :) > > cheers > -- > Torsten > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
