abstract class AbstractAnnotatedDescriptorWrapper<E extends java.lang.reflect.AnnotatedElement>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private E |
annotatedElement |
private TestDescriptor |
testDescriptor |
| Constructor and Description |
|---|
AbstractAnnotatedDescriptorWrapper(TestDescriptor testDescriptor,
E annotatedElement) |
| Modifier and Type | Method and Description |
|---|---|
<A extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<A> annotationType) |
<A extends java.lang.annotation.Annotation> |
findRepeatableAnnotations(java.lang.Class<A> annotationType) |
(package private) E |
getAnnotatedElement() |
java.lang.String |
getDisplayName() |
(package private) TestDescriptor |
getTestDescriptor() |
boolean |
isAnnotated(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
private final TestDescriptor testDescriptor
private final E extends java.lang.reflect.AnnotatedElement annotatedElement
AbstractAnnotatedDescriptorWrapper(TestDescriptor testDescriptor, E annotatedElement)
E getAnnotatedElement()
TestDescriptor getTestDescriptor()
public final java.lang.String getDisplayName()
public final boolean isAnnotated(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public final <A extends java.lang.annotation.Annotation> java.util.Optional<A> findAnnotation(java.lang.Class<A> annotationType)
public final <A extends java.lang.annotation.Annotation> java.util.List<A> findRepeatableAnnotations(java.lang.Class<A> annotationType)