METHOD_0 ( ) { org . teiid . metadata . IDENT_0 method = new org . teiid . metadata . METHOD_1 ( STRING_0 , null , null , org . teiid . metadata . METHOD_1 . IDENT_1 . IDENT_2 , org . teiid . query . function . IDENT_3 . class . getName ( ) , STRING_1 , java . util . Arrays . asList ( new org . teiid . metadata . METHOD_2 ( STRING_2 , IDENT_4 . IDENT_5 . IDENT_6 ) ) , new org . teiid . metadata . METHOD_2 ( STRING_3 , IDENT_4 . IDENT_5 . IDENT_7 ) , true , org . teiid . metadata . METHOD_1 . IDENT_8 . IDENT_9 ) ; org . teiid . query . function . IDENT_10 IDENT_11 = IDENT_12 . IDENT_13 . METHOD_3 ( ) ; org . teiid . query . function . IDENT_14 IDENT_15 = new org . teiid . query . function . METHOD_4 ( IDENT_11 , new org . teiid . query . function . METHOD_5 ( "foo" , new org . teiid . query . function . METHOD_6 ( java . util . Arrays . asList ( method ) ) , true ) ) ; org . teiid . query . function . IDENT_16 IDENT_17 = IDENT_15 . METHOD_7 ( STRING_0 , new java . lang . Class < ? > [ ] { IDENT_4 . IDENT_18 . IDENT_6 } ) ; java . lang . String IDENT_19 = STRING_4 ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . Object [ ] , org . teiid . query . util . IDENT_20 , java . lang . Object ) { if ( ! ( METHOD_9 ( ) ) ) { for ( int i = ( IDENT_21 ) ? 1 : 0 ; i < ( values . length ) ; i ++ ) { if ( ( values [ i ] ) == null ) { return null ; } } } METHOD_10 ( ) ; try { if ( IDENT_22 ) { for ( int i = 0 ; i < ( values . length ) ; i ++ ) { java . lang . Object val = values [ i ] ; if ( ( val != null ) && ( ( types [ i ] ) == ( IDENT_4 . IDENT_18 . IDENT_6 ) ) ) { values [ i ] = ( ( org . teiid . core . types . IDENT_23 ) ( val ) ) . METHOD_11 ( ) ; } } } if ( method . METHOD_12 ( ) ) { if ( IDENT_24 ) { org . teiid . core . types . IDENT_25 IDENT_26 = ( ( org . teiid . core . types . IDENT_25 ) ( values [ ( ( values . length ) - 1 ) ] ) ) ; if ( IDENT_26 != null ) { java . lang . Object [ ] IDENT_27 = IDENT_26 . METHOD_13 ( ) ; values [ ( ( values . length ) - 1 ) ] = IDENT_27 ; if ( ( IDENT_22 ) && ( ( types [ ( ( types . length ) - 1 ) ] ) == ( IDENT_4 . IDENT_18 . IDENT_6 ) ) ) { IDENT_27 = java . util . Arrays . METHOD_14 ( IDENT_27 , IDENT_27 . length ) ; for ( int i = 0 ; i < ( IDENT_27 . length ) ; i ++ ) { if ( ( IDENT_27 [ i ] ) != null ) { IDENT_27 [ i ] = ( ( org . teiid . core . types . IDENT_23 ) ( IDENT_27 [ i ] ) ) . METHOD_11 ( ) ; } } values [ ( ( values . length ) - 1 ) ] = IDENT_27 ; } java . lang . Class < ? > IDENT_28 = IDENT_29 . METHOD_15 ( ) [ ( ( types . length ) - 1 ) ] ; if ( ( ( IDENT_28 . METHOD_16 ( ) ) != ( java . lang . Object . class ) ) && ( ( IDENT_27 . getClass ( ) ) != IDENT_28 ) ) { java . lang . Object IDENT_30 = java . lang . reflect . IDENT_31 . newInstance ( IDENT_28 . METHOD_16 ( ) , IDENT_27 . length ) ; for ( int i = 0 ; i < ( IDENT_27 . length ) ; i ++ ) { java . lang . reflect . IDENT_31 . set ( IDENT_30 , i , IDENT_27 [ i ] ) ; } values [ ( ( values . length ) - 1 ) ] = IDENT_30 ; } } } else { int i = IDENT_29 . METHOD_15 ( ) . length ; java . lang . Object [ ] IDENT_32 = java . util . Arrays . METHOD_14 ( values , i ) ; java . lang . Object IDENT_30 = null ; if ( ( IDENT_29 . METHOD_15 ( ) [ ( i - 1 ) ] . METHOD_16 ( ) ) != ( java . lang . Object . class ) ) { int IDENT_33 = ( ( values . length ) - i ) + 1 ; IDENT_30 = java . lang . reflect . IDENT_31 . newInstance ( IDENT_29 . METHOD_15 ( ) [ ( i - 1 ) ] . METHOD_16 ( ) , IDENT_33 ) ; for ( int j = 0 ; j < IDENT_33 ; j ++ ) { java . lang . reflect . IDENT_31 . set ( IDENT_30 , j , values [ ( ( i - 1 ) + j ) ] ) ; } } else { IDENT_30 = java . util . Arrays . METHOD_17 ( values , ( i - 1 ) , values . length ) ; } IDENT_32 [ ( i - 1 ) ] = IDENT_30 ; values = IDENT_32 ; } } java . lang . Object result = null ; java . lang . IDENT_34 IDENT_35 = java . lang . Thread . METHOD_18 ( ) . METHOD_19 ( ) ; try { if ( ( this . IDENT_36 ) != null ) { java . lang . Thread . METHOD_18 ( ) . METHOD_20 ( this . IDENT_36 ) ; } result = IDENT_29 . invoke ( IDENT_37 , values ) ; } finally { java . lang . Thread . METHOD_18 ( ) . METHOD_20 ( IDENT_35 ) ; } if ( ( context != null ) && ( ( METHOD_21 ( ) . METHOD_22 ( ) ) <= ( IDENT_8 . IDENT_38 . METHOD_22 ( ) ) ) ) { context . METHOD_23 ( METHOD_21 ( ) ) ; } return org . teiid . query . function . IDENT_16 . METHOD_24 ( result , METHOD_25 ( ) , context ) ; } catch ( java . lang . IDENT_39 e ) { throw new org . teiid . api . exception . query . METHOD_26 ( IDENT_40 . IDENT_41 . IDENT_42 , e , IDENT_40 . IDENT_43 . gs ( IDENT_40 . IDENT_41 . IDENT_42 , METHOD_27 ( ) ) ) ; } catch ( java . lang . reflect . IDENT_44 e ) { if ( ( e . METHOD_28 ( ) ) instanceof org . teiid . common . buffer . IDENT_45 ) { throw ( ( org . teiid . common . buffer . IDENT_45 ) ( e . METHOD_28 ( ) ) ) ; } throw new org . teiid . api . exception . query . METHOD_26 ( IDENT_40 . IDENT_41 . IDENT_42 , e . METHOD_28 ( ) , IDENT_40 . IDENT_43 . gs ( IDENT_40 . IDENT_41 . IDENT_42 , METHOD_27 ( ) ) ) ; } catch ( java . lang . IDENT_46 e ) { throw new org . teiid . api . exception . query . METHOD_26 ( IDENT_40 . IDENT_41 . IDENT_47 , e , IDENT_40 . IDENT_43 . gs ( IDENT_40 . IDENT_41 . IDENT_47 , method . toString ( ) ) ) ; } catch ( org . teiid . core . types . IDENT_48 e ) { throw new org . teiid . api . exception . query . METHOD_26 ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_19 , IDENT_17 . METHOD_8 ( new java . lang . Object [ ] { new org . teiid . core . types . METHOD_29 ( IDENT_19 . getBytes ( ) ) } , null , null ) )