private <A extends Annotation, P> Optional<A> findAnnotation(FieldDescriptorImpl<BEAN, P> classField, Class<A> annotationType) { return ReflectionUtils.findAnnotation(mainClazz, classField.getField().getAccessor(), classField.getGetter().getAccessor(), classField.getSetter().getAccessor(), annotationType); }