static DescriptionInfo findDescription(AnnotatedElement annotatedElement) {
        requireNonNull(annotatedElement, "annotatedElement");
        final Description description = AnnotationUtil.findFirstDescription(annotatedElement);
        if (description != null) {
            final String value = description.value();
            if (DefaultValues.isSpecified(value)) {
                checkArgument(!value.isEmpty(), "value is empty.");
                return DescriptionInfo.from(description);
            }
        } else if (annotatedElement instanceof Parameter) {
            // JavaDoc/KDoc descriptions only exist for method parameters
            final Parameter parameter = (Parameter) annotatedElement;
            final Executable executable = parameter.getDeclaringExecutable();
            final Class<?> clazz = executable.getDeclaringClass();
            final String fileName = getFileName(clazz.getCanonicalName());
            final String propertyName = executable.getName() + '.' + parameter.getName();
            final Properties cachedProperties = DOCUMENTATION_PROPERTIES_CACHE.getIfPresent(fileName);
            if (cachedProperties != null) {
                final String propertyValue = cachedProperties.getProperty(propertyName);
                return propertyValue != null ? DescriptionInfo.of(propertyValue) : DescriptionInfo.empty();
            }
            try (InputStream stream = AnnotatedServiceFactory.class.getClassLoader()
                                                                   .getResourceAsStream(fileName)) {
                if (stream == null) {
                    return DescriptionInfo.empty();
                }
                final Properties properties = new Properties();
                properties.load(stream);
                DOCUMENTATION_PROPERTIES_CACHE.put(fileName, properties);

                final String propertyValue = properties.getProperty(propertyName);
                return propertyValue != null ? DescriptionInfo.of(propertyValue) : DescriptionInfo.empty();
            } catch (IOException exception) {
                logger.warn("Failed to load an API description file: {}", fileName, exception);
            }
        }
        return DescriptionInfo.empty();
    }
Returns the description of the specified {@link AnnotatedElement}.
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotatedServiceFactory.java