I assume that, since you have a generic class, you would have a variable like that:
private T t;
(this variable needs to take a value at the constructor)
In that case you can simply create the following method:
Class getClassOfInstance()
{
return (Class) t.getClass();
}
Hope it helps!