@Target(value={FIELD,ANNOTATION_TYPE,METHOD})
@Retention(value=RUNTIME)
@API(status=MAINTAINED,
since="1.4.0")
public @interface BeforeTry
@BeforeTry
.
@BeforeTry
methods are inherited from superclasses
and implemented interfaces as long as they are not hidden
or overridden.
In embedded container classes the @BeforeTry
methods
from the inner container are run after the outer container's methods.
The execution order of multiple @BeforeTry
methods
within the same container is not guaranteed and might change.
Parameters of an annotated method will be resolved using registered instances of ResolveParameterHook. Parameters with annotation ForAll are not allowed.
AfterTry