public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { if ( VAR_1 == null ) { return null ; } TYPE_1 obj = new TYPE_1 ( ) ; obj . put ( STRING_1 , VAR_1 . id ) ; obj . put ( "name" , VAR_1 . name ) ; for ( TYPE_3 VAR_2 : VAR_3 . values ( ) ) { obj . put ( VAR_2 . name , VAR_1 . get ( VAR_2 . name ) ) ; } return obj ; }

public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { if ( VAR_1 == null ) { return null ; } TYPE_1 obj = new TYPE_1 ( ) ; for ( TYPE_3 VAR_2 : VAR_3 . values ( ) ) { obj . put ( VAR_2 . name , VAR_1 . get ( VAR_2 . name ) ) ; } obj . put ( STRING_1 , VAR_1 . id ) ; obj . put ( "name" , VAR_1 . name ) ; return obj ; }
