class ReflectionUtils {

    public static List<Field> getAllDeclaredFieldsAnnotatedWith(Class<?> type,
            Class<? extends Annotation> annotationType) {
        List<Field> fields = ReflectionUtils.getAllDeclaredFields(type);
        filterByAnnotationType(fields, annotationType);
        return fields;
    }

    private  ReflectionUtils();

}