@@ -736,6 +736,15 @@ class ClassElementImpl extends ClassOrMixinElementImpl implements ClassElement {
736736 setModifier (Modifier .FINAL , isFinal);
737737 }
738738
739+ @override
740+ bool get isInline {
741+ return hasModifier (Modifier .INLINE );
742+ }
743+
744+ set isInline (bool isInline) {
745+ setModifier (Modifier .INLINE , isInline);
746+ }
747+
739748 @override
740749 bool get isInterface {
741750 return hasModifier (Modifier .INTERFACE );
@@ -5001,53 +5010,56 @@ class Modifier implements Comparable<Modifier> {
50015010 /// type being referred to is the return type.
50025011 static const Modifier IMPLICIT_TYPE = Modifier ('IMPLICIT_TYPE' , 18 );
50035012
5013+ /// Indicates that the modifier 'inline' was applied to the element.
5014+ static const Modifier INLINE = Modifier ('INLINE' , 19 );
5015+
50045016 /// Indicates that the modifier 'interface' was applied to the element.
5005- static const Modifier INTERFACE = Modifier ('INTERFACE' , 19 );
5017+ static const Modifier INTERFACE = Modifier ('INTERFACE' , 20 );
50065018
50075019 /// Indicates that the method invokes the super method with the same name.
5008- static const Modifier INVOKES_SUPER_SELF = Modifier ('INVOKES_SUPER_SELF' , 20 );
5020+ static const Modifier INVOKES_SUPER_SELF = Modifier ('INVOKES_SUPER_SELF' , 21 );
50095021
50105022 /// Indicates that modifier 'lazy' was applied to the element.
5011- static const Modifier LATE = Modifier ('LATE' , 21 );
5023+ static const Modifier LATE = Modifier ('LATE' , 22 );
50125024
50135025 /// Indicates that a class is a macro builder.
5014- static const Modifier MACRO = Modifier ('MACRO' , 22 );
5026+ static const Modifier MACRO = Modifier ('MACRO' , 23 );
50155027
50165028 /// Indicates that a class is a mixin application.
5017- static const Modifier MIXIN_APPLICATION = Modifier ('MIXIN_APPLICATION' , 23 );
5029+ static const Modifier MIXIN_APPLICATION = Modifier ('MIXIN_APPLICATION' , 24 );
50185030
50195031 /// Indicates that a class is a mixin class.
5020- static const Modifier MIXIN_CLASS = Modifier ('MIXIN_CLASS' , 24 );
5032+ static const Modifier MIXIN_CLASS = Modifier ('MIXIN_CLASS' , 25 );
50215033
5022- static const Modifier PROMOTABLE = Modifier ('IS_PROMOTABLE' , 25 );
5034+ static const Modifier PROMOTABLE = Modifier ('IS_PROMOTABLE' , 26 );
50235035
50245036 /// Indicates whether the type of a [PropertyInducingElementImpl] should be
50255037 /// used to infer the initializer. We set it to `false` if the type was
50265038 /// inferred from the initializer itself.
50275039 static const Modifier SHOULD_USE_TYPE_FOR_INITIALIZER_INFERENCE =
5028- Modifier ('SHOULD_USE_TYPE_FOR_INITIALIZER_INFERENCE' , 26 );
5040+ Modifier ('SHOULD_USE_TYPE_FOR_INITIALIZER_INFERENCE' , 27 );
50295041
50305042 /// Indicates that the modifier 'sealed' was applied to the element.
5031- static const Modifier SEALED = Modifier ('SEALED' , 27 );
5043+ static const Modifier SEALED = Modifier ('SEALED' , 28 );
50325044
50335045 /// Indicates that the pseudo-modifier 'set' was applied to the element.
5034- static const Modifier SETTER = Modifier ('SETTER' , 28 );
5046+ static const Modifier SETTER = Modifier ('SETTER' , 29 );
50355047
50365048 /// See [TypeParameterizedElement.isSimplyBounded] .
5037- static const Modifier SIMPLY_BOUNDED = Modifier ('SIMPLY_BOUNDED' , 29 );
5049+ static const Modifier SIMPLY_BOUNDED = Modifier ('SIMPLY_BOUNDED' , 30 );
50385050
50395051 /// Indicates that the modifier 'static' was applied to the element.
5040- static const Modifier STATIC = Modifier ('STATIC' , 30 );
5052+ static const Modifier STATIC = Modifier ('STATIC' , 31 );
50415053
50425054 /// Indicates that the element does not appear in the source code but was
50435055 /// implicitly created. For example, if a class does not define any
50445056 /// constructors, an implicit zero-argument constructor will be created and it
50455057 /// will be marked as being synthetic.
5046- static const Modifier SYNTHETIC = Modifier ('SYNTHETIC' , 31 );
5058+ static const Modifier SYNTHETIC = Modifier ('SYNTHETIC' , 32 );
50475059
50485060 /// Indicates that the element was appended to this enclosing element to
50495061 /// simulate temporary the effect of applying augmentation.
5050- static const Modifier TEMP_AUGMENTATION = Modifier ('TEMP_AUGMENTATION' , 32 );
5062+ static const Modifier TEMP_AUGMENTATION = Modifier ('TEMP_AUGMENTATION' , 33 );
50515063
50525064 static const List <Modifier > values = [
50535065 ABSTRACT ,
@@ -5069,6 +5081,7 @@ class Modifier implements Comparable<Modifier> {
50695081 HAS_SINCE_SDK_VERSION_COMPUTED ,
50705082 HAS_SINCE_SDK_VERSION_VALUE ,
50715083 IMPLICIT_TYPE ,
5084+ INLINE ,
50725085 INTERFACE ,
50735086 INVOKES_SUPER_SELF ,
50745087 LATE ,
0 commit comments