JBIDE-18710 - Invalid generated code in JAX-RS Endpoint