Can you make a Class<T>?
I have a method
public <T> void delete(T deleteObject){
I from this information I need to derive a Class<T>. Is this posible? The reason is that I need to instanciate another class
public class Query<T> implements QueryInterface<T> {
with the constructor
public Query(Class<T> searchFor){
It is not possible to use deleteObject.getClass(), since it returns a Class<? extends Object>, which is not compatible with Class<T>.
Hope you can help!
Thanks up front!

