List<NamedType> get interfaceNames => astNode.interfaces .map( (name) => NamedType(name, getType), ) .toList();