@@ -2353,88 +2353,89 @@ class DynamicElementImpl extends ElementImpl implements TypeDefiningElement {
23532353class ElementAnnotationImpl implements ElementAnnotation {
23542354 /// The name of the top-level variable used to mark that a function always
23552355 /// throws, for dead code purposes.
2356- static String _ALWAYS_THROWS_VARIABLE_NAME = "alwaysThrows" ;
2356+ static const String _ALWAYS_THROWS_VARIABLE_NAME = "alwaysThrows" ;
23572357
23582358 /// The name of the class used to mark an element as being deprecated.
2359- static String _DEPRECATED_CLASS_NAME = "Deprecated" ;
2359+ static const String _DEPRECATED_CLASS_NAME = "Deprecated" ;
23602360
23612361 /// The name of the top-level variable used to mark an element as being
23622362 /// deprecated.
2363- static String _DEPRECATED_VARIABLE_NAME = "deprecated" ;
2363+ static const String _DEPRECATED_VARIABLE_NAME = "deprecated" ;
23642364
23652365 /// The name of the top-level variable used to mark a method as being a
23662366 /// factory.
2367- static String _FACTORY_VARIABLE_NAME = "factory" ;
2367+ static const String _FACTORY_VARIABLE_NAME = "factory" ;
23682368
23692369 /// The name of the top-level variable used to mark a class and its subclasses
23702370 /// as being immutable.
2371- static String _IMMUTABLE_VARIABLE_NAME = "immutable" ;
2371+ static const String _IMMUTABLE_VARIABLE_NAME = "immutable" ;
23722372
23732373 /// The name of the top-level variable used to mark a constructor as being
23742374 /// literal.
2375- static String _LITERAL_VARIABLE_NAME = "literal" ;
2375+ static const String _LITERAL_VARIABLE_NAME = "literal" ;
23762376
23772377 /// The name of the top-level variable used to mark a type as having
23782378 /// "optional" type arguments.
2379- static String _OPTIONAL_TYPE_ARGS_VARIABLE_NAME = "optionalTypeArgs" ;
2379+ static const String _OPTIONAL_TYPE_ARGS_VARIABLE_NAME = "optionalTypeArgs" ;
23802380
23812381 /// The name of the top-level variable used to mark a function as running
23822382 /// a single test.
2383- static String _IS_TEST_VARIABLE_NAME = "isTest" ;
2383+ static const String _IS_TEST_VARIABLE_NAME = "isTest" ;
23842384
23852385 /// The name of the top-level variable used to mark a function as running
23862386 /// a test group.
2387- static String _IS_TEST_GROUP_VARIABLE_NAME = "isTestGroup" ;
2387+ static const String _IS_TEST_GROUP_VARIABLE_NAME = "isTestGroup" ;
23882388
23892389 /// The name of the class used to JS annotate an element.
2390- static String _JS_CLASS_NAME = "JS" ;
2390+ static const String _JS_CLASS_NAME = "JS" ;
23912391
23922392 /// The name of `js` library, used to define JS annotations.
2393- static String _JS_LIB_NAME = "js" ;
2393+ static const String _JS_LIB_NAME = "js" ;
23942394
23952395 /// The name of `meta` library, used to define analysis annotations.
2396- static String _META_LIB_NAME = "meta" ;
2396+ static const String _META_LIB_NAME = "meta" ;
23972397
23982398 /// The name of the top-level variable used to mark a method as requiring
23992399 /// overriders to call super.
2400- static String _MUST_CALL_SUPER_VARIABLE_NAME = "mustCallSuper" ;
2400+ static const String _MUST_CALL_SUPER_VARIABLE_NAME = "mustCallSuper" ;
24012401
24022402 /// The name of `angular.meta` library, used to define angular analysis
24032403 /// annotations.
2404- static String _NG_META_LIB_NAME = "angular.meta" ;
2404+ static const String _NG_META_LIB_NAME = "angular.meta" ;
24052405
24062406 /// The name of the top-level variable used to mark a member as being nonVirtual.
2407- static String _NON_VIRTUAL_VARIABLE_NAME = "nonVirtual" ;
2407+ static const String _NON_VIRTUAL_VARIABLE_NAME = "nonVirtual" ;
24082408
24092409 /// The name of the top-level variable used to mark a method as being expected
24102410 /// to override an inherited method.
2411- static String _OVERRIDE_VARIABLE_NAME = "override" ;
2411+ static const String _OVERRIDE_VARIABLE_NAME = "override" ;
24122412
24132413 /// The name of the top-level variable used to mark a method as being
24142414 /// protected.
2415- static String _PROTECTED_VARIABLE_NAME = "protected" ;
2415+ static const String _PROTECTED_VARIABLE_NAME = "protected" ;
24162416
24172417 /// The name of the top-level variable used to mark a class as implementing a
24182418 /// proxy object.
2419- static String PROXY_VARIABLE_NAME = "proxy" ;
2419+ static const String PROXY_VARIABLE_NAME = "proxy" ;
24202420
24212421 /// The name of the class used to mark a parameter as being required.
2422- static String _REQUIRED_CLASS_NAME = "Required" ;
2422+ static const String _REQUIRED_CLASS_NAME = "Required" ;
24232423
24242424 /// The name of the top-level variable used to mark a parameter as being
24252425 /// required.
2426- static String _REQUIRED_VARIABLE_NAME = "required" ;
2426+ static const String _REQUIRED_VARIABLE_NAME = "required" ;
24272427
24282428 /// The name of the top-level variable used to mark a class as being sealed.
2429- static String _SEALED_VARIABLE_NAME = "sealed" ;
2429+ static const String _SEALED_VARIABLE_NAME = "sealed" ;
24302430
24312431 /// The name of the top-level variable used to mark a method as being
24322432 /// visible for templates.
2433- static String _VISIBLE_FOR_TEMPLATE_VARIABLE_NAME = "visibleForTemplate" ;
2433+ static const String _VISIBLE_FOR_TEMPLATE_VARIABLE_NAME =
2434+ "visibleForTemplate" ;
24342435
24352436 /// The name of the top-level variable used to mark a method as being
24362437 /// visible for testing.
2437- static String _VISIBLE_FOR_TESTING_VARIABLE_NAME = "visibleForTesting" ;
2438+ static const String _VISIBLE_FOR_TESTING_VARIABLE_NAME = "visibleForTesting" ;
24382439
24392440 /// The element representing the field, variable, or constructor being used as
24402441 /// an annotation.
@@ -3196,7 +3197,7 @@ abstract class ElementImpl implements Element {
31963197/// A concrete implementation of an [ElementLocation] .
31973198class ElementLocationImpl implements ElementLocation {
31983199 /// The character used to separate components in the encoded form.
3199- static int _SEPARATOR_CHAR = 0x3B ;
3200+ static const int _SEPARATOR_CHAR = 0x3B ;
32003201
32013202 /// The path to the element whose location is represented by this object.
32023203 List <String > _components;
0 commit comments