METHOD_0 ( ) { org . apache . jackrabbit . oak . api . IDENT_0 source = org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_2 . METHOD_1 ( STRING_0 , java . util . Arrays . asList ( "1" , "2" , STRING_1 ) ) ; org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_3 builder = org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_3 . METHOD_2 ( Type . IDENT_4 ) ; builder . METHOD_3 ( source ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ( ( name ) != null ) , STRING_2 ) ; METHOD_5 ( ( ( METHOD_6 ( ) ) || ( ( values . size ( ) ) == 1 ) ) , STRING_3 ) ; if ( values . isEmpty ( ) ) { return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_5 . METHOD_7 ( name , org . apache . jackrabbit . oak . api . Type . METHOD_8 ( type . METHOD_9 ( ) , true ) ) ; } else if ( METHOD_6 ( ) ) { switch ( type . METHOD_9 ( ) ) { case javax . jcr . IDENT_6 . IDENT_4 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_2 . METHOD_1 ( name , ( ( java . lang . IDENT_7 < java . lang . String > ) ( values ) ) ) ; case javax . jcr . IDENT_6 . IDENT_8 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_9 . METHOD_10 ( name , ( ( java . lang . IDENT_7 < org . apache . jackrabbit . oak . api . IDENT_10 > ) ( values ) ) ) ; case javax . jcr . IDENT_6 . IDENT_11 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_12 . METHOD_11 ( name , ( ( java . lang . IDENT_7 < java . lang . Long > ) ( values ) ) ) ; case javax . jcr . IDENT_6 . IDENT_13 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_14 . METHOD_12 ( name , ( ( java . lang . IDENT_7 < java . lang . Double > ) ( values ) ) ) ; case javax . jcr . IDENT_6 . IDENT_15 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_16 . METHOD_13 ( name , ( ( java . lang . IDENT_7 < java . lang . Boolean > ) ( values ) ) ) ; case javax . jcr . IDENT_6 . IDENT_17 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_18 . METHOD_14 ( name , ( ( java . lang . IDENT_7 < java . math . BigDecimal > ) ( values ) ) ) ; default : return new org . apache . jackrabbit . oak . plugins . IDENT_1 . METHOD_15 ( name , ( ( java . lang . IDENT_7 < java . lang . String > ) ( values ) ) , org . apache . jackrabbit . oak . api . Type . METHOD_8 ( type . METHOD_9 ( ) , true ) ) ; } } else { T value = values . get ( 0 ) ; switch ( type . METHOD_9 ( ) ) { case javax . jcr . IDENT_6 . IDENT_4 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_19 . METHOD_1 ( name , ( ( java . lang . String ) ( value ) ) ) ; case javax . jcr . IDENT_6 . IDENT_8 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_20 . METHOD_16 ( name , ( ( org . apache . jackrabbit . oak . api . IDENT_10 ) ( value ) ) ) ; case javax . jcr . IDENT_6 . IDENT_11 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_21 . METHOD_11 ( name , ( ( java . lang . Long ) ( value ) ) ) ; case javax . jcr . IDENT_6 . IDENT_13 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_22 . METHOD_12 ( name , ( ( java . lang . Double ) ( value ) ) ) ; case javax . jcr . IDENT_6 . IDENT_15 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_23 . METHOD_13 ( name , ( ( java . lang . Boolean ) ( value ) ) ) ; case javax . jcr . IDENT_6 . IDENT_17 : return org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_24 . METHOD_14 ( name , ( ( java . math . BigDecimal ) ( value ) ) ) ; default : return new org . apache . jackrabbit . oak . plugins . IDENT_1 . METHOD_17 ( name , ( ( java . lang . String ) ( value ) ) , type ) ; } } }
org . junit . Assert . assertEquals ( source , builder . METHOD_4 ( ) )