payloadParameterType.getQualifiedName().toString()));
} else if (methodElement.getParameters().size() == 1) {
// if a single param is used it need to be the back channel
VariableElement param = methodElement.getParameters().get(0);
TypeElement paramType = (TypeElement) typeUtils.asElement(param.asType());
if (!paramType.getQualifiedName().toString().equals(Dispatcher.Channel.class.getCanonicalName())) {
String error = String.format(
"Illegal type for parameter '%s' on method '%s' in class '%s'. Expected type '%s'",
param.getSimpleName(), methodElement.getSimpleName(), storeElement.getSimpleName(),
Dispatcher.Channel.class.getCanonicalName());