public final class KeyResolver
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
<T> InjectedKey<T> |
keyOf(TypeReference<T> type,
java.lang.annotation.Annotation[] annotations) |
java.util.List<InjectedKey<?>> |
keysOf(TypeReference<?> declaringType,
java.lang.reflect.Parameter[] parameters)
Resolves the keys of the given parameters
|
public java.util.List<InjectedKey<?>> keysOf(TypeReference<?> declaringType, java.lang.reflect.Parameter[] parameters)
declaringType - The declaring type of the fieldparameters - The parameters to resolvepublic <T> InjectedKey<T> keyOf(TypeReference<T> type, java.lang.annotation.Annotation[] annotations)