Package com.tngtech.configbuilder.util
Class AnnotationHelper
- java.lang.Object
-
- com.tngtech.configbuilder.util.AnnotationHelper
-
public class AnnotationHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description AnnotationHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfieldHasAnnotationAnnotatedWith(Field field, Class<? extends Annotation> annotationClass)List<Annotation>getAnnotationsAnnotatedWith(Annotation[] annotations, Class<? extends Annotation> annotationClass)List<Annotation>getAnnotationsInOrder(Field field, Class<? extends Annotation>[] annotationOrder)Set<Field>getFieldsAnnotatedWith(Class<?> clazz, Class<? extends Annotation> annotationClass)Set<Method>getMethodsAnnotatedWith(Class<?> clazz, Class<? extends Annotation> annotationClass)
-
-
-
Method Detail
-
getAnnotationsAnnotatedWith
public List<Annotation> getAnnotationsAnnotatedWith(Annotation[] annotations, Class<? extends Annotation> annotationClass)
-
getAnnotationsInOrder
public List<Annotation> getAnnotationsInOrder(Field field, Class<? extends Annotation>[] annotationOrder)
-
getFieldsAnnotatedWith
public Set<Field> getFieldsAnnotatedWith(Class<?> clazz, Class<? extends Annotation> annotationClass)
-
getMethodsAnnotatedWith
public Set<Method> getMethodsAnnotatedWith(Class<?> clazz, Class<? extends Annotation> annotationClass)
-
fieldHasAnnotationAnnotatedWith
public boolean fieldHasAnnotationAnnotatedWith(Field field, Class<? extends Annotation> annotationClass)
-
-