Generics and Class<? extends Enum<?>>, EnumSet.allOf(class) vs class.getEnumConstants()

前端 未结 0 921
有刺的猬
有刺的猬 2021-02-19 17:07

I have the following BeanValidation code that works fine, and permits to validate that a bean annotated with:

  @EnumValue(enumClass = MyTestEnum.class)
  privat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题