public class SpringBuilderUtils extends Object
| Constructor and Description |
|---|
SpringBuilderUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> annotation) |
static <T extends Annotation> |
getAnnotation(Method method,
Class<T> annotation) |
static boolean |
isAnnotated(Class<?> clazz,
Class<? extends Annotation> annotation) |
static boolean |
isAnnotated(Method method,
Class<? extends Annotation> annotation) |
public static boolean isAnnotated(Class<?> clazz, Class<? extends Annotation> annotation)
public static boolean isAnnotated(Method method, Class<? extends Annotation> annotation)
public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> annotation)
public static <T extends Annotation> T getAnnotation(Method method, Class<T> annotation)
Copyright © 2019. All rights reserved.