public void update ( TYPE_1 VAR_1 , java.lang.Object arg ) { if ( VAR_1 instanceof TYPE_2 ) { java.lang.String state = ( ( java.lang.String ) ( arg ) ) ; if ( state . equals ( STRING_1 ) ) { METHOD_1 ( ) ; } else if ( state . equals ( STRING_2 ) ) { METHOD_2 ( ) ; } } }

public void update ( TYPE_1 VAR_1 , java.lang.Object arg ) { if ( VAR_1 instanceof TYPE_2 ) { java.lang.String state = ( ( java.lang.String ) ( arg ) ) ; if ( STRING_1 . equals ( state ) ) { METHOD_1 ( ) ; } else if ( STRING_2 . equals ( state ) ) { METHOD_2 ( ) ; } } }
