blob: 7d982cb1c33eb4ff500828c3f98c14de9d98d9ed [file] [log] [blame]
package com.google.inject.introspect;
import com.google.inject.Key;
/**
* Javadoc.
*
* @author Kevin Bourrillion (kevinb9n@gmail.com)
*/
public interface Dependency<T> {
Implementation<?> getDependent();
Key<T> getKey();
boolean usesProviderInjection();
InjectionStyle getInjectionStyle();
// put this enum somewhere else?
enum InjectionStyle { FIELD, METHOD, CONSTRUCTOR }
}