|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,CONSTRUCTOR}) @Retention(value=RUNTIME) @Documented public @interface Inject
A custom marker annotation to demonstrate how to use PowerMock to set field dependencies. In a real application these dependencies are set by an external dependency injection framework using reflection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |