code: private <T extends AnnotatedElement> Map<T, PropertyInfo> resolveProperty(String keyPrefix, T element) {
          Map<T, PropertyInfo> result = new HashMap<>();
          if (!shouldDecorate(element)) {
              return result;
          }
  
          String key = getKey(keyPrefix, element);
          String defaultValue = getPropertyDefaultValue(element);
          String stringValue = compiled.getProperty(key, defaultValue);
  
          if (stringValue == null) {
              checkRequired(key, element);
              return result;
          }
  
          Object value = convertValue(element, stringValue);
          result.put(element, new PropertyInfo(key, stringValue, value));
          return result;
      }
docs: Resolve the property for given element.