Package org.jsondoc.springmvc.scanner
Class SpringBuilderUtils
- java.lang.Object
-
- org.jsondoc.springmvc.scanner.SpringBuilderUtils
-
public class SpringBuilderUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpringBuilderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<?> clazz, java.lang.Class<T> annotation)static <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.reflect.Method method, java.lang.Class<T> annotation)static booleanisAnnotated(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)static booleanisAnnotated(java.lang.reflect.Method method, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
-
-
-
Method Detail
-
isAnnotated
public static boolean isAnnotated(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
-
isAnnotated
public static boolean isAnnotated(java.lang.reflect.Method method, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
-
getAnnotation
public static <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<?> clazz, java.lang.Class<T> annotation)
-
getAnnotation
public static <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.reflect.Method method, java.lang.Class<T> annotation)
-
-