public class AnnotationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
getAnnotation(AnnotatedElement type,
Class<T> annotationType) |
static <T extends Annotation> |
getOptionalAnnotation(AnnotatedElement type,
Class<T> annotationType) |
public static <T extends Annotation> T getAnnotation(AnnotatedElement type, Class<T> annotationType) throws JasDBStorageException
JasDBStorageException
public static <T extends Annotation> Optional<T> getOptionalAnnotation(AnnotatedElement type, Class<T> annotationType)
Copyright © 2015. All rights reserved.