Re: value of return instruction

Simplice Djoko <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
Simplice Djoko wrote:

> David Hovemeyer wrote:
>
>> On Mon, Aug 23, 2004 at 04:48:42PM +0200, Simplice Djoko wrote:
>>  
>>
>>> but what can i do about the type of the parameter of the static 
>>> instrumentation function
>>> because the return value of a function can take different type
>>>   
>>
>>
>> You could have different functions for each type of value:
>> all of basic types (byte, int, etc.) and also java.lang.Object
>> (which will work for any class, interface, or array type).
>>
>> -Dave
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>  
>>
> hi dave,
>  i have another problem can you tell me please what can i do to get 
> the type of
> the return value because the method getType() of the StackInstruction 
> (DUP)class return
> me type.UNKNOWN
>
hi dave,
 i got the solution : getReturnType at the invokeInstruction

-- 
Simplice Djoko.	Equipe cadp. VERIMAG. Grenoble. France.
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.