METHOD_0 ( ) { final java . util . List < com . IDENT_0 . common . types . IDENT_1 . IDENT_2 > IDENT_3 = com . google . common . collect . Lists . newArrayList ( ) ; IDENT_3 . add ( IDENT_2 . IDENT_4 ) ; IDENT_3 . add ( IDENT_2 . IDENT_5 ) ; final com . IDENT_0 . common . types . IDENT_1 . IDENT_2 result = com . IDENT_0 . exec . resolver . IDENT_6 . METHOD_1 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . List ) { assert ( types . size ( ) ) >= 2 ; com . IDENT_0 . common . types . IDENT_1 . IDENT_2 result = types . get ( 0 ) ; if ( result == ( com . IDENT_0 . common . types . IDENT_1 . IDENT_2 . IDENT_7 ) ) { return result ; } int IDENT_8 = IDENT_9 . IDENT_10 . get ( result ) ; for ( int i = 1 ; i < ( types . size ( ) ) ; i ++ ) { com . IDENT_0 . common . types . IDENT_1 . IDENT_2 next = types . get ( i ) ; if ( next == ( com . IDENT_0 . common . types . IDENT_1 . IDENT_2 . IDENT_7 ) ) { return next ; } if ( next == result ) { continue ; } int IDENT_11 = IDENT_9 . IDENT_10 . get ( next ) ; if ( ( com . IDENT_0 . exec . resolver . IDENT_6 . METHOD_2 ( next , result ) ) && ( IDENT_8 >= IDENT_11 ) ) { continue ; } else if ( ( com . IDENT_0 . exec . resolver . IDENT_6 . METHOD_2 ( result , next ) ) && ( IDENT_11 >= IDENT_8 ) ) { result = next ; IDENT_8 = IDENT_11 ; } else { return null ; } } return result ; }
org . junit . Assert . assertEquals ( result , IDENT_2 . IDENT_4 )