now the getter is used to evaluate the type of a bean attribute (instead of the field itself, which may or may not exist)