Whether the element has an annotation of the form @protected.
@protected
@override bool get hasProtected => metadata.any((ElementAnnotation m) => m.isProtected);