e43aad1984
Move TypeDeclarationResolver to be available in the Declaration phase. Add IntrospectableType interface, and IntrospectableClassDeclaration which implements it (we will eventually have IntrospectableMixinDeclaration, IntrospectableEnumDeclaration, etc). Migrate ClassIntrospector to InterfaceIntrospector, which operates on IntrospectableType instances instead of ClassDeclaration instances. Question: Possibly `InterfaceIntrospector` should have a different name, maybe just `TypeDeclarationIntrospector`? Change-Id: Ifd202bad61eeae5f7d76d769d9d96a866c0fecdb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247060 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Jake Macdonald <jakemac@google.com>