800e6d4d5c
Deprecate FormalParameterElement.isInitializingFormal and FormalParameterElement.isSuperFormal in favor of checking whether the element implements FieldFormalParameterElement or SuperFormalParameterElement. Update analyzer and linter callers to use the subtype checks directly. This makes the declaration form explicit in the element model and avoids duplicating information that is already encoded by the parameter element subtype. Record the formal parameter declaration form in fine-grained manifests as a single enum value instead of two independent booleans. This preserves the distinction between regular, field formal, and super formal parameters while making the manifest representation impossible to encode as conflicting forms. Update summary serialization, manifest printing, API text, and changelog entries for the deprecated API. Change-Id: Icb620afb90f31dc6d8510e1a9f49f0d9a6785754 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/499681 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>