METHOD_0 ( ) { IDENT_0 = new com . IDENT_1 . IDENT_2 . client . core . types . METHOD_1 ( ( ( org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . util . IDENT_6 . IDENT_7 ) / 2 ) , ( ( IDENT_8 . METHOD_2 ( ) ) + FLOAT_0 ) ) ; METHOD_3 ( ) ; final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . model . IDENT_9 IDENT_10 = new org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . model . impl . METHOD_4 ( new org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . model . impl . METHOD_5 ( STRING_0 ) , IDENT_11 , org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . util . IDENT_6 . IDENT_7 ) ; IDENT_12 . METHOD_6 ( IDENT_10 ) ; doReturn ( IDENT_10 ) . when ( IDENT_13 ) . METHOD_7 ( ) ; final java . lang . Integer IDENT_14 = org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . util . IDENT_15 . METHOD_8 ( view , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . IDENT_16 . grid . IDENT_17 , com . IDENT_1 . IDENT_2 . client . core . types . METHOD_1 ) { final double IDENT_18 = IDENT_19 . METHOD_9 ( ) ; final double IDENT_20 = IDENT_19 . METHOD_10 ( ) ; final com . IDENT_1 . IDENT_2 . client . core . IDENT_21 . IDENT_22 header = IDENT_23 . METHOD_11 ( ) ; final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . IDENT_16 . grid . IDENT_24 . IDENT_5 . IDENT_25 renderer = IDENT_23 . METHOD_12 ( ) ; final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . IDENT_16 . grid . IDENT_24 . IDENT_5 . impl . IDENT_26 . IDENT_27 IDENT_28 = IDENT_23 . METHOD_13 ( ) . METHOD_14 ( ) ; final double IDENT_29 = IDENT_28 . METHOD_15 ( ) ; final double IDENT_30 = ( header == null ) ? IDENT_29 : ( header . METHOD_10 ( ) ) + IDENT_29 ; final double IDENT_31 = ( header == null ) ? renderer . METHOD_2 ( ) : ( renderer . METHOD_2 ( ) ) + ( header . METHOD_10 ( ) ) ; if ( ( IDENT_18 < 0 ) || ( IDENT_18 > ( IDENT_23 . METHOD_16 ( ) ) ) ) { return null ; } if ( ( IDENT_20 < IDENT_30 ) || ( IDENT_20 > IDENT_31 ) ) { return null ; } final int IDENT_32 = IDENT_23 . METHOD_17 ( ) . METHOD_18 ( ) ; if ( IDENT_32 < 1 ) { return null ; } final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . IDENT_16 . grid . IDENT_24 . IDENT_5 . impl . IDENT_26 IDENT_33 = IDENT_23 . METHOD_13 ( ) ; final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . IDENT_16 . grid . IDENT_24 . IDENT_5 . impl . IDENT_26 . IDENT_34 IDENT_13 = IDENT_33 . METHOD_19 ( IDENT_18 ) ; final org . IDENT_3 . ext . IDENT_4 . core . IDENT_5 . client . model . IDENT_9 < ? > IDENT_10 = IDENT_13 . METHOD_7 ( ) ; if ( IDENT_10 == null ) { return null ; } int IDENT_14 = 0 ; double IDENT_35 = IDENT_20 - IDENT_30 ; final double IDENT_36 = renderer . METHOD_20 ( ) ; final double IDENT_37 = IDENT_36 * IDENT_32 ; final double IDENT_38 = IDENT_37 / ( IDENT_10 . METHOD_21 ( ) . size ( ) ) ; while ( IDENT_38 < IDENT_35 ) { IDENT_35 = IDENT_35 - IDENT_38 ; IDENT_14 ++ ; } if ( ( IDENT_14 < 0 ) || ( IDENT_14 > ( ( IDENT_10 . METHOD_21 ( ) . size ( ) ) - 1 ) ) ) { return null ; } return IDENT_14 ; }
org . junit . Assert . assertNull ( IDENT_14 )