users@jaxb.java.net

Suppress warnings

From: Anil Arora <aarora_at_interlacesystems.com>
Date: Thu, 6 Dec 2007 10:22:11 -0800

Is there a way to generate the JAXB objects so that it includes a
@SuppressWarnings("unchecked") annotation at the beginning of the java
file? When I compile our code with -Xlint:unchecked, I just end up with
a lot of noise for the generated files.

I am using JAXB 2.1.5.

 

Thanks,

Anil