code: @GwtIncompatible("incompatible method")
      private static boolean annotationArrayMemberEquals(final Annotation[] a1, final Annotation[] a2) {
          if (a1.length != a2.length) {
              return false;
          }
          for (int i = 0; i < a1.length; i++) {
              if (!equals(a1[i], a2[i])) {
                  return false;
              }
          }
          return true;
      }
docs: Helper method for comparing two arrays of annotations.
  
  @param a1 the first array
  @param a2 the second array
  @return a flag whether these arrays are equal