Package net.jqwik.api.lifecycle
Annotation Interface PerProperty
@Target({ANNOTATION_TYPE,METHOD})
@Retention(RUNTIME)
@API(status=MAINTAINED,
since="1.2.4")
public @interface PerProperty
Annotate property methods of a container class with
@PerProperty
if you want to have some lifecycle control over this property alone.
If you want to control the lifecycle of all property methods use BeforeProperty or AfterProperty.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends PerProperty.Lifecycle>
Return a class that implements PerProperty.Lifecycle
-
Element Details
-
value
Class<? extends PerProperty.Lifecycle> valueReturn a class that implements PerProperty.Lifecycle- Returns:
- An implementation of PerProperty.Lifecycle
-