--- James Carman <[EMAIL PROTECTED]> wrote:

> Does anyone have code that can take care of this
> situation:
> 
> List<String> strings = new ArrayList<String>();
> 
> Class returnType = getReturnType(strings.getClass(),
> "get", int.class);
> 
> I want the "returnType" to be java.lang.String. 
> Does anyone have code
> that would return that?  Is it possible?

I definitely hope there is a way to do this, Antonio's
post notwithstanding.  I -still- haven't embraced
generics yet, but does this [1] link help?

-Matt

http://forum.java.sun.com/thread.jspa?threadID=535168&range=15&start=75&forumID=316

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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to