if (method.getParameterTypes().length == 1 &&
method.getReturnType() == Void.TYPE &&
methodName.length() > 3 &&
methodName.startsWith("set")) {
String propertyName = decapitalizePropertyName(methodName.substring(3));
return new KernelSetAttributeInvoker(kernel, propertyName);
}
// it is just a plain old opertaion
return new KernelOperationInvoker(kernel, method);
}