public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( this . VAR_1 ) != null ) { if ( ( this . VAR_1 ) instanceof TYPE_2 ) VAR_2 . remove ( this . VAR_1 ) ; this . VAR_1 . METHOD_2 ( this ) ; } this . VAR_1 = VAR_1 ; if ( VAR_1 instanceof TYPE_2 ) VAR_2 . add ( ( ( TYPE_2 ) ( VAR_1 ) ) ) ; VAR_1 . METHOD_3 ( this ) ; }

public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( this . VAR_1 ) != null ) { if ( ( this . VAR_1 ) instanceof TYPE_2 ) VAR_2 . remove ( this . VAR_1 ) ; this . VAR_1 . METHOD_2 ( this ) ; } this . VAR_1 = VAR_1 ; if ( VAR_1 != null ) { if ( VAR_1 instanceof TYPE_2 ) VAR_2 . add ( ( ( TYPE_2 ) ( VAR_1 ) ) ) ; VAR_1 . METHOD_3 ( this ) ; } }
