users@jaxb.java.net

if-ins plugin does not support parametrized interfaces

From: Lucas Madar <lucas_at_mcsnw.com>
Date: Mon, 13 Jul 2009 19:12:45 -0700

Hello,

I'm attempting to use the if-ins plugin to add interfaces to my
generated class. Particularly, I need to utilize generics. Putting a
generic interface declaration in the XML yields something like:

<if:interfaces
check="false">org.example.test.Usable&lt;Integer&gt;</if:interfaces>

import org.example.text.Usable<Integer>; <-- obviously won't compile

public class XTest implements Usable<Integer> { ... }

Is there a known workaround?

Thanks,
Lucas