public void update ( TYPE_1 VAR_1 ) { TYPE_2 VAR_2 = context . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) . setEnabled ( ( VAR_2 == null ) ) ; } 

public void update ( TYPE_1 VAR_1 ) { if ( ( context ) == null ) { return ; } TYPE_2 VAR_2 = context . METHOD_1 ( ) ; VAR_1 . METHOD_2 ( ) . setEnabled ( ( VAR_2 == null ) ) ; } 
