@@ -344,7 +344,7 @@ abstract class DirectiveUri {}
344344/// Clients may not extend, implement or mix-in this class.
345345abstract class DirectiveUriWithLibrary extends DirectiveUriWithSource {
346346 /// The library referenced by the [source] .
347- @Deprecated ('Use library2 instead' )
347+ @Deprecated (elementModelDeprecationMsg )
348348 LibraryElement get library;
349349
350350 /// The library referenced by the [source] .
@@ -569,7 +569,7 @@ abstract class Element implements AnalysisTarget {
569569 /// This will be the element itself if it is a library element. This will be
570570 /// `null` if this element is [MultiplyDefinedElement2] that is not contained
571571 /// in a library.
572- @Deprecated ('Use Element2 instead' )
572+ @Deprecated (elementModelDeprecationMsg )
573573 LibraryElement ? get library;
574574
575575 /// The location of this element in the element model.
@@ -672,7 +672,7 @@ abstract class Element implements AnalysisTarget {
672672 /// A declaration <i>m</i> is accessible to a library <i>L</i> if <i>m</i> is
673673 /// declared in <i>L</i> or if <i>m</i> is public.
674674 /// </blockquote>
675- @Deprecated ('Use Element2 instead' )
675+ @Deprecated (elementModelDeprecationMsg )
676676 bool isAccessibleIn (LibraryElement library);
677677
678678 /// Returns either this element or the most immediate ancestor of this element
@@ -2389,7 +2389,7 @@ abstract class _ExistingElement implements Element {
23892389 @override
23902390 Element get declaration;
23912391
2392- @Deprecated ('Use Element2 instead' )
2392+ @Deprecated (elementModelDeprecationMsg )
23932393 @override
23942394 LibraryElement get library;
23952395
0 commit comments