I'm working on an annotation processor and became curious.
Does it make any sense to annotate like this and validate within the annotation processor?
@Retention(value = RUNTIME)
@Target(value = {FIELD, METHOD, PARAMETER})
public @interface BitProperty {
@Min(1)
@Max(31)
int scale() default 31;
}