Whether this type refers to an EnumElement.
@override bool get isEnum => declarationRef.type == ReferenceType.$enum;