@API(status=EXPERIMENTAL,
since="1.0")
public interface LifecycleContext
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.reflect.AnnotatedElement> |
annotatedElement() |
<T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<T> annotationClass) |
java.lang.String |
label() |
<T> T |
newInstance(java.lang.Class<T> clazz) |
Reporter |
reporter() |
java.lang.String label()
java.util.Optional<java.lang.reflect.AnnotatedElement> annotatedElement()
@API(status=EXPERIMENTAL, since="1.2.3") Reporter reporter()
@API(status=EXPERIMENTAL, since="1.2.4") <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.Class<T> annotationClass)
@API(status=EXPERIMENTAL, since="1.2.4") <T> T newInstance(java.lang.Class<T> clazz)