Annotation[] annotations, Locale locale) {
ArrayList<Documentation> result = new ArrayList<Documentation>();
if (annotations != null) {
for (Annotation annotation : annotations) {
if (Documentations.class.equals(annotation.annotationType())) {
Documentations documentations = (Documentations) annotation;
Documentation[] docus = documentations.value();
if (docus != null) {
for (Documentation docu : docus) {
if (locale == null
|| Check.isMoreSpecific(locale,
docu.locale(), false))