Appreciate any help for creating custom annotation in JAVA by forcing Upper or Lower case for a pojo field. Like to get something like below
// CaseMode enum wou
Your statement // NEED HELP HERE should be according to the following:
// NEED HELP HERE
@Target({ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface Case { CaseMode value(); }
If you think that you can have some code in there then you are wrong.