@@ -0,0 +1,542 @@
+package io.quarkus.it.hibernate.validator.enums;%0A%0Aimport javax.validation.constraints.NotNull;%0A%0A/**%0A * Simply adding this class to the code, without even referencing it from anywhere,%0A * used to make Quarkus startup fail because of an error in Hibernate Validator.%0A * See https://github.com/quarkusio/quarkus/issues/3284%0A */%0Apublic enum MyEnumWithValidatorAnnotation %7B%0A    VALUE1,%0A    VALUE2;%0A%0A    public static MyEnumWithValidatorAnnotation fromCode(@NotNull String code) %7B%0A        return MyEnumWithValidatorAnnotation.valueOf(code);%0A    %7D%0A%7D

Test enums annotated with Hibernate Validator annotations