public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { java.util.LinkedList < TYPE_3 > list = VAR_1 . METHOD_2 ( ) ; if ( ( list . size ( ) ) == 0 ) return null ; TYPE_1 VAR_2 = new TYPE_1 ( list . get ( 0 ) ) ; TYPE_1 VAR_3 = VAR_2 ; for ( int i = 1 ; i < ( list . size ( ) ) ; i ++ ) VAR_3 = new TYPE_1 ( list . get ( i ) , VAR_3 , null ) ; return VAR_2 ; }

public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { java.util.LinkedList < TYPE_3 > list = VAR_1 . METHOD_2 ( ) ; if ( ( list . size ( ) ) == 0 ) return null ; TYPE_1 VAR_2 = new TYPE_1 ( list . get ( 0 ) ) ; TYPE_1 VAR_3 = VAR_2 ; for ( int i = 1 ; i < ( list . size ( ) ) ; i ++ ) VAR_3 = new TYPE_1 ( list . get ( i ) , VAR_3 , null ) ; return VAR_2 ; }
