package org.codehaus.waffle.pico;

import org.codehaus.waffle.ComponentFinder;
import org.picocontainer.MutablePicoContainer;

public class PicoComponentFinder implements ComponentFinder {
    private final MutablePicoContainer contextContainer;

    public PicoComponentFinder(MutablePicoContainer contextContainer) {
        this.contextContainer = contextContainer;
    }

    public Object getComponent(String name) {
        return contextContainer.getComponent(name);
    }
}

@@ -400,16 +400,28 @@
 mponent(
+Class type, 
 String n

add a type param