public static Annotation[] getAnnotations(final Constructor constructor) { return AnnotationReader.getReaderFor(constructor.getDeclaringClass()).getAnnotations(constructor);
public static Annotation[] getAnnotations(final Class target) { Annotation[] declaredAnnotations = AnnotationReader.getReaderFor(target).getAnnotations(); if (target.getSuperclass() == null) { return declaredAnnotations; } else { List annotations = new ArrayList(declaredAnnotations.length); Annotation[] parents = getAnnotations(target.getSuperclass()); for (int i = 0; i < parents.length; i++) { if (isInherited(parents[i].annotationType())) { annotations.add(parents[i]); } } for (int i = 0; i < declaredAnnotations.length; i++) { annotations.add(declaredAnnotations[i]); } return (Annotation[])annotations.toArray(new Annotation[]{}); }
    public static Annotation[] getAnnotations(final Constructor constructor) {        return AnnotationReader.getReaderFor(constructor.getDeclaringClass()).getAnnotations(constructor);    }