I personally would recommend using the Reflection API (java.lang.Class, java.lang.reflect.*) if you truly must determine the name of the invoked method at runtime (i.e., at the time the function is called).

- David

On Jul 2, 2005, at 2:24 AM, 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.

Thanks and Regards
Shrinivas Joshi




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to