avoid hook function nest call

For example, Hook java.lang.String.startWith, however, we must use startWith to
handle some string in "before callback". so that it makes stack
overflow. so we don't handle callback, when the hooked function is
called in callback function.