METHOD_0 ( ) { org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 [ ] IDENT_3 = new org . eclipse . IDENT_0 . IDENT_1 . IDENT_2 [ ] { new org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 ( org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_5 , null , org . eclipse . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_2 ( 100 ) , INT_0 ) } ; java . nio . ByteBuffer IDENT_7 = org . eclipse . IDENT_0 . IDENT_1 . IDENT_6 . encode ( IDENT_3 ) ; org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 [ ] IDENT_8 = org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . decode ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } decode ( java . nio . ByteBuffer ) { try { java . util . List < org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_10 = new java . util . ArrayList ( ) ; while ( ( input . METHOD_3 ( ) ) > 0 ) { input . order ( IDENT_11 . IDENT_12 ) ; int IDENT_13 = ( input . get ( ) ) & 255 ; org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 type ; switch ( IDENT_13 & INT_1 ) { case 0 : type = org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_14 ; break ; case INT_2 : type = org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_15 ; break ; case INT_3 : type = org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_16 ; break ; case INT_1 : type = org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_5 ; break ; default : throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( ( STRING_0 + ( IDENT_13 & INT_1 ) ) ) ; } int IDENT_17 ; try { if ( ( IDENT_13 & INT_4 ) == 0 ) { IDENT_17 = ( input . get ( ) ) & 255 ; } else { IDENT_17 = ( input . METHOD_5 ( ) ) & INT_5 ; } } catch ( java . nio . IDENT_18 e ) { throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( STRING_1 , e ) ; } org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . LOG . trace ( STRING_2 , type , IDENT_17 ) ; int length ; int IDENT_19 = IDENT_13 & INT_6 ; try { switch ( IDENT_19 ) { case 0 : length = IDENT_13 & 7 ; break ; case 8 : length = ( input . get ( ) ) & 255 ; break ; case 16 : length = ( input . METHOD_5 ( ) ) & INT_5 ; break ; case INT_6 : int b = ( input . get ( ) ) & 255 ; int s = ( input . METHOD_5 ( ) ) & INT_5 ; length = ( b << 16 ) | s ; break ; default : throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( ( STRING_3 + ( IDENT_13 & INT_6 ) ) ) ; } } catch ( java . nio . IDENT_18 e ) { throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( STRING_4 , e ) ; } org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . LOG . trace ( STRING_5 , length , IDENT_19 ) ; if ( ( type == ( org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_5 ) ) || ( type == ( org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 . IDENT_4 . IDENT_15 ) ) ) { try { byte [ ] payload = new byte [ length ] ; input . get ( payload ) ; IDENT_10 . add ( new org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 ( type , null , payload , IDENT_17 ) ) ; if ( org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . LOG . METHOD_6 ( ) ) { org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . LOG . trace ( STRING_6 , org . eclipse . IDENT_0 . util . IDENT_20 . METHOD_7 ( payload ) ) ; } } catch ( java . nio . IDENT_21 e ) { throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( STRING_7 , e ) ; } } else { try { java . nio . ByteBuffer IDENT_22 = input . METHOD_8 ( ) ; ( ( java . nio . IDENT_23 ) ( METHOD_8 ) ) . METHOD_9 ( length ) ; org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 [ ] IDENT_24 = org . eclipse . IDENT_0 . IDENT_1 . IDENT_9 . decode ( METHOD_8 ) ; ( ( java . nio . IDENT_23 ) ( input ) ) . position ( ( ( ( ( java . nio . IDENT_23 ) ( input ) ) . position ( ) ) + length ) ) ; org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 IDENT_1 = new org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 ( type , IDENT_24 , null , IDENT_17 ) ; IDENT_10 . add ( IDENT_1 ) ; } catch ( java . lang . IllegalArgumentException e ) { throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( STRING_7 , e ) ; } } } return IDENT_10 . toArray ( new org . eclipse . IDENT_0 . IDENT_1 . METHOD_1 [ ] { } ) ; } catch ( org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ex ) { java . lang . String IDENT_25 = org . eclipse . IDENT_0 . util . IDENT_20 . METHOD_7 ( input . array ( ) ) ; throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( ( STRING_8 + IDENT_25 ) , ex ) ; } catch ( java . lang . RuntimeException ex ) { java . lang . String IDENT_25 = org . eclipse . IDENT_0 . util . IDENT_20 . METHOD_7 ( input . array ( ) ) ; throw new org . eclipse . IDENT_0 . IDENT_1 . METHOD_4 ( ( STRING_9 + IDENT_25 ) , ex ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_3 , IDENT_8 )