Whether this type refers to a ClassElement.
@override bool get isClass => declarationRef.type == ReferenceType.$class;