Injection to a target field.
| Modifier and Type | Field and Description |
|---|---|
| private final Field |
| Access | Constructor and Description |
|---|---|
| public | InjectionTarget(Field
Field that will receive the f)InjectionCreate instance for injection to the given field. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Field | Returns: target field for injection assignment.Get the field to which injections will be assigned. |
| public void |
| targetField | back to summary |
|---|---|
| private final Field targetField | |
| InjectionTarget | back to summary |
|---|---|
| public InjectionTarget(Field f) Create instance for injection to the given field. | |
| accepts | back to summary |
|---|---|
| public boolean accepts(Injection injection) Can the given Injection be applied to this InjectionTarget?
| |
| getTargetField | back to summary |
|---|---|
| public Field getTargetField() Get the field to which injections will be assigned.
| |
| inject | back to summary |
|---|---|
| public void inject(Object obj, Injection injection) Perform the injection against the given object set the "matched" status of the injection when successful. | |