public void METHOD_1 ( TYPE_1 < TYPE_2 > listener , boolean VAR_1 , TYPE_2 result ) { if ( listener != null ) { VAR_2 . add ( listener ) ; if ( VAR_1 ) { listener . METHOD_2 ( result ) ; } } }
public void METHOD_1 ( TYPE_1 < TYPE_2 > listener , boolean VAR_1 , TYPE_2 result ) { if ( listener != null ) { if ( VAR_1 ) { listener . METHOD_2 ( result ) ; } else { VAR_2 . add ( listener ) ; } } }