public final class JaxRsAnnotationScanner extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasAnnotation(Method method,
Class<? extends Annotation> annotation)
Checks if there is an annotation of the given type on this method or on type level for all interfaces and superclasses
|
static <T extends Annotation> |
searchForAnnotation(Method method,
Class<T> annotation)
Searches for all annotations of the given type on this method or on type level for all interfaces and superclasses
|
public static boolean hasAnnotation(Method method, Class<? extends Annotation> annotation)
method - the method to scanannotation - the annotation to search forpublic static <T extends Annotation> List<T> searchForAnnotation(Method method, Class<T> annotation)
T - the type of the annotationmethod - the method to scanannotation - the annotation to search forCopyright © 2015–2018 Taimos GmbH. All rights reserved.