I cannot really create an instance of the class and call getClass() on it,
because I am calling "super" and that should be the first line of the method
calling it. I tried new A<B>().getClass() but that had its own problem. I
know this sounds like a really simple and ridiculous problem but it could be
that my brain just doesn't work in the mornings :)....

I'd appreciate any further suggestions.

On Wed, Oct 8, 2008 at 9:36 AM, Turadg Aleahmad <[EMAIL PROTECTED]> wrote:

> What's wrong with object.getClass() ?
>
>
> On Wed, Oct 8, 2008 at 9:15 AM, Rokham Sadeghnezhadfard <
> [EMAIL PROTECTED]> wrote:
>
>> Hi all,
>>
>> I'm having a hard time loading the '.class' object of a java generic
>> class. In the older java if I had a class Student, I could simply call
>> Student.class and get its Class object. But now if I have a Class <A <B>>,
>> I've tried all the possible ways I could think of to get it's class object
>> but I wasn't able. I've tried the net as well but I was out of luck :(....
>> My work is kind of halted unless I solve this little problem so if anyone
>> has more experience with Java Generics, your help is much appreciated.
>>
>> --
>> Rokham
>>
>>
>>
>
> >
>


-- 
Rokham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to