Re: Obtain the generic parameter for a returned type

Jacob Kjome <[email protected]> Thu, 31 Aug 2006 11:27:06 -0500
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
I don't believe this is stored in the bytecode.  Look up "generics erasure" in
your favorite search engine.

Jake

Quoting Pico Florin <[email protected]>:

> Hi, all!
>     I want to know if in the latest version of BCEL it is possible to obtain
> the generic prameter for a returned type from a method.
>
>   For example
>
>     Map<String, Object> getMap()
>
>   I want to obtain the String,Object classes in an array.
>
>   Thank you,
>    Florin
>
>
> ---------------------------------
>  Inbox full of spam? Get leading spam protection and 1GB storage with All New
> Yahoo! Mail.