JBIDE-17801 - JAX-RS validation: Bogus warning for parameter whose type is an enumeration

Check if the type is an enumeration, and return 'true' in that case.