public FunctionDefinition()

in src/main/java/com/microsoft/azure/functions/worker/broker/FunctionDefinition.java [24:39]


    public FunctionDefinition(FunctionMethodDescriptor descriptor, Map<String, BindingInfo> bindingInfos, ClassLoaderProvider classLoaderProvider)
            throws ClassNotFoundException, NoSuchMethodException
    {
        this.descriptor = descriptor;
        this.descriptor.validateMethodInfo();

        this.containingClass = getContainingClass(descriptor.getFullClassName(), classLoaderProvider);

        this.candidate = getCandidate(descriptor, containingClass);

        this.bindingDefinitions = new HashMap<>();

        for (Map.Entry<String, BindingInfo> entry : bindingInfos.entrySet()) {
            this.bindingDefinitions.put(entry.getKey(), new BindingDefinition(entry.getKey(), entry.getValue()));
        }
    }