public synchronized void METHOD_1 ( final TYPE_1 listener ) { listener . METHOD_2 ( this ) ; VAR_1 . add ( listener ) ; }
public void METHOD_1 ( final TYPE_1 listener ) { synchronized ( this ) { VAR_1 . add ( listener ) ; } listener . METHOD_2 ( this ) ; }