public boolean outerClassHasAnnotation(Annotation annotation){
  Class<?> outer=type.getDeclaringClass();
  while (outer != null) {
    AnnotationAccessor accessor=new AnnotationAccessor(supportedAnnotations,outer,ignoreAnnotationFailure);
    if (accessor.typeHas(annotation)) {
      return true;
    }
    outer=outer.getDeclaringClass();
  }
  return false;
}

public boolean outerClassHasAnnotation ( Annotation annotation ) { Class < ? > outer = type . getDeclaringClass ( ) ; while ( outer != null ) { AnnotationAccessor accessor = new AnnotationAccessor ( supportedAnnotations , outer , ignoreAnnotationFailure ) ; if ( accessor . typeHas ( annotation ) ) { return true ; } outer = outer . getDeclaringClass ( ) ; } return false ; }
determines whether any of t ' s outer classes , if they exist , have a particular annotation .
