Annotation Interface Jit


@Retention(RUNTIME) @Target(PARAMETER) public @interface Jit
Marker annotation for junit 5 test parameter injection. Required when service not explicitly declared in guice and so can't be recognized directly by type. The annotated parameter will be requested as guice JIT binding: injector.getInstance(ParamType).

Annotation name reference guice "Just in time" binding type.

Could be used with TestDropwizardApp or TestGuiceyApp extensions.

Since:
01.05.2020