I have to write a generator whose marker interface has a generic type
My marker interface will be like this:
public interface MyInterface<T> {
}
the subinterfaces will provide a type for that parameter, like:
public interface MySubInterface extends MyInterface<Customer> {
}
and then I will call:
MySubInterface = GWT.create(MySubInterface.class);
Inside the generator, how can I find out what type was used on T parameter? (Customer, in this case)