Thanks for the response...
I've just saw it today...
this is my class declaration public class AsyncRequestT extends
AsyncTaskObject, Void, AsyncResponseT {
using getTypeParameters
TypeVariable?[] types = getClass().getTypeParameters();
types[0].getBounds()[0] is a class
On Thu, Jun 9, 2011 at 9:31 AM, luciofm luci...@gmail.com wrote:
In this case, with getSuperclassTypeParameter() I get the parameterized
types of AsyncTask, and not of my own Class AsyncRequest...
(parameterized.getActualTypeArguments()[0] is a String type).
That's the way
Hi,
I'm having some troubles with generics, trying to get the Type of my
Parameterized class???
Let's begin with a working example...
class TestClassT {
Type type;
public TestClass() {
type = getSuperclassTypeParameter(getClass());
}
static Type
3 matches
Mail list logo