METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . transform . IDENT_4 IDENT_5 = new com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . transform . METHOD_1 ( ) ; java . util . List < java . lang . String > IDENT_6 = new java . util . ArrayList ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_7 m = new com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 ( STRING_0 , STRING_1 ) ; IDENT_6 . add ( STRING_2 ) ; IDENT_6 . add ( STRING_3 ) ; IDENT_6 . add ( STRING_4 ) ; IDENT_6 . add ( ( ( java . lang . System . currentTimeMillis ( ) ) + "" ) ) ; IDENT_6 . add ( STRING_5 ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > metrics = IDENT_5 . transform ( null , java . util . Arrays . asList ( m ) , IDENT_6 ) ; "<AssertPlaceHolder>" ; } transform ( com . IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_8 , java . util . List , java . util . List ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_9 . IDENT_10 . METHOD_3 ( ( metrics != null ) , STRING_6 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_9 . IDENT_10 . METHOD_3 ( ( ( IDENT_6 != null ) && ( ( IDENT_6 . size ( ) ) >= 2 ) ) , STRING_7 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . transform . IDENT_11 . IDENT_12 IDENT_13 = null ; int IDENT_14 = - 1 ; for ( int i = ( IDENT_6 . size ( ) ) - 1 ; i >= 0 ; i OP_0 ) { java . lang . String IDENT_15 = IDENT_6 . get ( i ) ; try { IDENT_13 = IDENT_11 . IDENT_12 . valueOf ( IDENT_15 ) ; IDENT_14 = i ; break ; } catch ( java . lang . IllegalArgumentException ex ) { } } if ( IDENT_13 == null ) { throw new java . lang . METHOD_4 ( STRING_8 ) ; } java . util . List < java . lang . String > IDENT_16 = IDENT_6 . METHOD_5 ( 0 , IDENT_14 ) ; if ( IDENT_16 . isEmpty ( ) ) { throw new java . lang . METHOD_4 ( STRING_9 ) ; } java . util . List < java . lang . String > IDENT_17 = ( IDENT_14 == ( ( IDENT_6 . size ( ) ) - 1 ) ) ? new java . util . ArrayList ( ) : IDENT_6 . METHOD_5 ( ( IDENT_14 + 1 ) , IDENT_6 . size ( ) ) ; java . util . Map < java . lang . String , java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > > IDENT_18 = new java . util . HashMap ( ) ; for ( com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 IDENT_3 : metrics ) { java . lang . String key = IDENT_16 . stream ( ) . map ( IDENT_3 :: IDENT_19 ) . filter ( IDENT_20 :: IDENT_21 ) . collect ( java . util . stream . IDENT_22 . METHOD_6 ( STRING_10 ) ) ; IDENT_18 . METHOD_7 ( key , new java . util . ArrayList ( ) ) ; IDENT_18 . get ( key ) . add ( IDENT_3 ) ; } com . IDENT_0 . IDENT_1 . IDENT_2 . service . IDENT_3 . transform . IDENT_4 transform = IDENT_23 . METHOD_8 ( IDENT_13 . getName ( ) ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > result = new java . util . ArrayList ( ) ; for ( java . util . Map . Entry < java . lang . String , java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > > entry : IDENT_18 . entrySet ( ) ) { java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > IDENT_24 = entry . getValue ( ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 > IDENT_25 = ( IDENT_17 . isEmpty ( ) ) ? transform . transform ( null , IDENT_24 ) : transform . transform ( null , IDENT_24 , IDENT_17 ) ; for ( com . IDENT_0 . IDENT_1 . IDENT_2 . entity . METHOD_2 IDENT_26 : IDENT_25 ) { IDENT_26 . METHOD_9 ( ( ( ( entry . getKey ( ) ) != null ) && ( ! ( entry . getKey ( ) . trim ( ) . isEmpty ( ) ) ) ? entry . getKey ( ) : STRING_11 ) ) ; } result . addAll ( IDENT_25 ) ; } return result ; }
org . junit . Assert . assertEquals ( metrics . size ( ) , 1 )