File tree Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -3038,7 +3038,6 @@ package:analyzer/dart/element/element.dart:
30383038 ElementAnnotation (class extends Object implements ConstantEvaluationTarget):
30393039 new (constructor: ElementAnnotation Function())
30403040 constantEvaluationErrors (getter: List<AnalysisError>?)
3041- element (getter: Element?, deprecated)
30423041 element2 (getter: Element2?)
30433042 isAlwaysThrows (getter: bool)
30443043 isDeprecated (getter: bool)
@@ -3132,8 +3131,6 @@ package:analyzer/dart/element/element.dart:
31323131 ShowElementCombinator (class extends Object implements NamespaceCombinator):
31333132 new (constructor: ShowElementCombinator Function())
31343133 shownNames (getter: List<String>)
3135- UndefinedElement (class extends Object implements Element, deprecated):
3136- new (constructor: UndefinedElement Function())
31373134package:analyzer/dart/element/element2.dart:
31383135 Annotatable (class extends Object):
31393136 new (constructor: Annotatable Function())
Original file line number Diff line number Diff line change @@ -392,17 +392,6 @@ abstract class ElementAnnotation implements ConstantEvaluationTarget {
392392 /// list will be empty.
393393 List <AnalysisError >? get constantEvaluationErrors;
394394
395- /// Returns the element referenced by this annotation.
396- ///
397- /// In valid code this element can be a [PropertyAccessorElement] getter
398- /// of a constant top-level variable, or a constant static field of a
399- /// class; or a constant [ConstructorElement] .
400- ///
401- /// In invalid code this element can be `null` , or a reference to any
402- /// other element.
403- @Deprecated ('Use element2 instead' )
404- Element ? get element;
405-
406395 /// Returns the element referenced by this annotation.
407396 ///
408397 /// In valid code this element can be a [GetterElement] of a constant
@@ -737,12 +726,3 @@ abstract class ShowElementCombinator implements NamespaceCombinator {
737726 /// are defined in the imported library.
738727 List <String > get shownNames;
739728}
740-
741- /// A pseudo-elements that represents names that are undefined. This situation
742- /// is not allowed by the language, so objects implementing this interface
743- /// always represent an error. As a result, most of the normal operations on
744- /// elements do not make sense and will return useless results.
745- ///
746- /// Clients may not extend, implement or mix-in this class.
747- @Deprecated ('Not used anymore' )
748- abstract class UndefinedElement implements Element {}
Original file line number Diff line number Diff line change @@ -2171,12 +2171,6 @@ class ElementAnnotationImpl implements ElementAnnotation {
21712171 @override
21722172 AnalysisContext get context => compilationUnit.library.context;
21732173
2174- @Deprecated ('Use element2 instead' )
2175- @override
2176- Element ? get element {
2177- return element2? .asElement;
2178- }
2179-
21802174 @override
21812175 bool get isAlwaysThrows => _isPackageMetaGetter (_alwaysThrowsVariableName);
21822176
@@ -10796,7 +10790,6 @@ mixin TypeParameterizedElementMixin on ElementImpl
1079610790 }
1079710791}
1079810792
10799-
1080010793/// Common base class for all analyzer-internal classes that implement
1080110794/// `VariableElement2` .
1080210795abstract class VariableElement2OrMember implements VariableElement2 {
You can’t perform that action at this time.
0 commit comments