|| ! long.class.equals(paramTypes[0])
|| ! String.class.equals(paramTypes[1])
|| ! String.class.equals(paramTypes[2])
|| ! Serializable.class.isAssignableFrom(paramTypes[3])
|| ! BamError.class.isAssignableFrom(paramTypes[4])) {
throw new BamException(method + " is an invalid "
+ " @" + annotationType.getSimpleName()
+ " because queries require (long, String, String, MyPayload, ActorError)");
}
/*
else if (! void.class.equals(method.getReturnType())) {