Minor, but this would be a little more clear as
return getStrExpression().getDataType();