hekailiang / squirrel

squirrel-foundation is a State Machine library, which provided a lightweight, easy use, type safe and programmable state machine implementation for Java.
http://hekailiang.github.io/squirrel/
Other
2.19k stars 540 forks source link

当callMethod方法找不到时会兜底使用Action.DUMMY_ACTION的考虑 #118

Open RubinCarter opened 4 years ago

RubinCarter commented 4 years ago

请问这个方法中 org.squirrelframework.foundation.fsm.impl.MethodCallActionProxyImpl#getDelegator ,当 method == null 时,会输出 Cannot find method '"+methodName+"' with parameters ... 的警告,使用兜底的 final class Action.DUMMY_ACTION 的考虑是?这块是出于什么考虑?如果我需要插入自定义逻辑块时需要什么处理?