/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.search.Dependency
 */
package com.l7tech.server.search.processors;

import com.l7tech.search.Dependency;
import com.l7tech.server.search.processors.DefaultDependencyProcessor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map;

class l {
    final Method val$getterMethod;
    final Object val$object;
    final Dependency val$annotation;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    l(DefaultDependencyProcessor defaultDependencyProcessor, Method method, Object object, Dependency dependency) {
        this.val$getterMethod = method;
        this.val$object = object;
        this.val$annotation = dependency;
    }

    public void set(Object object) throws InvocationTargetException, IllegalAccessException {
        Map map = (Map)this.val$getterMethod.invoke(this.val$object, new Object[0]);
        map.put(this.val$annotation.key(), object);
    }
}

