boolean intern = false;
Class<? extends Validator> validator = null;
// extract annotations
Annotation policy = field.getAnnotation(Set.class);
if (policy != null) {
Set setPolicy = (Set) policy;
codable = setPolicy.codable();
readonly = setPolicy.readonly();
writeonly = setPolicy.writeonly();
required = setPolicy.required();
intern = setPolicy.intern();
validator = setPolicy.validator();
field.setAccessible(true);
if (!codable) {
continue;
}
}