I have a class like this :
public class SubClass <T> extends SuperClass<Collection<T>>{
public Class<T> getInner() {
// What goes here?
}
}
Where SuperClass is simply a generic class. My question is how to gain access to a Class object in order to return it? I can't seem to be able to do this because of Type erasure.
Any help?