I don't know the answer to your question - I'm guessing generic markers are not possible?
But, I simplified a similar problem by launching the generator on the "real type" - in your case Customer; you can still extend your implementation of MySubSubSubInterface in the generator. :) On Dec 14, 11:31 pm, "Magno Machado" <[email protected]> wrote: > I have to write a generator whose marker interface has a generic typeMy > 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) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
