public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { if ( ! ( VAR_2 . contains ( VAR_1 ) ) ) { VAR_2 . add ( VAR_1 ) ; VAR_1 . METHOD_2 ( this ) ; } this . VAR_1 = VAR_1 . METHOD_3 ( ) ; return VAR_1 ; }

public TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 == null ) { this . VAR_1 = null ; return null ; } if ( ! ( VAR_2 . contains ( VAR_1 ) ) ) { VAR_2 . add ( VAR_1 ) ; VAR_1 . METHOD_2 ( this ) ; } this . VAR_1 = VAR_1 . METHOD_3 ( ) ; return VAR_1 ; }
