The case that I've bumped up against several times is when trying to get the class of the generic object. Something like:
T obj;
obj = getObjFromSomewhere();
log(T.class);
This type of operation is most useful if writing framework type of some sort. I've come across it when trying to write a generic JPA base DAO type of class.