@Nullable
private Object transformArg(@Nullable final Object arg, @NotNull final Class<?> declaredArgType) {
if (arg == null)
return null;
final QueryArgumentTransformer transformer = transformers.get(declaredArgType);
if (transformer == null)
return arg;
return transformer.transform(arg);
}