public TYPE_1 METHOD_1 ( ) throws TYPE_2 { switch ( state ) { case VAR_1 : try { this . METHOD_2 ( ) ; } catch ( TYPE_3 VAR_2 ) { } break ; case VAR_3 : try { this . METHOD_2 ( ) ; } catch ( TYPE_3 VAR_2 ) { } break ; default : break ; } state = VAR_4 ; return VAR_5 ; }

public synchronized TYPE_1 METHOD_1 ( ) throws TYPE_2 { switch ( state ) { case VAR_1 : try { this . METHOD_2 ( ) ; } catch ( TYPE_3 VAR_2 ) { } break ; case VAR_3 : try { this . METHOD_2 ( ) ; } catch ( TYPE_3 VAR_2 ) { } break ; default : break ; } state = VAR_4 ; return VAR_5 ; }
