public class AnnotationUtils extends Object
Constructor and Description |
---|
AnnotationUtils() |
public static boolean methodHasParamAnnotations(Method method)
@Deprecated public static List<AnnotationMetaData> getParamAnnotations(Method method)
public static List<AnnotationMetaData> getParamAnnotationsWithMeta(Method method, Class<? extends Annotation> metaAnnotation)
@Deprecated public static List<AnnotationMetaData> getClassAndMethodAnnotations(Class<?> c)
@Deprecated public static List<AnnotationMetaData> getAllMethodAnnotations(Class<?> c)
public static List<AnnotationMetaData> getMethodAnnotations(Class<?> c, Class<? extends Annotation> ann)
@Deprecated public static List<AnnotationMetaData> getMethodMetaAnnotations(Class<?> c, Class<? extends Annotation> metaAnn)
@Deprecated public static List<AnnotationMetaData> getAllFieldAnnotations(Class<?> c)
@Deprecated public static List<AnnotationMetaData> getFieldAnnotations(Class<?> c, Class<? extends Annotation> annotation)
@Deprecated public static AnnotationMetaData getClassAnnotationInHeirarchy(Class<? extends Annotation> annotation, Class<?> bottom)
@Deprecated public static AnnotationMetaData getClassAnnotationInHierarchy(Class<? extends Annotation> annotation, Class<?> bottom)
@Deprecated public static List<AnnotationMetaData> getClassAnnotationInHeirarchy(Class<?> bottom)
@Deprecated public static List<AnnotationMetaData> getClassAnnotationInHierarchy(Class<?> bottom)
protected static AnnotationMetaData getClassAnnotationForSuperClasses(Class<? extends Annotation> annotation, Class<?> bottom)
protected static void getClassAnnotationForSuperClasses(Class<?> bottom, List<AnnotationMetaData> annos)
protected static void getClassAnnotationForInterfaces(Class<?> bottom, List<AnnotationMetaData> annos)
@Deprecated public static Set<AnnotationMetaData> getFieldAnnotationsForHeirarchy(Class<?> bottom)
@Deprecated public static Set<AnnotationMetaData> getFieldAnnotationsForHierarchy(Class<?> bottom)
@Deprecated public static void getFieldAnnotationsForInterfaces(Class<?> clazz, Set<AnnotationMetaData> annos)
protected static void getFieldAnnotationsForSuperClasses(Class<?> bottom, Set<AnnotationMetaData> annos)
@Deprecated public static Set<AnnotationMetaData> getFieldAnnotationsForHeirarchy(Class<?> bottom, Class<? extends Annotation> annotation)
@Deprecated public static Set<AnnotationMetaData> getFieldAnnotationsForHierarchy(Class<?> bottom, Class<? extends Annotation> annotation)
@Deprecated public static void getFieldAnnotationsForInterfaces(Class<?> clazz, Set<AnnotationMetaData> annos, Class<? extends Annotation> annotation)
protected static void getFieldAnnotationsForSuperClasses(Class<?> bottom, Set<AnnotationMetaData> annos, Class<? extends Annotation> annotation)
@Deprecated public static boolean hasAnnotation(Class<? super Annotation> annotation, Class<?> clazz) throws IOException
IOException
public static boolean hasAnnotationWithPackage(String packageName, Class<?> clazz) throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.