METHOD_0 ( ) { final long IDENT_0 = INT_0 ; final java . lang . String [ ] IDENT_1 = new java . lang . String [ ] { STRING_0 } ; final java . util . Collection IDENT_2 = new java . util . ArrayList ( ) ; IDENT_2 . add ( IDENT_3 ) ; IDENT_4 . METHOD_1 ( new org . IDENT_5 . METHOD_2 ( ) { { METHOD_3 ( IDENT_6 ) . METHOD_4 ( with ( any ( java . lang . String . class ) ) , with ( any ( java . lang . String . class ) ) ) ; METHOD_5 ( METHOD_6 ( IDENT_7 ) ) ; METHOD_3 ( IDENT_6 ) . METHOD_7 ( IDENT_7 [ 0 ] ) ; METHOD_5 ( METHOD_6 ( IDENT_8 ) ) ; } } ) ; IDENT_4 . METHOD_1 ( new org . IDENT_5 . METHOD_2 ( ) { { METHOD_3 ( IDENT_8 ) . METHOD_8 ( org . osgi . service . IDENT_9 . reflect . IDENT_10 . class ) ; METHOD_5 ( METHOD_6 ( IDENT_2 ) ) ; } } ) ; IDENT_4 . METHOD_1 ( new org . IDENT_5 . METHOD_2 ( ) { { METHOD_3 ( IDENT_3 ) . getId ( ) ; METHOD_5 ( METHOD_6 ( IDENT_1 [ 0 ] ) ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( long , java . lang . String ) { org . osgi . service . IDENT_9 . container . IDENT_11 container = METHOD_10 ( IDENT_12 ) ; java . util . Collection < ? extends org . osgi . service . IDENT_9 . reflect . IDENT_13 > components ; if ( type . equals ( IDENT_14 . IDENT_15 ) ) { components = container . METHOD_8 ( org . osgi . service . IDENT_9 . reflect . IDENT_10 . class ) ; } else if ( type . equals ( IDENT_14 . IDENT_16 ) ) { components = container . METHOD_8 ( org . osgi . service . IDENT_9 . reflect . IDENT_17 . class ) ; } else if ( type . equals ( IDENT_14 . IDENT_18 ) ) { components = container . METHOD_8 ( org . osgi . service . IDENT_9 . reflect . IDENT_19 . class ) ; } else { throw new java . lang . IllegalArgumentException ( ( STRING_1 + type ) ) ; } java . lang . String [ ] IDENT_20 = new java . lang . String [ components . size ( ) ] ; int i = 0 ; for ( org . osgi . service . IDENT_9 . reflect . IDENT_13 component : components ) { if ( null == component ) continue ; IDENT_20 [ ( i ++ ) ] = component . getId ( ) ; } return IDENT_20 ; }
org . junit . Assert . assertArrayEquals ( IDENT_1 , metadata . METHOD_9 ( IDENT_0 , IDENT_14 . IDENT_15 ) )