public final class Annotations extends Object
| Modifier and Type | Field and Description | 
|---|---|
static Function<Type,Iterable<Annotation>> | 
ANNOTATIONS_OF  | 
| Constructor and Description | 
|---|
Annotations()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Annotation>  | 
annotationOn(Type type,
            Class<T> annotationType)  | 
static Iterable<Annotation> | 
findAccessorAndTypeAnnotationsIn(AccessibleObject accessor)  | 
static Specification<AnnotatedElement> | 
hasAnnotation(Class<? extends Annotation> annotationType)  | 
static Specification<Annotation> | 
isType(Class<? extends Annotation> annotationType)  | 
static Function<Annotation,Class<? extends Annotation>> | 
type()  | 
public static Function<Type,Iterable<Annotation>> ANNOTATIONS_OF
public static Specification<AnnotatedElement> hasAnnotation(Class<? extends Annotation> annotationType)
public static Function<Annotation,Class<? extends Annotation>> type()
public static Specification<Annotation> isType(Class<? extends Annotation> annotationType)
public static <T extends Annotation> T annotationOn(Type type, Class<T> annotationType)
public static Iterable<Annotation> findAccessorAndTypeAnnotationsIn(AccessibleObject accessor)