public java.util.List < TYPE_1 > METHOD_1 ( TYPE_1 target ) { java.util.List < TYPE_1 > path = new java.util.ArrayList < TYPE_1 > ( ) ; for ( TYPE_1 TYPE_2 = target ; TYPE_2 != null ; TYPE_2 = VAR_1 ) path . add ( TYPE_2 ) ; TYPE_3 . METHOD_2 ( path ) ; return path ; }

public java.util.List < java.lang.String > METHOD_1 ( TYPE_1 target ) { java.util.List < java.lang.String > path = new java.util.ArrayList < java.lang.String > ( ) ; for ( TYPE_1 TYPE_2 = target ; TYPE_2 != null ; TYPE_2 = VAR_1 ) path . add ( TYPE_2 . getName ( ) ) ; TYPE_3 . METHOD_2 ( path ) ; return path ; }
