@ 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 ; }
Helper method for comparing two arrays of annotations .