docs: protected void validateAnnotationValue(T originatingElement, String annotationName, T member, String memberName, Object resolvedValue) {
          final AnnotatedElementValidator elementValidator = getElementValidator();
          if (elementValidator != null && !erroneousElements.contains(member)) {
              final boolean shouldValidate = !(annotationName.equals(AliasFor.class.getName())) &&
                                             (!(resolvedValue instanceof String) || !resolvedValue.toString().contains("${"));
              if (shouldValidate) {
                  final Set<String> errors = elementValidator.validatedAnnotatedElement(new AnnotatedElement() {
  
                      AnnotationMetadata metadata = buildDeclared(member);
  
                      @Nonnull
                      @Override
                      public String getName() {
                          return memberName;
                      }
  
                      @Override
                      public AnnotationMetadata getAnnotationMetadata() {
                          return metadata;
                      }
                  }, resolvedValue);
  
                  if (CollectionUtils.isNotEmpty(errors)) {
                      erroneousElements.add(member);
                      for (String error : errors) {
                          error = "@" + NameUtils.getSimpleName(annotationName) + "." + memberName + ": " + error;
                          addError(originatingElement, error);
                      }
                  }
              }
          }
      }