public static TYPE_1 METHOD_1 ( TYPE_1 n ) { TYPE_1 result = VAR_1 ; while ( ! ( n . equals ( VAR_2 ) ) ) { result = result . METHOD_2 ( n ) ; n = n . METHOD_3 ( VAR_1 ) ; } return result ; }

public TYPE_1 METHOD_1 ( ) { TYPE_1 result = VAR_1 ; TYPE_1 n = new TYPE_1 ( this ) ; while ( ! ( n . equals ( VAR_2 ) ) ) { result = result . METHOD_2 ( n ) ; n = n . METHOD_3 ( VAR_1 ) ; } return result ; }
