Re: createInvoke method

David Foster <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
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]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.