Sorry, correction - the example should read:
public class Foo extends Bar<ABC> {
....
}
On Aug 19, 9:09 pm, Joe Hudson <[email protected]> wrote:
> For example,
>
> public class Foo<ABC> extends Bar {
> ....
>
> }
>
> If Bar is register in the config xml with a generate-with type and I
> am in the Generator code...
>
> public class CompositePageGenerator extends Generator {
>
> @Override
> public String generate(TreeLogger logger, GeneratorContext context,
> String typeName) throws UnableToCompleteException {
>
> try {
> TypeOracle typeOracle = context.getTypeOracle();
>
> // here - how can I get access to the *ABC*
> referenced as the
> generic type in the example above?
>
> Any help would be appreciated. Thanks.
>
> Joe
--
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.