private static Map<Field, AnnotatedValueResolver> findFields(
            List<AnnotatedValueResolver> constructorAnnotatedResolvers,
            Map<Method, List<AnnotatedValueResolver>> methods,
            BeanFactoryId beanFactoryId, List<RequestObjectResolver> objectResolvers,
            DependencyInjector dependencyInjector) {
        final Set<AnnotatedValueResolver> uniques = uniqueResolverSet();
        uniques.addAll(constructorAnnotatedResolvers);
        methods.values().forEach(uniques::addAll);

        final Builder<Field, AnnotatedValueResolver> builder = ImmutableMap.builder();
        final Set<Field> fields = getAllFields(beanFactoryId.type);
        for (final Field field : fields) {
            final List<RequestConverter> converters =
                    AnnotationUtil.findDeclared(field, RequestConverter.class);
            final AnnotatedValueResolver resolver =
                    AnnotatedValueResolver.ofBeanField(
                            field, beanFactoryId.pathParams,
                            addToFirstIfExists(objectResolvers, converters, dependencyInjector),
                            dependencyInjector);
            if (resolver != null) {
                if (uniques.add(resolver)) {
                    builder.put(field, resolver);
                } else {
                    warnDuplicateResolver(resolver, field.toGenericString());
                }
            }
        }
        return builder.build();
    }
Returns a factory of the specified {@link BeanFactoryId}.
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotatedBeanFactoryRegistry.java