The methods in AnnotatedElement from SE 7 should not change their behavior in SE 8. The methods new in SE 8 - getAll[Declared]Annotations(Class<T>) - should continue to "look through" container annotations.
JDK-7154390Add support for repeating annotations in j.l.r.AnnotatedElement
JDK-8005713Simplify library support for repeating annotations in java.lang.annotation
JDK-8007278Rename j.l.r.AnnotatedElement.getAnnotations(Class) to getAnnotationsByType(Class)
JDK-8006119update javac to follow latest spec for repeatable annotations