ClassHelper: add argument checker to method invocation