How to generate JaxB-Classes with java.util.Optional? : <p>I use the jaxb2-maven-plugin to generate JaxB-Classes from a given XSD.
It works fine. 
But now I want to use java.util.Optional in the generated Classes. But JaxB generated the Classes without the Optionals. So I'm forced to make a Null-Check of every Variable.</p>

<p>Did anybody know how the jaxb2-maven-plugin has to be configured to use the java.util.Optional?</p>

<p>Thanks for you help!</p>
