METHOD_0 ( ) { org . eclipse . swt . widgets . IDENT_0 IDENT_1 = new org . eclipse . swt . widgets . METHOD_1 ( tree , org . eclipse . swt . IDENT_2 . IDENT_3 ) ; "<AssertPlaceHolder>" ; IDENT_1 . METHOD_2 ( ) ; try { tree . indexOf ( IDENT_1 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . lang . IllegalArgumentException e ) { } try { tree . indexOf ( ( ( org . eclipse . swt . widgets . METHOD_1 ) ( null ) ) ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . IllegalArgumentException IDENT_4 ) { } } indexOf ( org . eclipse . IDENT_5 . widgets . grid . IDENT_6 ) { METHOD_3 ( ) ; if ( item == null ) { org . eclipse . swt . IDENT_2 . error ( IDENT_2 . IDENT_7 ) ; } if ( item . METHOD_4 ( ) ) { org . eclipse . swt . IDENT_2 . error ( IDENT_2 . IDENT_8 ) ; } if ( ! ( IDENT_9 ) ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } return ( item . METHOD_5 ( ) ) == ( this ) ? item . index : - 1 ; }
org . junit . Assert . assertEquals ( 0 , tree . indexOf ( IDENT_1 ) )