METHOD_0 ( ) { try { IDENT_0 . IDENT_1 . IDENT_2 . network . IDENT_3 IDENT_4 = new IDENT_0 . IDENT_1 . IDENT_2 . network . netty . METHOD_1 ( java . net . IDENT_5 . METHOD_2 ( STRING_0 ) , INT_0 ) ; io . netty . buffer . IDENT_6 buf = io . netty . buffer . IDENT_7 . METHOD_3 ( ) ; IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . METHOD_4 ( IDENT_4 , buf ) ; System . out . println ( ( STRING_1 + ( io . netty . buffer . IDENT_9 . METHOD_5 ( buf ) ) ) ) ; IDENT_0 . IDENT_1 . IDENT_2 . network . IDENT_3 IDENT_10 = ( ( IDENT_0 . IDENT_1 . IDENT_2 . network . IDENT_3 ) ( IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . METHOD_6 ( buf , com . google . common . base . Optional . METHOD_7 ( ) ) ) ) ; "<AssertPlaceHolder>" ; buf . METHOD_8 ( ) ; } catch ( java . net . IDENT_11 ex ) { junit . framework . Assert . fail ( ex . getMessage ( ) ) ; } } METHOD_6 ( io . netty . buffer . IDENT_6 , com . google . common . base . Optional ) { IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_12 . METHOD_9 ( ) . METHOD_10 ( ) ; try { IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_13 s = null ; if ( IDENT_14 . METHOD_11 ( ) ) { java . lang . Object IDENT_15 = IDENT_14 . get ( ) ; if ( IDENT_15 instanceof java . lang . Class ) { java . lang . Class c = ( ( java . lang . Class ) ( IDENT_14 . get ( ) ) ) ; s = IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . METHOD_12 ( c ) ; } } int IDENT_16 = - 1 ; if ( s == null ) { byte [ ] IDENT_17 = new byte [ IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_18 . getBytes ( ) ] ; if ( ! ( ( buf . METHOD_13 ( ) ) >= ( IDENT_17 . length ) ) ) { IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . LOG . error ( STRING_2 , IDENT_17 . length , buf . METHOD_13 ( ) ) ; } buf . METHOD_14 ( IDENT_17 ) ; byte [ ] IDENT_19 = new byte [ IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_20 ] ; java . util . Arrays . METHOD_15 ( IDENT_19 , ( ( byte ) ( 0 ) ) ) ; java . lang . System . METHOD_16 ( IDENT_17 , 0 , IDENT_19 , ( ( IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_20 ) - ( IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_18 . getBytes ( ) ) ) , IDENT_17 . length ) ; IDENT_16 = com . google . common . IDENT_21 . IDENT_22 . METHOD_17 ( IDENT_19 ) ; IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . LOG . trace ( STRING_3 , new java . lang . Object [ ] { IDENT_16 , IDENT_17 , IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_20 } ) ; s = IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_23 [ IDENT_16 ] ; } if ( s == null ) { IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . LOG . error ( STRING_4 , IDENT_16 , IDENT_14 ) ; return null ; } IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . LOG . debug ( STRING_5 , s , IDENT_14 ) ; return s . METHOD_6 ( buf , IDENT_14 ) ; } finally { IDENT_0 . IDENT_1 . IDENT_2 . network . netty . serialization . IDENT_8 . IDENT_12 . METHOD_9 ( ) . METHOD_18 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_10 )