Package | Description |
---|---|
org.easymock.internal |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Injection> |
InjectionPlan.qualifiedInjections |
private java.util.List<Injection> |
InjectionPlan.unqualifiedInjections |
Modifier and Type | Method and Description |
---|---|
private static Injection |
Injector.findUniqueAssignable(java.util.List<Injection> injections,
InjectionTarget target) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Injection> |
InjectionPlan.getQualifiedInjections()
Get all injections having fieldName qualifiers.
|
java.util.List<Injection> |
InjectionPlan.getUnqualifiedInjections()
Get all injections that do not have fieldName qualifiers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InjectionTarget.accepts(Injection injection)
Can the given Injection be applied to this InjectionTarget?
|
void |
InjectionPlan.addInjection(Injection injection)
Add an
Injection to this container. |
void |
InjectionTarget.inject(java.lang.Object obj,
Injection injection)
Perform the injection against the given object set the "matched" status of the injection when successful.
|
Modifier and Type | Method and Description |
---|---|
private static Injection |
Injector.findUniqueAssignable(java.util.List<Injection> injections,
InjectionTarget target) |
private static java.util.List<java.lang.reflect.Field> |
Injector.injectByName(java.lang.Class<?> clazz,
java.lang.Object obj,
java.util.List<Injection> qualifiedInjections) |
private static void |
Injector.injectByType(java.lang.Object obj,
java.util.List<java.lang.reflect.Field> fields,
java.util.List<Injection> injections) |