| Modifier and Type | Field and Description |
|---|---|
| private final Mock | |
| private boolean | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Mock | Returns: annotation describing the mock instanceGets the annotation describing this mock instance. |
| public Object | |
| public String | Returns: the field name qualifier for this injection which may be empty string where not set.Get the field name qualifier for this injection. |
| public boolean | Returns: true if setMatched was called, indicating that a matching injection target was foundIs this injection matched by some injection target? |
| public void |
| annotation | back to summary |
|---|---|
| private final Mock annotation | |
| matched | back to summary |
|---|---|
| private boolean matched | |
| mock | back to summary |
|---|---|
| private final Object mock | |
| Injection | back to summary |
|---|---|
| public Injection(Object mock, Mock annotation) Create instance containing the given mock and annotation. | |
| getAnnotation | back to summary |
|---|---|
| public Mock getAnnotation() Gets the annotation describing this mock instance.
| |
| getMock | back to summary |
|---|---|
| public Object getMock() Gets the mock instance for this injection.
| |
| getQualifier | back to summary |
|---|---|
| public String getQualifier() Get the field name qualifier for this injection.
| |
| isMatched | back to summary |
|---|---|
| public boolean isMatched() Is this injection matched by some injection target?
| |
| setMatched | back to summary |
|---|---|
| public void setMatched() Change the status to indicate that this injection was matched to some target. | |