METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . dao . IDENT_2 < com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . IDENT_5 , java . lang . Integer > IDENT_6 = METHOD_1 ( com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . IDENT_5 . class , true ) ; com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . IDENT_5 IDENT_7 = new com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 ( ) ; IDENT_6 . create ( IDENT_7 ) ; com . IDENT_0 . IDENT_1 . table . IDENT_8 < com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 , java . lang . Integer > IDENT_9 = new com . IDENT_0 . IDENT_1 . table . IDENT_8 < com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 , java . lang . Integer > ( IDENT_10 , com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 . class ) ; com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_11 < com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 , java . lang . Integer > IDENT_12 = new com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_11 < com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 , java . lang . Integer > ( IDENT_6 , IDENT_9 , null , new com . IDENT_0 . IDENT_1 . field . IDENT_13 [ 0 ] , IDENT_9 . METHOD_3 ( ) , new com . IDENT_0 . IDENT_1 . stmt . IDENT_14 [ 0 ] , null , com . IDENT_0 . IDENT_1 . stmt . IDENT_15 . IDENT_16 . IDENT_17 , false ) ; com . IDENT_0 . IDENT_1 . support . IDENT_18 conn = IDENT_19 . METHOD_4 ( com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . IDENT_20 ) ; com . IDENT_0 . IDENT_1 . support . IDENT_21 stmt = null ; try { stmt = conn . METHOD_5 ( ( STRING_0 + ( com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . IDENT_20 ) ) , IDENT_16 . IDENT_17 , new com . IDENT_0 . IDENT_1 . field . IDENT_13 [ 0 ] , IDENT_18 . IDENT_22 , true ) ; com . IDENT_0 . IDENT_1 . support . IDENT_23 results = stmt . METHOD_6 ( null ) ; while ( results . next ( ) ) { com . IDENT_0 . IDENT_1 . stmt . IDENT_3 . IDENT_4 . METHOD_2 IDENT_24 = IDENT_12 . METHOD_7 ( results ) ; "<AssertPlaceHolder>" ; } } finally { if ( stmt != null ) { stmt . close ( ) ; } IDENT_19 . METHOD_8 ( conn ) ; } } METHOD_7 ( com . IDENT_0 . IDENT_1 . support . IDENT_23 ) { java . util . Map < java . lang . String , java . lang . Integer > IDENT_25 ; if ( ( IDENT_26 ) == null ) { IDENT_25 = new java . util . HashMap < java . lang . String , java . lang . Integer > ( ) ; } else { IDENT_25 = IDENT_26 ; } com . IDENT_0 . IDENT_1 . dao . IDENT_27 IDENT_28 = results . METHOD_9 ( ) ; if ( IDENT_28 != null ) { java . lang . Object id = IDENT_29 . METHOD_10 ( results , IDENT_25 ) ; T IDENT_30 = IDENT_28 . get ( clazz , id ) ; if ( IDENT_30 != null ) { return IDENT_30 ; } } T instance = dao . METHOD_11 ( ) ; java . lang . Object id = null ; boolean IDENT_31 = false ; for ( com . IDENT_0 . IDENT_1 . field . IDENT_13 IDENT_32 : IDENT_33 ) { if ( IDENT_32 . METHOD_12 ( ) ) { IDENT_31 = true ; } else { java . lang . Object val = IDENT_32 . METHOD_10 ( results , IDENT_25 ) ; if ( ( ( ( val != null ) && ( ( parent ) != null ) ) && ( ( IDENT_32 . METHOD_13 ( ) . getType ( ) ) == ( parent . getClass ( ) ) ) ) && ( val . equals ( IDENT_34 ) ) ) { IDENT_32 . METHOD_14 ( IDENT_19 , instance , parent , true , IDENT_28 ) ; } else { IDENT_32 . METHOD_14 ( IDENT_19 , instance , val , false , IDENT_28 ) ; } if ( IDENT_32 . METHOD_15 ( ) ) { id = val ; } } } if ( IDENT_31 ) { for ( com . IDENT_0 . IDENT_1 . field . IDENT_13 IDENT_32 : IDENT_33 ) { if ( IDENT_32 . METHOD_12 ( ) ) { com . IDENT_0 . IDENT_1 . dao . IDENT_35 < ? , ? > collection = IDENT_32 . METHOD_16 ( instance , id ) ; if ( collection != null ) { IDENT_32 . METHOD_14 ( IDENT_19 , instance , collection , false , IDENT_28 ) ; } } } } IDENT_28 = results . METHOD_17 ( ) ; if ( ( IDENT_28 != null ) && ( id != null ) ) { IDENT_28 . put ( clazz , id , instance ) ; } if ( ( IDENT_26 ) == null ) { IDENT_26 = IDENT_25 ; } return instance ; }
org . junit . Assert . assertEquals ( IDENT_7 . id , IDENT_24 . id )