public class JqwikAnnotationSupport
extends java.lang.Object
| Constructor and Description |
|---|
JqwikAnnotationSupport() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.annotation.Annotation> |
findAllAnnotations(java.lang.reflect.AnnotatedElement element)
Find all annotations in an element, even if they are repeatable or only present through meta-annotations
|
static <A extends java.lang.annotation.Annotation> |
findAnnotationOnElementOrContainer(java.lang.reflect.AnnotatedElement element,
java.lang.Class<A> annotationType) |
public static java.util.List<java.lang.annotation.Annotation> findAllAnnotations(java.lang.reflect.AnnotatedElement element)
element - the element to check for present annotationspublic static <A extends java.lang.annotation.Annotation> java.util.Optional<A> findAnnotationOnElementOrContainer(java.lang.reflect.AnnotatedElement element,
java.lang.Class<A> annotationType)