private static Map<String, String> getCamelNameMap(Set<String> processorNames, Method[] methods) {
        final Map<String, String> camelNameMap = new HashMap<>(processorNames.size());
        final Map<String, String> processorNameMap = new HashMap<>(processorNames.size());

        // generate lowCamel name map
        for (String name : processorNames) {
            processorNameMap.put(ThriftFunction.getCamelMethodName(name), name);
        }

        // check lowCamel name
        for (Method method : methods) {
            final String name = method.getName();
            if (!processorNames.contains(name)) {
                camelNameMap.put(processorNameMap.get(name), name);
            }
        }
        return camelNameMap;
    }
Creates a new instance from a single Thrift service interface.
thrift/thrift0.21/src/main/java/com/linecorp/armeria/internal/common/thrift/ThriftServiceMetadata.java