METHOD_0 ( ) { org . eclipse . swt . IDENT_0 . IDENT_1 IDENT_2 = new org . eclipse . swt . IDENT_0 . METHOD_1 ( 0 , 0 , 1000 , 1000 ) ; int IDENT_3 = - 1 ; int IDENT_4 = - 1 ; int IDENT_5 = 1000 ; int IDENT_6 = 0 ; org . eclipse . swt . IDENT_0 . METHOD_1 IDENT_7 = org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_2 ( IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . eclipse . swt . IDENT_0 . METHOD_1 , int , int , int , int ) { int IDENT_11 = 3 ; int IDENT_12 = org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_3 ( IDENT_3 , IDENT_4 , IDENT_2 ) ; int IDENT_13 = org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_3 ( IDENT_5 , IDENT_6 , IDENT_2 ) ; if ( ( IDENT_12 == 0 ) && ( IDENT_13 == 0 ) ) { return new org . eclipse . swt . IDENT_0 . METHOD_1 ( IDENT_3 , IDENT_4 , ( IDENT_5 - IDENT_3 ) , ( IDENT_6 - IDENT_4 ) ) ; } if ( ( ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_4 ( IDENT_12 , IDENT_13 ) ) || ( ( IDENT_2 . IDENT_14 ) == 0 ) ) || ( ( IDENT_2 . IDENT_15 ) == 0 ) ) { return null ; } long IDENT_16 = ( ( long ) ( IDENT_6 ) ) - ( ( long ) ( IDENT_4 ) ) ; long IDENT_17 = ( ( long ) ( IDENT_5 ) ) - ( ( long ) ( IDENT_3 ) ) ; double IDENT_18 = IDENT_16 / ( ( double ) ( IDENT_17 ) ) ; double IDENT_19 = IDENT_17 / ( ( double ) ( IDENT_16 ) ) ; int IDENT_20 = IDENT_3 ; int IDENT_21 = IDENT_4 ; int IDENT_22 = IDENT_5 ; int IDENT_23 = IDENT_6 ; for ( int i = 0 ; ( i < IDENT_11 ) && ( IDENT_12 != 0 ) ; i ++ ) { if ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_4 ( IDENT_12 , IDENT_13 ) ) { return null ; } if ( ( IDENT_12 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_24 ) ) != 0 ) { IDENT_20 = ( ( int ) ( IDENT_20 + ( IDENT_19 * ( ( ( IDENT_2 . y ) + ( IDENT_2 . IDENT_15 ) ) - IDENT_21 ) ) ) ) ; IDENT_21 = ( IDENT_2 . IDENT_15 ) + ( IDENT_2 . y ) ; } else if ( ( IDENT_12 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_25 ) ) != 0 ) { IDENT_20 = ( ( int ) ( IDENT_20 + ( IDENT_19 * ( ( IDENT_2 . y ) - IDENT_21 ) ) ) ) ; IDENT_21 = IDENT_2 . y ; } else if ( ( IDENT_12 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_26 ) ) != 0 ) { IDENT_21 = ( ( int ) ( IDENT_21 + ( IDENT_18 * ( ( ( IDENT_2 . x ) + ( IDENT_2 . IDENT_14 ) ) - IDENT_20 ) ) ) ) ; IDENT_20 = ( IDENT_2 . x ) + ( IDENT_2 . IDENT_14 ) ; } else { IDENT_21 = ( ( int ) ( IDENT_21 + ( IDENT_18 * ( ( IDENT_2 . x ) - IDENT_20 ) ) ) ) ; IDENT_20 = IDENT_2 . x ; } IDENT_12 = org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_3 ( IDENT_20 , IDENT_21 , IDENT_2 ) ; } for ( int i = 0 ; ( i < IDENT_11 ) && ( IDENT_13 != 0 ) ; i ++ ) { if ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_4 ( IDENT_12 , IDENT_13 ) ) { return null ; } if ( ( IDENT_13 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_24 ) ) != 0 ) { IDENT_22 = ( ( int ) ( IDENT_22 + ( IDENT_19 * ( ( ( IDENT_2 . y ) + ( IDENT_2 . IDENT_15 ) ) - IDENT_23 ) ) ) ) ; IDENT_23 = ( IDENT_2 . IDENT_15 ) + ( IDENT_2 . y ) ; } else if ( ( IDENT_13 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_25 ) ) != 0 ) { IDENT_22 = ( ( int ) ( IDENT_22 + ( IDENT_19 * ( ( IDENT_2 . y ) - IDENT_23 ) ) ) ) ; IDENT_23 = IDENT_2 . y ; } else if ( ( IDENT_13 & ( org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . IDENT_26 ) ) != 0 ) { IDENT_23 = ( ( int ) ( IDENT_23 + ( IDENT_18 * ( ( ( IDENT_2 . x ) + ( IDENT_2 . IDENT_14 ) ) - IDENT_22 ) ) ) ) ; IDENT_22 = ( IDENT_2 . x ) + ( IDENT_2 . IDENT_14 ) ; } else { IDENT_23 = ( ( int ) ( IDENT_23 + ( IDENT_18 * ( ( IDENT_2 . x ) - IDENT_22 ) ) ) ) ; IDENT_22 = IDENT_2 . x ; } IDENT_13 = org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_3 ( IDENT_22 , IDENT_23 , IDENT_2 ) ; } return org . eclipse . IDENT_8 . internal . IDENT_9 . ui . util . IDENT_10 . METHOD_4 ( IDENT_12 , IDENT_13 ) ? null : new org . eclipse . swt . IDENT_0 . METHOD_1 ( IDENT_20 , IDENT_21 , ( IDENT_22 - IDENT_20 ) , ( IDENT_23 - IDENT_21 ) ) ; }
org . junit . Assert . assertEquals ( new org . eclipse . swt . IDENT_0 . METHOD_1 ( 1000 , 0 , 0 , 0 ) , IDENT_7 )