File tree Expand file tree Collapse file tree 3 files changed +8
-31
lines changed Expand file tree Collapse file tree 3 files changed +8
-31
lines changed Original file line number Diff line number Diff line change @@ -3143,11 +3143,6 @@ package:analyzer/dart/element/element.dart:
31433143 new (constructor: ElementLocation Function())
31443144 components (getter: List<String>)
31453145 encoding (getter: String)
3146- FunctionTypedElement (class extends Object implements TypeParameterizedElement, deprecated):
3147- new (constructor: FunctionTypedElement Function())
3148- parameters (getter: List<ParameterElement>)
3149- returnType (getter: DartType)
3150- type (getter: FunctionType)
31513146 HideElementCombinator (class extends Object implements NamespaceCombinator):
31523147 new (constructor: HideElementCombinator Function())
31533148 hiddenNames (getter: List<String>)
Original file line number Diff line number Diff line change @@ -798,23 +798,6 @@ abstract class ElementLocation {
798798 String get encoding;
799799}
800800
801- /// An element that has a [FunctionType] as its [type] .
802- ///
803- /// This also provides convenient access to the parameters and return type.
804- ///
805- /// Clients may not extend, implement or mix-in this class.
806- @Deprecated ('Use FunctionTypedElement2 instead' )
807- abstract class FunctionTypedElement implements TypeParameterizedElement {
808- /// The parameters defined by this executable element.
809- List <ParameterElement > get parameters;
810-
811- /// The return type defined by this element.
812- DartType get returnType;
813-
814- /// The type defined by this element.
815- FunctionType get type;
816- }
817-
818801/// A combinator that causes some of the names in a namespace to be hidden when
819802/// being imported.
820803///
Original file line number Diff line number Diff line change @@ -5104,20 +5104,19 @@ sealed class FunctionElementImpl extends ExecutableElementImpl
51045104/// Common internal interface shared by elements whose type is a function type.
51055105///
51065106/// Clients may not extend, implement or mix-in this class.
5107- abstract class FunctionTypedElementImpl
5108- implements
5109- _ExistingElementImpl ,
5110- // ignore:deprecated_member_use_from_same_package,analyzer_use_new_elements
5111- FunctionTypedElement {
5112- @override
5107+ abstract class FunctionTypedElementImpl implements _ExistingElementImpl {
5108+ /// The parameters defined by this executable element.
51135109 List <ParameterElementImpl > get parameters;
51145110
51155111 set returnType (DartType returnType);
51165112
5117- @override
5113+ /// The type defined by this element.
51185114 FunctionTypeImpl get type;
51195115
5120- @override
5116+ /// The type parameters declared by this element directly.
5117+ ///
5118+ /// This does not include type parameters that are declared by any enclosing
5119+ /// elements.
51215120 List <TypeParameterElementImpl > get typeParameters;
51225121}
51235122
@@ -5210,7 +5209,7 @@ class GenericFunctionTypeElementImpl extends _ExistingElementImpl
52105209 @override
52115210 GenericFunctionTypeElementImpl ? get previousFragment => null ;
52125211
5213- @override
5212+ /// The return type defined by this element.
52145213 TypeImpl get returnType {
52155214 return _returnType! ;
52165215 }
You can’t perform that action at this time.
0 commit comments