Method.inherited(MethodElement element, this._enclosingClass, Library library) : super(element, library) { _modelType = new ElementType(_method.type, this); _isInherited = true; _calcTypeParameters(); }