If I am creating a java class to be generic, such as:
public class Foo
How can one determine internally to that class, what \'T\
The Problem is that most of the Generic stuff will disappear during compilation.
One common solution is to save the type during the creation of the Object.
For a short introduction in the Type Erasure behaviour of java read this page