@@ -208,37 +208,6 @@ bool _isFunctionTypeUnrelatedToType(FunctionType type1, DartType type2) {
208208
209209typedef AstNodePredicate = bool Function (AstNode node);
210210
211- class DartTypeUtilities {
212- @Deprecated ('Replace with `type.extendsClass`' )
213- static bool extendsClass (
214- DartType ? type, String ? className, String ? library) =>
215- type.extendsClass (className, library! );
216-
217- @Deprecated ('Replace with `rawNode.canonicalElement`' )
218- static Element ? getCanonicalElementFromIdentifier (AstNode ? rawNode) =>
219- rawNode.canonicalElement;
220-
221- @Deprecated ('Replace with `type.implementsInterface`' )
222- static bool implementsInterface (
223- DartType ? type, String interface , String library) =>
224- type.implementsInterface (interface , library);
225-
226- // TODO(pq): remove and replace w/ an extension (pending internal migration)
227- @Deprecated ('Slated for removal' )
228- static bool isClass (DartType ? type, String ? className, String ? library) =>
229- type is InterfaceType &&
230- type.element.name == className &&
231- type.element.library.name == library;
232-
233- @Deprecated ('Replace with `expression.isNullLiteral`' )
234- static bool isNullLiteral (Expression ? expression) => expression.isNullLiteral;
235-
236- @Deprecated ('Use `argumentsMatchParameters`' )
237- static bool matchesArgumentsWithParameters (NodeList <Expression > arguments,
238- NodeList <FormalParameter > parameters) =>
239- argumentsMatchParameters (arguments, parameters);
240- }
241-
242211class InterfaceTypeDefinition {
243212 final String name;
244213 final String library;
0 commit comments