Fix avoid_return_types_on_setters in analyzer.

R=brianwilkerson@google.com

Change-Id: If7132980451d76c777d3734abbb89ece5ad3e3d8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127425
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/analyzer/analysis_options.yaml b/pkg/analyzer/analysis_options.yaml
index b83176e..fa9d320 100644
--- a/pkg/analyzer/analysis_options.yaml
+++ b/pkg/analyzer/analysis_options.yaml
@@ -10,7 +10,6 @@
     # Ignoring "style" lint rules from pedantic for now. There are pre-existing
     # violations that need to be cleaned up. Each one can be cleaned up and
     # enabled according to the value provided.
-    avoid_return_types_on_setters: ignore
     empty_catches: ignore
     prefer_iterable_wheretype: ignore
     # TODO(srawlins): At the time of writing, 2600 violations in lib/. The fix
diff --git a/pkg/analyzer/lib/dart/ast/ast.dart b/pkg/analyzer/lib/dart/ast/ast.dart
index 1da0bed..3020a23 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -70,7 +70,7 @@
 
   /// Set the documentation comment associated with this node to the given
   /// [comment].
-  void set documentationComment(Comment comment);
+  set documentationComment(Comment comment);
 
   /// Return the first token following the comment and metadata.
   Token get firstTokenAfterCommentAndMetadata;
@@ -99,20 +99,20 @@
 
   /// Set the arguments to the constructor being invoked to the given
   /// [arguments].
-  void set arguments(ArgumentList arguments);
+  set arguments(ArgumentList arguments);
 
   /// Return the at sign that introduced the annotation.
   Token get atSign;
 
   /// Set the at sign that introduced the annotation to the given [token].
-  void set atSign(Token token);
+  set atSign(Token token);
 
   /// Return the name of the constructor being invoked, or `null` if this
   /// annotation is not the invocation of a named constructor.
   SimpleIdentifier get constructorName;
 
   /// Set the name of the constructor being invoked to the given [name].
-  void set constructorName(SimpleIdentifier name);
+  set constructorName(SimpleIdentifier name);
 
   /// Return the element associated with this annotation, or `null` if the AST
   /// structure has not been resolved or if this annotation could not be
@@ -120,7 +120,7 @@
   Element get element;
 
   /// Set the element associated with this annotation to the given [element].
-  void set element(Element element);
+  set element(Element element);
 
   /// Return the element annotation representing this annotation in the element
   /// model.
@@ -128,7 +128,7 @@
 
   /// Set the element annotation representing this annotation in the element
   /// model to the given [annotation].
-  void set elementAnnotation(ElementAnnotation annotation);
+  set elementAnnotation(ElementAnnotation annotation);
 
   /// Return the name of the class defining the constructor that is being
   /// invoked or the name of the field that is being referenced.
@@ -136,14 +136,14 @@
 
   /// Set the name of the class defining the constructor that is being invoked
   /// or the name of the field that is being referenced to the given [name].
-  void set name(Identifier name);
+  set name(Identifier name);
 
   /// Return the period before the constructor name, or `null` if this
   /// annotation is not the invocation of a named constructor.
   Token get period;
 
   /// Set the period before the constructor name to the given [token].
-  void set period(Token token);
+  set period(Token token);
 }
 
 /// A list of arguments in the invocation of an executable element (that is, a
@@ -168,19 +168,19 @@
   /// list to the given list of [parameters]. The list of parameters must be the
   /// same length as the number of arguments, but can contain `null` entries if
   /// a given argument does not correspond to a formal parameter.
-  void set correspondingStaticParameters(List<ParameterElement> parameters);
+  set correspondingStaticParameters(List<ParameterElement> parameters);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 }
 
 /// An as expression.
@@ -194,20 +194,20 @@
   Token get asOperator;
 
   /// Set the 'as' operator to the given [token].
-  void set asOperator(Token token);
+  set asOperator(Token token);
 
   /// Return the expression used to compute the value being cast.
   Expression get expression;
 
   /// Set the expression used to compute the value being cast to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the type being cast to.
   TypeAnnotation get type;
 
   /// Set the type being cast to to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 }
 
 /// An assert in the initializer list of a constructor.
@@ -226,7 +226,7 @@
   Token get assertKeyword;
 
   /// Set the token representing the 'assert' keyword to the given [token].
-  void set assertKeyword(Token token);
+  set assertKeyword(Token token);
 
   /// Return the comma between the [condition] and the [message], or `null` if
   /// no message was supplied.
@@ -234,20 +234,20 @@
 
   /// Set the comma between the [condition] and the [message] to the given
   /// [token].
-  void set comma(Token token);
+  set comma(Token token);
 
   /// Return the condition that is being asserted to be `true`.
   Expression get condition;
 
   /// Set the condition that is being asserted to be `true` to the given
   /// [condition].
-  void set condition(Expression condition);
+  set condition(Expression condition);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the message to report if the assertion fails, or `null` if no
   /// message was supplied.
@@ -255,13 +255,13 @@
 
   /// Set the message to report if the assertion fails to the given
   /// [expression].
-  void set message(Expression expression);
+  set message(Expression expression);
 
   ///  Return the right parenthesis.
   Token get rightParenthesis;
 
   ///  Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 }
 
 /// An assert statement.
@@ -275,7 +275,7 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// An assignment expression.
@@ -290,20 +290,20 @@
   Expression get leftHandSide;
 
   /// Return the expression used to compute the left hand side.
-  void set leftHandSide(Expression expression);
+  set leftHandSide(Expression expression);
 
   /// Return the assignment operator being applied.
   Token get operator;
 
   /// Set the assignment operator being applied to the given [token].
-  void set operator(Token token);
+  set operator(Token token);
 
   /// Return the expression used to compute the right hand side.
   Expression get rightHandSide;
 
   /// Set the expression used to compute the left hand side to the given
   /// [expression].
-  void set rightHandSide(Expression expression);
+  set rightHandSide(Expression expression);
 }
 
 /// A node in the AST structure for a Dart program.
@@ -671,14 +671,14 @@
   Token get awaitKeyword;
 
   /// Set the 'await' keyword to the given [token].
-  void set awaitKeyword(Token token);
+  set awaitKeyword(Token token);
 
   /// Return the expression whose value is being waited on.
   Expression get expression;
 
   /// Set the expression whose value is being waited on to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 }
 
 /// A binary (infix) expression.
@@ -694,27 +694,27 @@
 
   /// Set the expression used to compute the left operand to the given
   /// [expression].
-  void set leftOperand(Expression expression);
+  set leftOperand(Expression expression);
 
   /// Return the binary operator being applied.
   Token get operator;
 
   /// Set the binary operator being applied to the given [token].
-  void set operator(Token token);
+  set operator(Token token);
 
   /// Return the expression used to compute the right operand.
   Expression get rightOperand;
 
   /// Set the expression used to compute the right operand to the given
   /// [expression].
-  void set rightOperand(Expression expression);
+  set rightOperand(Expression expression);
 
   /// The function type of the invocation, or `null` if the AST structure has
   /// not been resolved, or if the invocation could not be resolved.
   FunctionType get staticInvokeType;
 
   /// Sets the function type of the invocation.
-  void set staticInvokeType(FunctionType value);
+  set staticInvokeType(FunctionType value);
 }
 
 /// A sequence of statements.
@@ -728,13 +728,13 @@
   Token get leftBracket;
 
   /// Set the left curly bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the right curly bracket.
   Token get rightBracket;
 
   /// Set the right curly bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 
   /// Return the statements contained in the block.
   NodeList<Statement> get statements;
@@ -751,13 +751,13 @@
   Block get block;
 
   /// Set the block representing the body of the function to the given [block].
-  void set block(Block block);
+  set block(Block block);
 
   /// Set token representing the 'async' or 'sync' keyword to the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Set the star following the 'async' or 'sync' keyword to the given [token].
-  void set star(Token token);
+  set star(Token token);
 }
 
 /// A boolean literal expression.
@@ -771,7 +771,7 @@
   Token get literal;
 
   /// Set the token representing the literal to the given [token].
-  void set literal(Token token);
+  set literal(Token token);
 
   /// Return the value of the literal.
   bool get value;
@@ -788,20 +788,20 @@
   Token get breakKeyword;
 
   /// Set the token representing the 'break' keyword to the given [token].
-  void set breakKeyword(Token token);
+  set breakKeyword(Token token);
 
   /// Return the label associated with the statement, or `null` if there is no
   /// label.
   SimpleIdentifier get label;
 
   /// Set the label associated with the statement to the given [identifier].
-  void set label(SimpleIdentifier identifier);
+  set label(SimpleIdentifier identifier);
 
   /// Return the semicolon terminating the statement.
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the node from which this break statement is breaking.
   ///
@@ -815,7 +815,7 @@
 
   /// Set the node from which this break statement is breaking to the given
   /// [node].
-  void set target(AstNode node);
+  set target(AstNode node);
 }
 
 /// A sequence of cascaded expressions: expressions that share a common target.
@@ -844,7 +844,7 @@
   Expression get target;
 
   /// Set the target of the cascade sections to the given [target].
-  void set target(Expression target);
+  set target(Expression target);
 }
 
 /// A catch clause within a try statement.
@@ -862,14 +862,14 @@
   Block get body;
 
   /// Set the body of the catch block to the given [block].
-  void set body(Block block);
+  set body(Block block);
 
   /// Return the token representing the 'catch' keyword, or `null` if there is
   /// no 'catch' keyword.
   Token get catchKeyword;
 
   /// Set the token representing the 'catch' keyword to the given [token].
-  void set catchKeyword(Token token);
+  set catchKeyword(Token token);
 
   /// Return the comma separating the exception parameter from the stack trace
   /// parameter, or `null` if there is no stack trace parameter.
@@ -877,7 +877,7 @@
 
   /// Set the comma separating the exception parameter from the stack trace
   /// parameter to the given [token].
-  void set comma(Token token);
+  set comma(Token token);
 
   /// Return the parameter whose value will be the exception that was thrown, or
   /// `null` if there is no 'catch' keyword.
@@ -885,7 +885,7 @@
 
   /// Set the parameter whose value will be the exception that was thrown to the
   /// given [parameter].
-  void set exceptionParameter(SimpleIdentifier parameter);
+  set exceptionParameter(SimpleIdentifier parameter);
 
   /// Return the type of exceptions caught by this catch clause, or `null` if
   /// this catch clause catches every type of exception.
@@ -893,26 +893,26 @@
 
   /// Set the type of exceptions caught by this catch clause to the given
   /// [exceptionType].
-  void set exceptionType(TypeAnnotation exceptionType);
+  set exceptionType(TypeAnnotation exceptionType);
 
   /// Return the left parenthesis, or `null` if there is no 'catch' keyword.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the token representing the 'on' keyword, or `null` if there is no
   /// 'on' keyword.
   Token get onKeyword;
 
   /// Set the token representing the 'on' keyword to the given [token].
-  void set onKeyword(Token token);
+  set onKeyword(Token token);
 
   /// Return the right parenthesis, or `null` if there is no 'catch' keyword.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the parameter whose value will be the stack trace associated with
   /// the exception, or `null` if there is no stack trace parameter.
@@ -920,7 +920,7 @@
 
   /// Set the parameter whose value will be the stack trace associated with the
   /// exception to the given [parameter].
-  void set stackTraceParameter(SimpleIdentifier parameter);
+  set stackTraceParameter(SimpleIdentifier parameter);
 }
 
 /// The declaration of a class.
@@ -937,50 +937,50 @@
   Token get abstractKeyword;
 
   /// Set the 'abstract' keyword to the given [token].
-  void set abstractKeyword(Token token);
+  set abstractKeyword(Token token);
 
   /// Return the token representing the 'class' keyword.
   Token get classKeyword;
 
   /// Set the token representing the 'class' keyword.
-  void set classKeyword(Token token);
+  set classKeyword(Token token);
 
   /// Return the extends clause for this class, or `null` if the class does not
   /// extend any other class.
   ExtendsClause get extendsClause;
 
   /// Set the extends clause for this class to the given [extendsClause].
-  void set extendsClause(ExtendsClause extendsClause);
+  set extendsClause(ExtendsClause extendsClause);
 
   /// Set the implements clause for the class to the given [implementsClause].
-  void set implementsClause(ImplementsClause implementsClause);
+  set implementsClause(ImplementsClause implementsClause);
 
   /// Return `true` if this class is declared to be an abstract class.
   bool get isAbstract;
 
   /// Set the left curly bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the native clause for this class, or `null` if the class does not
   /// have a native clause.
   NativeClause get nativeClause;
 
   /// Set the native clause for this class to the given [nativeClause].
-  void set nativeClause(NativeClause nativeClause);
+  set nativeClause(NativeClause nativeClause);
 
   /// Set the right curly bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 
   /// Set the type parameters for the class to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 
   /// Return the with clause for the class, or `null` if the class does not have
   /// a with clause.
   WithClause get withClause;
 
   /// Set the with clause for the class to the given [withClause].
-  void set withClause(WithClause withClause);
+  set withClause(WithClause withClause);
 
   /// Return the constructor declared in the class with the given [name], or
   /// `null` if there is no such constructor.
@@ -1046,7 +1046,7 @@
   Token get abstractKeyword;
 
   /// Set the token for the 'abstract' keyword to the given [token].
-  void set abstractKeyword(Token token);
+  set abstractKeyword(Token token);
 
   @override
   ClassElement get declaredElement;
@@ -1056,14 +1056,14 @@
 
   /// Set the token for the '=' separating the name from the definition to the
   /// given [token].
-  void set equals(Token token);
+  set equals(Token token);
 
   /// Return the implements clause for this class, or `null` if there is no
   /// implements clause.
   ImplementsClause get implementsClause;
 
   /// Set the implements clause for this class to the given [implementsClause].
-  void set implementsClause(ImplementsClause implementsClause);
+  set implementsClause(ImplementsClause implementsClause);
 
   /// Return `true` if this class is declared to be an abstract class.
   bool get isAbstract;
@@ -1073,7 +1073,7 @@
 
   /// Set the name of the superclass of the class being declared to the given
   /// [superclass] name.
-  void set superclass(TypeName superclass);
+  set superclass(TypeName superclass);
 
   /// Return the type parameters for the class, or `null` if the class does not
   /// have any type parameters.
@@ -1081,13 +1081,13 @@
 
   /// Set the type parameters for the class to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 
   /// Return the with clause for this class.
   WithClause get withClause;
 
   /// Set the with clause for this class to the given with [withClause].
-  void set withClause(WithClause withClause);
+  set withClause(WithClause withClause);
 }
 
 /// An element in a list, map or set literal.
@@ -1116,7 +1116,7 @@
 
   /// Set the 'hide' or 'show' keyword specifying what kind of processing is
   /// to be done on the names to the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 }
 
 /// A comment within the source code.
@@ -1165,14 +1165,14 @@
   Identifier get identifier;
 
   /// Set the identifier being referenced to the given [identifier].
-  void set identifier(Identifier identifier);
+  set identifier(Identifier identifier);
 
   /// Return the token representing the 'new' keyword, or `null` if there was no
   /// 'new' keyword.
   Token get newKeyword;
 
   /// Set the token representing the 'new' keyword to the given [token].
-  void set newKeyword(Token token);
+  set newKeyword(Token token);
 }
 
 /// A compilation unit.
@@ -1201,7 +1201,7 @@
 abstract class CompilationUnit implements AstNode {
   /// Set the first token included in this node's source range to the given
   /// [token].
-  void set beginToken(Token token);
+  set beginToken(Token token);
 
   /// Return the declarations contained in this compilation unit.
   NodeList<CompilationUnitMember> get declarations;
@@ -1215,11 +1215,11 @@
 
   /// Set the element associated with this compilation unit to the given
   /// [element].
-  void set element(CompilationUnitElement element);
+  set element(CompilationUnitElement element);
 
   /// Set the last token included in this node's source range to the given
   /// [token].
-  void set endToken(Token token);
+  set endToken(Token token);
 
   /// The set of features available to this compilation unit, or `null` if
   /// unknown.
@@ -1236,7 +1236,7 @@
   LineInfo get lineInfo;
 
   /// Set the line information for this compilation unit to the given [info].
-  void set lineInfo(LineInfo info);
+  set lineInfo(LineInfo info);
 
   /// Return the script tag at the beginning of the compilation unit, or `null`
   /// if there is no script tag in this compilation unit.
@@ -1244,7 +1244,7 @@
 
   /// Set the script tag at the beginning of the compilation unit to the given
   /// [scriptTag].
-  void set scriptTag(ScriptTag scriptTag);
+  set scriptTag(ScriptTag scriptTag);
 
   /// Return a list containing all of the directives and declarations in this
   /// compilation unit, sorted in lexical order.
@@ -1279,7 +1279,7 @@
 
   /// Set the token used to separate the then expression from the else
   /// expression to the given [token].
-  void set colon(Token token);
+  set colon(Token token);
 
   /// Return the condition used to determine which of the expressions is
   /// executed next.
@@ -1287,7 +1287,7 @@
 
   /// Set the condition used to determine which of the expressions is executed
   /// next to the given [expression].
-  void set condition(Expression expression);
+  set condition(Expression expression);
 
   /// Return the expression that is executed if the condition evaluates to
   /// `false`.
@@ -1295,14 +1295,14 @@
 
   /// Set the expression that is executed if the condition evaluates to `false`
   /// to the given [expression].
-  void set elseExpression(Expression expression);
+  set elseExpression(Expression expression);
 
   /// Return the token used to separate the condition from the then expression.
   Token get question;
 
   /// Set the token used to separate the condition from the then expression to
   /// the given [token].
-  void set question(Token token);
+  set question(Token token);
 
   /// Return the expression that is executed if the condition evaluates to
   /// `true`.
@@ -1310,7 +1310,7 @@
 
   /// Set the expression that is executed if the condition evaluates to `true`
   /// to the given [expression].
-  void set thenExpression(Expression expression);
+  set thenExpression(Expression expression);
 }
 
 /// A configuration in either an import or export directive.
@@ -1331,19 +1331,19 @@
   Token get equalToken;
 
   /// Set the token for the equal operator to the given [token].
-  void set equalToken(Token token);
+  set equalToken(Token token);
 
   /// Return the token for the 'if' keyword.
   Token get ifKeyword;
 
   /// Set the token for the 'if' keyword to the given [token].
-  void set ifKeyword(Token token);
+  set ifKeyword(Token token);
 
   /// Return the token for the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the token for the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the URI of the implementation library to be used if the condition
   /// is true.
@@ -1353,7 +1353,7 @@
   /// Set the URI of the implementation library to be used if the condition is
   /// true to the given [uri].
   @deprecated
-  void set libraryUri(StringLiteral uri);
+  set libraryUri(StringLiteral uri);
 
   /// Return the name of the declared variable whose value is being used in the
   /// condition.
@@ -1361,13 +1361,13 @@
 
   /// Set the name of the declared variable whose value is being used in the
   /// condition to the given [name].
-  void set name(DottedName name);
+  set name(DottedName name);
 
   /// Return the token for the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the token for the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the URI of the implementation library to be used if the condition
   /// is true.
@@ -1375,13 +1375,13 @@
 
   /// Set the URI of the implementation library to be used if the condition is
   /// true to the given [uri].
-  void set uri(StringLiteral uri);
+  set uri(StringLiteral uri);
 
   /// Return the source to which the [uri] was resolved.
   Source get uriSource;
 
   /// Set the source to which the [uri] was resolved to the given [source].
-  void set uriSource(Source source);
+  set uriSource(Source source);
 
   /// Return the value to which the value of the declared variable will be
   /// compared, or `null` if the condition does not include an equality test.
@@ -1389,7 +1389,7 @@
 
   /// Set the value to which the value of the declared variable will be
   /// compared to the given [value].
-  void set value(StringLiteral value);
+  set value(StringLiteral value);
 }
 
 /// A constructor declaration.
@@ -1419,34 +1419,34 @@
   FunctionBody get body;
 
   /// Set the body of the constructor to the given [functionBody].
-  void set body(FunctionBody functionBody);
+  set body(FunctionBody functionBody);
 
   /// Return the token for the 'const' keyword, or `null` if the constructor is
   /// not a const constructor.
   Token get constKeyword;
 
   /// Set the token for the 'const' keyword to the given [token].
-  void set constKeyword(Token token);
+  set constKeyword(Token token);
 
   @override
   ConstructorElement get declaredElement;
 
   /// Set the element associated with this constructor to the given [element].
-  void set element(ConstructorElement element);
+  set element(ConstructorElement element);
 
   /// Return the token for the 'external' keyword to the given [token].
   Token get externalKeyword;
 
   /// Set the token for the 'external' keyword, or `null` if the constructor
   /// is not external.
-  void set externalKeyword(Token token);
+  set externalKeyword(Token token);
 
   /// Return the token for the 'factory' keyword, or `null` if the constructor
   /// is not a factory constructor.
   Token get factoryKeyword;
 
   /// Set the token for the 'factory' keyword to the given [token].
-  void set factoryKeyword(Token token);
+  set factoryKeyword(Token token);
 
   /// Return the initializers associated with the constructor.
   NodeList<ConstructorInitializer> get initializers;
@@ -1456,14 +1456,14 @@
   SimpleIdentifier get name;
 
   /// Set the name of the constructor to the given [identifier].
-  void set name(SimpleIdentifier identifier);
+  set name(SimpleIdentifier identifier);
 
   /// Return the parameters associated with the constructor.
   FormalParameterList get parameters;
 
   /// Set the parameters associated with the constructor to the given list of
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the token for the period before the constructor name, or `null` if
   /// the constructor being declared is unnamed.
@@ -1471,7 +1471,7 @@
 
   /// Set the token for the period before the constructor name to the given
   /// [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the name of the constructor to which this constructor will be
   /// redirected, or `null` if this is not a redirecting factory constructor.
@@ -1479,7 +1479,7 @@
 
   /// Set the name of the constructor to which this constructor will be
   /// redirected to the given [redirectedConstructor] name.
-  void set redirectedConstructor(ConstructorName redirectedConstructor);
+  set redirectedConstructor(ConstructorName redirectedConstructor);
 
   /// Return the type of object being created.
   ///
@@ -1489,7 +1489,7 @@
   Identifier get returnType;
 
   /// Set the type of object being created to the given [typeName].
-  void set returnType(Identifier typeName);
+  set returnType(Identifier typeName);
 
   /// Return the token for the separator (colon or equals) before the
   /// initializer list or redirection, or `null` if there are no initializers.
@@ -1497,7 +1497,7 @@
 
   /// Set the token for the separator (colon or equals) before the initializer
   /// list or redirection to the given [token].
-  void set separator(Token token);
+  set separator(Token token);
 }
 
 /// The initialization of a field within a constructor's initialization list.
@@ -1513,7 +1513,7 @@
 
   /// Set the token for the equal sign between the field name and the
   /// expression to the given [token].
-  void set equals(Token token);
+  set equals(Token token);
 
   /// Return the expression computing the value to which the field will be
   /// initialized.
@@ -1521,13 +1521,13 @@
 
   /// Set the expression computing the value to which the field will be
   /// initialized to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the name of the field being initialized.
   SimpleIdentifier get fieldName;
 
   /// Set the name of the field being initialized to the given [identifier].
-  void set fieldName(SimpleIdentifier identifier);
+  set fieldName(SimpleIdentifier identifier);
 
   /// Return the token for the period after the 'this' keyword, or `null` if
   /// there is no 'this' keyword.
@@ -1535,14 +1535,14 @@
 
   /// Set the token for the period after the 'this' keyword to the given
   /// [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the token for the 'this' keyword, or `null` if there is no 'this'
   /// keyword.
   Token get thisKeyword;
 
   /// Set the token for the 'this' keyword to the given [token].
-  void set thisKeyword(Token token);
+  set thisKeyword(Token token);
 }
 
 /// A node that can occur in the initializer list of a constructor declaration.
@@ -1567,7 +1567,7 @@
   SimpleIdentifier get name;
 
   /// Set the name of the constructor to the given [name].
-  void set name(SimpleIdentifier name);
+  set name(SimpleIdentifier name);
 
   /// Return the token for the period before the constructor name, or `null` if
   /// the specified constructor is the unnamed constructor.
@@ -1575,14 +1575,14 @@
 
   /// Set the token for the period before the constructor name to the given
   /// [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the name of the type defining the constructor.
   TypeName get type;
 
   /// Set the name of the type defining the constructor to the given [type]
   /// name.
-  void set type(TypeName type);
+  set type(TypeName type);
 }
 
 /// An AST node that makes reference to a constructor.
@@ -1596,7 +1596,7 @@
 
   /// Set the element associated with the referenced constructor based on static
   /// type information to the given [element].
-  void set staticElement(ConstructorElement element);
+  set staticElement(ConstructorElement element);
 }
 
 /// A continue statement.
@@ -1610,20 +1610,20 @@
   Token get continueKeyword;
 
   /// Set the token representing the 'continue' keyword to the given [token].
-  void set continueKeyword(Token token);
+  set continueKeyword(Token token);
 
   /// Return the label associated with the statement, or `null` if there is no
   /// label.
   SimpleIdentifier get label;
 
   /// Set the label associated with the statement to the given [identifier].
-  void set label(SimpleIdentifier identifier);
+  set label(SimpleIdentifier identifier);
 
   /// Return the semicolon terminating the statement.
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the node to which this continue statement is continuing.
   ///
@@ -1637,7 +1637,7 @@
 
   /// Set the node to which this continue statement is continuing to the given
   /// [node].
-  void set target(AstNode node);
+  set target(AstNode node);
 }
 
 /// A node that represents the declaration of one or more names.
@@ -1666,7 +1666,7 @@
   SimpleIdentifier get identifier;
 
   /// Set the name of the variable being declared to the given [identifier].
-  void set identifier(SimpleIdentifier identifier);
+  set identifier(SimpleIdentifier identifier);
 
   /// Return `true` if this variable was declared with the 'const' modifier.
   bool get isConst;
@@ -1682,14 +1682,14 @@
 
   /// Set the token representing either the 'final', 'const' or 'var' keyword to
   /// the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the name of the declared type of the parameter, or `null` if the
   /// parameter does not have a declared type.
   TypeAnnotation get type;
 
   /// Set the declared type of the parameter to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 }
 
 /// A formal parameter with a default value.
@@ -1711,17 +1711,17 @@
 
   /// Set the expression computing the default value for the parameter to the
   /// given [expression].
-  void set defaultValue(Expression expression);
+  set defaultValue(Expression expression);
 
   /// Set the kind of this parameter to the given [kind].
-  void set kind(ParameterKind kind);
+  set kind(ParameterKind kind);
 
   /// Return the formal parameter with which the default value is associated.
   NormalFormalParameter get parameter;
 
   /// Set the formal parameter with which the default value is associated to the
   /// given [formalParameter].
-  void set parameter(NormalFormalParameter formalParameter);
+  set parameter(NormalFormalParameter formalParameter);
 
   /// Return the token separating the parameter from the default value, or
   /// `null` if there is no default value.
@@ -1729,7 +1729,7 @@
 
   /// Set the token separating the parameter from the default value to the given
   /// [token].
-  void set separator(Token token);
+  set separator(Token token);
 }
 
 /// A node that represents a directive.
@@ -1749,7 +1749,7 @@
   Element get element;
 
   /// Set the element associated with this directive to the given [element].
-  void set element(Element element);
+  set element(Element element);
 
   /// Return the token representing the keyword that introduces this directive
   /// ('import', 'export', 'library' or 'part').
@@ -1767,44 +1767,44 @@
   Statement get body;
 
   /// Set the body of the loop to the given [statement].
-  void set body(Statement statement);
+  set body(Statement statement);
 
   /// Return the condition that determines when the loop will terminate.
   Expression get condition;
 
   /// Set the condition that determines when the loop will terminate to the
   /// given [expression].
-  void set condition(Expression expression);
+  set condition(Expression expression);
 
   /// Return the token representing the 'do' keyword.
   Token get doKeyword;
 
   /// Set the token representing the 'do' keyword to the given [token].
-  void set doKeyword(Token token);
+  set doKeyword(Token token);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the semicolon terminating the statement.
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the token representing the 'while' keyword.
   Token get whileKeyword;
 
   /// Set the token representing the 'while' keyword to the given [token].
-  void set whileKeyword(Token token);
+  set whileKeyword(Token token);
 }
 
 /// A dotted name, used in a configuration within an import or export directive.
@@ -1833,13 +1833,13 @@
   Token get literal;
 
   /// Set the token representing the literal to the given [token].
-  void set literal(Token token);
+  set literal(Token token);
 
   /// Return the value of the literal.
   double get value;
 
   /// Set the value of the literal to the given [value].
-  void set value(double value);
+  set value(double value);
 }
 
 /// An empty function body, which can only appear in constructors or abstract
@@ -1856,7 +1856,7 @@
 
   /// Set the token representing the semicolon that marks the end of the
   /// function body to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// An empty statement.
@@ -1870,7 +1870,7 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// The declaration of an enum constant.
@@ -1881,7 +1881,7 @@
   SimpleIdentifier get name;
 
   /// Set the name of the constant to the given [name].
-  void set name(SimpleIdentifier name);
+  set name(SimpleIdentifier name);
 }
 
 /// The declaration of an enumeration.
@@ -1901,19 +1901,19 @@
   Token get enumKeyword;
 
   /// Set the 'enum' keyword to the given [token].
-  void set enumKeyword(Token token);
+  set enumKeyword(Token token);
 
   /// Return the left curly bracket.
   Token get leftBracket;
 
   /// Set the left curly bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the right curly bracket.
   Token get rightBracket;
 
   /// Set the right curly bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 }
 
 /// An export directive.
@@ -1957,7 +1957,7 @@
   DartType get staticType;
 
   /// Set the static type of this expression to the given [type].
-  void set staticType(DartType type);
+  set staticType(DartType type);
 
   /// If this expression is a parenthesized expression, return the result of
   /// unwrapping the expression inside the parentheses. Otherwise, return this
@@ -1977,7 +1977,7 @@
 
   /// Set the expression representing the body of the function to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the token introducing the expression that represents the body of the
   /// function.
@@ -1985,16 +1985,16 @@
 
   /// Set the token introducing the expression that represents the body of the
   /// function to the given [token].
-  void set functionDefinition(Token token);
+  set functionDefinition(Token token);
 
   /// Set token representing the 'async' or 'sync' keyword to the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the semicolon terminating the statement.
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// An expression used as a statement.
@@ -2008,7 +2008,7 @@
   Expression get expression;
 
   /// Set the expression that comprises the statement to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the semicolon terminating the statement, or `null` if the
   /// expression is a function expression and therefore isn't followed by a
@@ -2016,7 +2016,7 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// The "extends" clause in a class declaration.
@@ -2030,13 +2030,13 @@
   Token get extendsKeyword;
 
   /// Set the token representing the 'extends' keyword to the given [token].
-  void set extendsKeyword(Token token);
+  set extendsKeyword(Token token);
 
   /// Return the name of the class that is being extended.
   TypeName get superclass;
 
   /// Set the name of the class that is being extended to the given [name].
-  void set superclass(TypeName name);
+  set superclass(TypeName name);
 }
 
 /// The declaration of an extension of a type.
@@ -2132,13 +2132,13 @@
   Token get covariantKeyword;
 
   /// Set the token for the 'covariant' keyword to the given [token].
-  void set covariantKeyword(Token token);
+  set covariantKeyword(Token token);
 
   /// Return the fields being declared.
   VariableDeclarationList get fields;
 
   /// Set the fields being declared to the given list of [fields].
-  void set fields(VariableDeclarationList fields);
+  set fields(VariableDeclarationList fields);
 
   /// Return `true` if the fields are declared to be static.
   bool get isStatic;
@@ -2147,14 +2147,14 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the declaration to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the token representing the 'static' keyword, or `null` if the
   /// fields are not static.
   Token get staticKeyword;
 
   /// Set the token representing the 'static' keyword to the given [token].
-  void set staticKeyword(Token token);
+  set staticKeyword(Token token);
 }
 
 /// A field formal parameter.
@@ -2171,7 +2171,7 @@
 
   /// Set the token representing either the 'final', 'const' or 'var' keyword to
   /// the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the parameters of the function-typed parameter, or `null` if this
   /// is not a function-typed field formal parameter.
@@ -2179,13 +2179,13 @@
 
   /// Set the parameters of the function-typed parameter to the given
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the token representing the period.
   Token get period;
 
   /// Set the token representing the period to the given [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// If the parameter is function-typed, and has the question mark, then its
   /// function type is nullable. Having a nullable function type means that the
@@ -2196,7 +2196,7 @@
   Token get thisKeyword;
 
   /// Set the token representing the 'this' keyword to the given [token].
-  void set thisKeyword(Token token);
+  set thisKeyword(Token token);
 
   /// Return the declared type of the parameter, or `null` if the parameter does
   /// not have a declared type.
@@ -2206,7 +2206,7 @@
   TypeAnnotation get type;
 
   /// Set the declared type of the parameter to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 
   /// Return the type parameters associated with this method, or `null` if this
   /// method is not a generic method.
@@ -2214,7 +2214,7 @@
 
   /// Set the type parameters associated with this method to the given
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// The parts of a for-each loop that control the iteration.
@@ -2403,13 +2403,13 @@
 
   /// Set the left square bracket ('[') or left curly brace ('{') introducing
   /// the optional parameters to the given [token].
-  void set leftDelimiter(Token token);
+  set leftDelimiter(Token token);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return a list containing the elements representing the parameters in this
   /// list.
@@ -2428,13 +2428,13 @@
 
   /// Set the right square bracket (']') or right curly brace ('}') terminating
   /// the optional parameters to the given [token].
-  void set rightDelimiter(Token token);
+  set rightDelimiter(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 }
 
 /// The parts of a for loop that control the iteration.
@@ -2590,14 +2590,14 @@
   Token get externalKeyword;
 
   /// Set the token representing the 'external' keyword to the given [token].
-  void set externalKeyword(Token token);
+  set externalKeyword(Token token);
 
   /// Return the function expression being wrapped.
   FunctionExpression get functionExpression;
 
   /// Set the function expression being wrapped to the given
   /// [functionExpression].
-  void set functionExpression(FunctionExpression functionExpression);
+  set functionExpression(FunctionExpression functionExpression);
 
   /// Return `true` if this function declares a getter.
   bool get isGetter;
@@ -2611,14 +2611,14 @@
 
   /// Set the token representing the 'get' or 'set' keyword to the given
   /// [token].
-  void set propertyKeyword(Token token);
+  set propertyKeyword(Token token);
 
   /// Return the return type of the function, or `null` if no return type was
   /// declared.
   TypeAnnotation get returnType;
 
   /// Set the return type of the function to the given [type].
-  void set returnType(TypeAnnotation type);
+  set returnType(TypeAnnotation type);
 }
 
 /// A [FunctionDeclaration] used as a statement.
@@ -2630,7 +2630,7 @@
 
   /// Set the function declaration being wrapped to the given
   /// [functionDeclaration].
-  void set functionDeclaration(FunctionDeclaration functionDeclaration);
+  set functionDeclaration(FunctionDeclaration functionDeclaration);
 }
 
 /// A function expression.
@@ -2645,14 +2645,14 @@
   FunctionBody get body;
 
   /// Set the body of the function to the given [functionBody].
-  void set body(FunctionBody functionBody);
+  set body(FunctionBody functionBody);
 
   /// Return the element associated with the function, or `null` if the AST
   /// structure has not been resolved.
   ExecutableElement get declaredElement;
 
   /// Set the element associated with the function to the given [element].
-  void set element(ExecutableElement element);
+  set element(ExecutableElement element);
 
   /// Return the parameters associated with the function, or `null` if the
   /// function is part of a top-level getter.
@@ -2660,7 +2660,7 @@
 
   /// Set the parameters associated with the function to the given list of
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the type parameters associated with this method, or `null` if this
   /// method is not a generic method.
@@ -2668,7 +2668,7 @@
 
   /// Set the type parameters associated with this method to the given
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// The invocation of a function resulting from evaluating an expression.
@@ -2683,7 +2683,7 @@
 /// Clients may not extend, implement or mix-in this class.
 abstract class FunctionExpressionInvocation implements InvocationExpression {
   /// Set the list of arguments to the method to the given [argumentList].
-  void set argumentList(ArgumentList argumentList);
+  set argumentList(ArgumentList argumentList);
 
   /// Return the expression producing the function being invoked.
   @override
@@ -2691,7 +2691,7 @@
 
   /// Set the expression producing the function being invoked to the given
   /// [expression].
-  void set function(Expression expression);
+  set function(Expression expression);
 
   /// Return the element associated with the function being invoked based on
   /// static type information, or `null` if the AST structure has not been
@@ -2700,11 +2700,11 @@
 
   /// Set the element associated with the function being invoked based on static
   /// type information to the given [element].
-  void set staticElement(ExecutableElement element);
+  set staticElement(ExecutableElement element);
 
   /// Set the type arguments to be applied to the method being invoked to the
   /// given [typeArguments].
-  void set typeArguments(TypeArgumentList typeArguments);
+  set typeArguments(TypeArgumentList typeArguments);
 }
 
 /// A function type alias.
@@ -2725,7 +2725,7 @@
 
   /// Set the parameters associated with the function type to the given list of
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the return type of the function type being defined, or `null` if no
   /// return type was given.
@@ -2733,7 +2733,7 @@
 
   /// Set the return type of the function type being defined to the given
   /// [type].
-  void set returnType(TypeAnnotation type);
+  set returnType(TypeAnnotation type);
 
   /// Return the type parameters for the function type, or `null` if the
   /// function type does not have any type parameters.
@@ -2741,7 +2741,7 @@
 
   /// Set the type parameters for the function type to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// A function-typed formal parameter.
@@ -2757,7 +2757,7 @@
 
   /// Set the parameters of the function-typed parameter to the given
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the question mark indicating that the function type is nullable, or
   /// `null` if there is no question mark. Having a nullable function type means
@@ -2769,7 +2769,7 @@
   TypeAnnotation get returnType;
 
   /// Set the return type of the function to the given [type].
-  void set returnType(TypeAnnotation type);
+  set returnType(TypeAnnotation type);
 
   /// Return the type parameters associated with this function, or `null` if
   /// this function is not a generic function.
@@ -2777,7 +2777,7 @@
 
   /// Set the type parameters associated with this method to the given
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// An anonymous function type.
@@ -2815,25 +2815,25 @@
   Token get functionKeyword;
 
   /// Set the keyword 'Function' to the given [token].
-  void set functionKeyword(Token token);
+  set functionKeyword(Token token);
 
   /// Return the parameters associated with the function type.
   FormalParameterList get parameters;
 
   /// Set the parameters associated with the function type to the given list of
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Set the question mark indicating that the type is nullable to the given
   /// [token].
-  void set question(Token token);
+  set question(Token token);
 
   /// Return the return type of the function type being defined, or `null` if
   /// no return type was given.
   TypeAnnotation get returnType;
 
   /// Set the return type of the function type being defined to the given[type].
-  void set returnType(TypeAnnotation type);
+  set returnType(TypeAnnotation type);
 
   /// Return the type parameters for the function type, or `null` if the
   /// function type does not have any type parameters.
@@ -2841,7 +2841,7 @@
 
   /// Set the type parameters for the function type to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// A generic type alias.
@@ -2857,14 +2857,14 @@
 
   /// Set the equal sign separating the name being defined from the function
   /// type to the given [token].
-  void set equals(Token token);
+  set equals(Token token);
 
   /// Return the type of function being defined by the alias.
   GenericFunctionType get functionType;
 
   /// Set the type of function being defined by the alias to the given
   /// [functionType].
-  void set functionType(GenericFunctionType functionType);
+  set functionType(GenericFunctionType functionType);
 
   /// Return the type parameters for the function type, or `null` if the
   /// function type does not have any type parameters.
@@ -2872,7 +2872,7 @@
 
   /// Set the type parameters for the function type to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// A combinator that restricts the names being imported to those that are not
@@ -2956,14 +2956,14 @@
 
   /// Set the condition used to determine which of the statements is executed
   /// next to the given [expression].
-  void set condition(Expression expression);
+  set condition(Expression expression);
 
   /// Return the token representing the 'else' keyword, or `null` if there is no
   /// else statement.
   Token get elseKeyword;
 
   /// Set the token representing the 'else' keyword to the given [token].
-  void set elseKeyword(Token token);
+  set elseKeyword(Token token);
 
   /// Return the statement that is executed if the condition evaluates to
   /// `false`, or `null` if there is no else statement.
@@ -2971,25 +2971,25 @@
 
   /// Set the statement that is executed if the condition evaluates to `false`
   /// to the given [statement].
-  void set elseStatement(Statement statement);
+  set elseStatement(Statement statement);
 
   /// Return the token representing the 'if' keyword.
   Token get ifKeyword;
 
   /// Set the token representing the 'if' keyword to the given [token].
-  void set ifKeyword(Token token);
+  set ifKeyword(Token token);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the statement that is executed if the condition evaluates to
   /// `true`.
@@ -2997,7 +2997,7 @@
 
   /// Set the statement that is executed if the condition evaluates to `true` to
   /// the given [statement].
-  void set thenStatement(Statement statement);
+  set thenStatement(Statement statement);
 }
 
 /// The "implements" clause in an class declaration.
@@ -3011,7 +3011,7 @@
   Token get implementsKeyword;
 
   /// Set the token representing the 'implements' keyword to the given [token].
-  void set implementsKeyword(Token token);
+  set implementsKeyword(Token token);
 
   /// Return the list of the interfaces that are being implemented.
   NodeList<TypeName> get interfaces;
@@ -3136,14 +3136,14 @@
   Token get asKeyword;
 
   /// Set the token representing the 'as' keyword to the given [token].
-  void set asKeyword(Token token);
+  set asKeyword(Token token);
 
   /// Return the token representing the 'deferred' keyword, or `null` if the
   /// imported URI is not deferred.
   Token get deferredKeyword;
 
   /// Set the token representing the 'deferred' keyword to the given [token].
-  void set deferredKeyword(Token token);
+  set deferredKeyword(Token token);
 
   /// Return the prefix to be used with the imported names, or `null` if the
   /// imported names are not prefixed.
@@ -3151,7 +3151,7 @@
 
   /// Set the prefix to be used with the imported names to the given
   /// [identifier].
-  void set prefix(SimpleIdentifier identifier);
+  set prefix(SimpleIdentifier identifier);
 }
 
 /// An index expression.
@@ -3173,13 +3173,13 @@
   /// Set the auxiliary elements associated with this identifier to the given
   /// [elements].
   // TODO(brianwilkerson) Replace this API.
-  void set auxiliaryElements(AuxiliaryElements elements);
+  set auxiliaryElements(AuxiliaryElements elements);
 
   /// Return the expression used to compute the index.
   Expression get index;
 
   /// Set the expression used to compute the index to the given [expression].
-  void set index(Expression expression);
+  set index(Expression expression);
 
   /// Return `true` if this expression is cascaded.
   ///
@@ -3194,7 +3194,7 @@
   Token get leftBracket;
 
   /// Set the left square bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the period ("..") before a cascaded index expression, or `null` if
   /// this index expression is not part of a cascade expression.
@@ -3202,7 +3202,7 @@
 
   /// Set the period ("..") before a cascaded index expression to the given
   /// [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the expression used to compute the object being indexed.
   ///
@@ -3224,7 +3224,7 @@
 
   /// Set the expression used to compute the object being indexed to the given
   /// [expression].
-  void set target(Expression expression);
+  set target(Expression expression);
 
   /// Return `true` if this expression is computing a right-hand value (that is,
   /// if this expression is in a context where the operator '[]' will be
@@ -3259,13 +3259,13 @@
   ArgumentList get argumentList;
 
   /// Set the list of arguments to the constructor to the given [argumentList].
-  void set argumentList(ArgumentList argumentList);
+  set argumentList(ArgumentList argumentList);
 
   /// Return the name of the constructor to be invoked.
   ConstructorName get constructorName;
 
   /// Set the name of the constructor to be invoked to the given [name].
-  void set constructorName(ConstructorName name);
+  set constructorName(ConstructorName name);
 
   /// Return `true` if this creation expression is used to invoke a constant
   /// constructor, either because the keyword `const` was explicitly provided or
@@ -3279,7 +3279,7 @@
 
   /// Set the 'new' or 'const' keyword used to indicate how an object should be
   /// created to the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 }
 
 /// An integer literal expression.
@@ -3301,13 +3301,13 @@
   Token get literal;
 
   /// Set the token representing the literal to the given [token].
-  void set literal(Token token);
+  set literal(Token token);
 
   /// Return the value of the literal.
   int get value;
 
   /// Set the value of the literal to the given [value].
-  void set value(int value);
+  set value(int value);
 }
 
 /// A node within a [StringInterpolation].
@@ -3333,7 +3333,7 @@
 
   /// Set the expression to be evaluated for the value to be converted into a
   /// string to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the token used to introduce the interpolation expression; either
   /// '$' if the expression is a simple identifier or '${' if the expression is
@@ -3343,14 +3343,14 @@
   /// Set the token used to introduce the interpolation expression; either '$'
   /// if the expression is a simple identifier or '${' if the expression is a
   /// full expression to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the right curly bracket, or `null` if the expression is an
   /// identifier without brackets.
   Token get rightBracket;
 
   /// Set the right curly bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 }
 
 /// A non-empty substring of an interpolated string.
@@ -3364,7 +3364,7 @@
   Token get contents;
 
   /// Set the characters that will be added to the string to the given [token].
-  void set contents(Token token);
+  set contents(Token token);
 
   /// Return the offset of the after-last contents character.
   int get contentsEnd;
@@ -3376,7 +3376,7 @@
   String get value;
 
   /// Set the value of the literal to the given [value].
-  void set value(String value);
+  set value(String value);
 }
 
 /// The invocation of a function or method; either a
@@ -3408,7 +3408,7 @@
 
   /// Sets the function type of the invocation based on the static type
   /// information.
-  void set staticInvokeType(DartType value);
+  set staticInvokeType(DartType value);
 
   /// Return the type arguments to be applied to the method being invoked, or
   /// `null` if no type arguments were provided.
@@ -3437,26 +3437,26 @@
 
   /// Set the expression used to compute the value whose type is being tested to
   /// the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the is operator.
   Token get isOperator;
 
   /// Set the is operator to the given [token].
-  void set isOperator(Token token);
+  set isOperator(Token token);
 
   /// Return the not operator, or `null` if the sense of the test is not
   /// negated.
   Token get notOperator;
 
   /// Set the not operator to the given [token].
-  void set notOperator(Token token);
+  set notOperator(Token token);
 
   /// Return the type being tested for.
   TypeAnnotation get type;
 
   /// Set the type being tested for to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 }
 
 /// A label on either a [LabeledStatement] or a [NamedExpression].
@@ -3471,13 +3471,13 @@
 
   /// Set the colon that separates the label from the statement to the given
   /// [token].
-  void set colon(Token token);
+  set colon(Token token);
 
   /// Return the label being associated with the statement.
   SimpleIdentifier get label;
 
   /// Set the label being associated with the statement to the given [label].
-  void set label(SimpleIdentifier label);
+  set label(SimpleIdentifier label);
 }
 
 /// A statement that has a label associated with them.
@@ -3495,7 +3495,7 @@
 
   /// Set the statement with which the labels are being associated to the given
   /// [statement].
-  void set statement(Statement statement);
+  set statement(Statement statement);
 }
 
 /// A library directive.
@@ -3509,19 +3509,19 @@
   Token get libraryKeyword;
 
   /// Set the token representing the 'library' keyword to the given [token].
-  void set libraryKeyword(Token token);
+  set libraryKeyword(Token token);
 
   /// Return the name of the library being defined.
   LibraryIdentifier get name;
 
   /// Set the name of the library being defined to the given [name].
-  void set name(LibraryIdentifier name);
+  set name(LibraryIdentifier name);
 
   /// Return the semicolon terminating the directive.
   Token get semicolon;
 
   /// Set the semicolon terminating the directive to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// The identifier for a library.
@@ -3552,13 +3552,13 @@
   Token get leftBracket;
 
   /// Set the left square bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the right square bracket.
   Token get rightBracket;
 
   /// Set the right square bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 }
 
 /// A node that represents a literal expression.
@@ -3588,13 +3588,13 @@
 
   /// Set the expression computing the key with which the value will be
   /// associated to the given [string].
-  void set key(Expression string);
+  set key(Expression string);
 
   /// Return the colon that separates the key from the value.
   Token get separator;
 
   /// Set the colon that separates the key from the value to the given [token].
-  void set separator(Token token);
+  set separator(Token token);
 
   /// Return the expression computing the value that will be associated with the
   /// key.
@@ -3602,7 +3602,7 @@
 
   /// Set the expression computing the value that will be associated with the
   /// key to the given [expression].
-  void set value(Expression expression);
+  set value(Expression expression);
 }
 
 /// A method declaration.
@@ -3628,7 +3628,7 @@
   FunctionBody get body;
 
   /// Set the body of the method to the given [functionBody].
-  void set body(FunctionBody functionBody);
+  set body(FunctionBody functionBody);
 
   @override
   ExecutableElement get declaredElement;
@@ -3638,7 +3638,7 @@
   Token get externalKeyword;
 
   /// Set the token for the 'external' keyword to the given [token].
-  void set externalKeyword(Token token);
+  set externalKeyword(Token token);
 
   /// Return `true` if this method is declared to be an abstract method.
   bool get isAbstract;
@@ -3661,20 +3661,20 @@
 
   /// Set the token representing the 'abstract' or 'static' keyword to the given
   /// [token].
-  void set modifierKeyword(Token token);
+  set modifierKeyword(Token token);
 
   /// Return the name of the method.
   SimpleIdentifier get name;
 
   /// Set the name of the method to the given [identifier].
-  void set name(SimpleIdentifier identifier);
+  set name(SimpleIdentifier identifier);
 
   /// Return the token representing the 'operator' keyword, or `null` if this
   /// method does not declare an operator.
   Token get operatorKeyword;
 
   /// Set the token representing the 'operator' keyword to the given [token].
-  void set operatorKeyword(Token token);
+  set operatorKeyword(Token token);
 
   /// Return the parameters associated with the method, or `null` if this method
   /// declares a getter.
@@ -3682,7 +3682,7 @@
 
   /// Set the parameters associated with the method to the given list of
   /// [parameters].
-  void set parameters(FormalParameterList parameters);
+  set parameters(FormalParameterList parameters);
 
   /// Return the token representing the 'get' or 'set' keyword, or `null` if
   /// this is a method declaration rather than a property declaration.
@@ -3690,14 +3690,14 @@
 
   /// Set the token representing the 'get' or 'set' keyword to the given
   /// [token].
-  void set propertyKeyword(Token token);
+  set propertyKeyword(Token token);
 
   /// Return the return type of the method, or `null` if no return type was
   /// declared.
   TypeAnnotation get returnType;
 
   /// Set the return type of the method to the given [type].
-  void set returnType(TypeAnnotation type);
+  set returnType(TypeAnnotation type);
 
   /// Return the type parameters associated with this method, or `null` if this
   /// method is not a generic method.
@@ -3705,7 +3705,7 @@
 
   /// Set the type parameters associated with this method to the given
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters);
+  set typeParameters(TypeParameterList typeParameters);
 }
 
 /// The invocation of either a function or a method.
@@ -3721,7 +3721,7 @@
 /// Clients may not extend, implement or mix-in this class.
 abstract class MethodInvocation implements InvocationExpression {
   /// Set the list of arguments to the method to the given [argumentList].
-  void set argumentList(ArgumentList argumentList);
+  set argumentList(ArgumentList argumentList);
 
   /// Return `true` if this expression is cascaded.
   ///
@@ -3736,7 +3736,7 @@
   SimpleIdentifier get methodName;
 
   /// Set the name of the method being invoked to the given [identifier].
-  void set methodName(SimpleIdentifier identifier);
+  set methodName(SimpleIdentifier identifier);
 
   /// Return the operator that separates the target from the method name, or
   /// `null` if there is no target.
@@ -3747,7 +3747,7 @@
 
   /// Set the operator that separates the target from the method name to the
   /// given [token].
-  void set operator(Token token);
+  set operator(Token token);
 
   /// Return the expression used to compute the receiver of the invocation.
   ///
@@ -3766,11 +3766,11 @@
 
   /// Set the expression producing the object on which the method is defined to
   /// the given [expression].
-  void set target(Expression expression);
+  set target(Expression expression);
 
   /// Set the type arguments to be applied to the method being invoked to the
   /// given [typeArguments].
-  void set typeArguments(TypeArgumentList typeArguments);
+  set typeArguments(TypeArgumentList typeArguments);
 }
 
 /// An expression that implicitly makes reference to a method.
@@ -3786,7 +3786,7 @@
 
   /// Set the element associated with the expression based on static types to
   /// the given [element].
-  void set staticElement(MethodElement element);
+  set staticElement(MethodElement element);
 }
 
 /// The declaration of a mixin.
@@ -3813,7 +3813,7 @@
   SimpleIdentifier get name;
 
   /// Set the name of the member being declared to the given [identifier].
-  void set name(SimpleIdentifier identifier);
+  set name(SimpleIdentifier identifier);
 }
 
 /// An expression that has a name associated with it. They are used in method
@@ -3834,13 +3834,13 @@
 
   /// Set the expression with which the name is associated to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the name associated with the expression.
   Label get name;
 
   /// Set the name associated with the expression to the given [identifier].
-  void set name(Label identifier);
+  set name(Label identifier);
 }
 
 /// A named type, which can optionally include type arguments.
@@ -3860,14 +3860,14 @@
   Identifier get name;
 
   /// Set the name of the type to the given [identifier].
-  void set name(Identifier identifier);
+  set name(Identifier identifier);
 
   /// Set the question mark indicating that the type is nullable to the given
   /// [token].
-  void set question(Token token);
+  set question(Token token);
 
   /// Set the type being named to the given [type].
-  void set type(DartType type);
+  set type(DartType type);
 
   /// Return the type arguments associated with the type, or `null` if there are
   /// no type arguments.
@@ -3875,7 +3875,7 @@
 
   /// Set the type arguments associated with the type to the given
   /// [typeArguments].
-  void set typeArguments(TypeArgumentList typeArguments);
+  set typeArguments(TypeArgumentList typeArguments);
 }
 
 /// A node that represents a directive that impacts the namespace of a library.
@@ -3895,7 +3895,7 @@
 
   /// Set the token representing the keyword that introduces this directive
   /// ('import', 'export', 'library' or 'part') to the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the source that was selected based on the declared variables.
   ///
@@ -3916,7 +3916,7 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the directive to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// The "native" clause in an class declaration.
@@ -3931,13 +3931,13 @@
 
   /// Set the name of the native object that implements the class to the given
   /// [name].
-  void set name(StringLiteral name);
+  set name(StringLiteral name);
 
   /// Return the token representing the 'native' keyword.
   Token get nativeKeyword;
 
   /// Set the token representing the 'native' keyword to the given [token].
-  void set nativeKeyword(Token token);
+  set nativeKeyword(Token token);
 }
 
 /// A function body that consists of a native keyword followed by a string
@@ -3954,7 +3954,7 @@
 
   /// Set the token representing 'native' that marks the start of the function
   /// body to the given [token].
-  void set nativeKeyword(Token token);
+  set nativeKeyword(Token token);
 
   /// Return the token representing the semicolon that marks the end of the
   /// function body.
@@ -3962,7 +3962,7 @@
 
   /// Set the token representing the semicolon that marks the end of the
   /// function body to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the string literal representing the string after the 'native'
   /// token.
@@ -3970,7 +3970,7 @@
 
   /// Set the string literal representing the string after the 'native' token to
   /// the given [stringLiteral].
-  void set stringLiteral(StringLiteral stringLiteral);
+  set stringLiteral(StringLiteral stringLiteral);
 }
 
 /// A list of AST nodes that have a common parent.
@@ -3991,7 +3991,7 @@
   /// Set the node that is the parent of each of the elements in the list to the
   /// given [node].
   @deprecated // Never intended for public use.
-  void set owner(AstNode node);
+  set owner(AstNode node);
 
   /// Return the node at the given [index] in the list or throw a [RangeError]
   /// if [index] is out of bounds.
@@ -4017,7 +4017,7 @@
 /// Clients may not extend, implement or mix-in this class.
 abstract class NormalFormalParameter implements FormalParameter {
   /// Set the token for the 'covariant' keyword to the given [token].
-  void set covariantKeyword(Token token);
+  set covariantKeyword(Token token);
 
   /// Return the documentation comment associated with this parameter, or `null`
   /// if this parameter does not have a documentation comment associated with
@@ -4026,13 +4026,13 @@
 
   /// Set the documentation comment associated with this parameter to the given
   /// [comment].
-  void set documentationComment(Comment comment);
+  set documentationComment(Comment comment);
 
   /// Set the name of the parameter being declared to the given [identifier].
-  void set identifier(SimpleIdentifier identifier);
+  set identifier(SimpleIdentifier identifier);
 
   /// Set the metadata associated with this node to the given [metadata].
-  void set metadata(List<Annotation> metadata);
+  set metadata(List<Annotation> metadata);
 
   /// Return a list containing the comment and annotations associated with this
   /// parameter, sorted in lexical order.
@@ -4050,7 +4050,7 @@
   Token get literal;
 
   /// Set the token representing the literal to the given [token].
-  void set literal(Token token);
+  set literal(Token token);
 }
 
 /// Abstract interface for expressions that may participate in null-shorting.
@@ -4096,19 +4096,19 @@
   Expression get expression;
 
   /// Set the expression within the parentheses to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 }
 
 /// A part directive.
@@ -4122,13 +4122,13 @@
   Token get partKeyword;
 
   /// Set the token representing the 'part' keyword to the given [token].
-  void set partKeyword(Token token);
+  set partKeyword(Token token);
 
   /// Return the semicolon terminating the directive.
   Token get semicolon;
 
   /// Set the semicolon terminating the directive to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// A part-of directive.
@@ -4144,25 +4144,25 @@
 
   /// Set the name of the library that the containing compilation unit is part
   /// of to the given [libraryName].
-  void set libraryName(LibraryIdentifier libraryName);
+  set libraryName(LibraryIdentifier libraryName);
 
   /// Return the token representing the 'of' keyword.
   Token get ofKeyword;
 
   /// Set the token representing the 'of' keyword to the given [token].
-  void set ofKeyword(Token token);
+  set ofKeyword(Token token);
 
   /// Return the token representing the 'part' keyword.
   Token get partKeyword;
 
   /// Set the token representing the 'part' keyword to the given [token].
-  void set partKeyword(Token token);
+  set partKeyword(Token token);
 
   /// Return the semicolon terminating the directive.
   Token get semicolon;
 
   /// Set the semicolon terminating the directive to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the URI of the library that the containing compilation unit is part
   /// of, or `null` if no URI was given (typically because a library name was
@@ -4172,7 +4172,7 @@
   /// Return the URI of the library that the containing compilation unit is part
   /// of, or `null` if no URI was given (typically because a library name was
   /// provided).
-  void set uri(StringLiteral uri);
+  set uri(StringLiteral uri);
 }
 
 /// A postfix unary expression.
@@ -4188,14 +4188,14 @@
 
   /// Set the expression computing the operand for the operator to the given
   /// [expression].
-  void set operand(Expression expression);
+  set operand(Expression expression);
 
   /// Return the postfix operator being applied to the operand.
   Token get operator;
 
   /// Set the postfix operator being applied to the operand to the given
   /// [token].
-  void set operator(Token token);
+  set operator(Token token);
 }
 
 /// An identifier that is prefixed or an access to an object property where the
@@ -4210,7 +4210,7 @@
   SimpleIdentifier get identifier;
 
   /// Set the identifier being prefixed to the given [identifier].
-  void set identifier(SimpleIdentifier identifier);
+  set identifier(SimpleIdentifier identifier);
 
   /// Return `true` if this type is a deferred type. If the AST structure has
   /// not been resolved, then return `false`.
@@ -4224,7 +4224,7 @@
 
   /// Set the period used to separate the prefix from the identifier to the
   /// given [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the prefix associated with the library in which the identifier is
   /// defined.
@@ -4232,7 +4232,7 @@
 
   /// Set the prefix associated with the library in which the identifier is
   /// defined to the given [identifier].
-  void set prefix(SimpleIdentifier identifier);
+  set prefix(SimpleIdentifier identifier);
 }
 
 /// A prefix unary expression.
@@ -4248,13 +4248,13 @@
 
   /// Set the expression computing the operand for the operator to the given
   /// [expression].
-  void set operand(Expression expression);
+  set operand(Expression expression);
 
   /// Return the prefix operator being applied to the operand.
   Token get operator;
 
   /// Set the prefix operator being applied to the operand to the given [token].
-  void set operator(Token token);
+  set operator(Token token);
 }
 
 /// The access of a property of an object.
@@ -4281,13 +4281,13 @@
   Token get operator;
 
   /// Set the property access operator to the given [token].
-  void set operator(Token token);
+  set operator(Token token);
 
   /// Return the name of the property being accessed.
   SimpleIdentifier get propertyName;
 
   /// Set the name of the property being accessed to the given [identifier].
-  void set propertyName(SimpleIdentifier identifier);
+  set propertyName(SimpleIdentifier identifier);
 
   /// Return the expression used to compute the receiver of the invocation.
   ///
@@ -4306,7 +4306,7 @@
 
   /// Set the expression computing the object defining the property being
   /// accessed to the given [expression].
-  void set target(Expression expression);
+  set target(Expression expression);
 }
 
 /// The invocation of a constructor in the same class from within a
@@ -4322,7 +4322,7 @@
   ArgumentList get argumentList;
 
   /// Set the list of arguments to the constructor to the given [argumentList].
-  void set argumentList(ArgumentList argumentList);
+  set argumentList(ArgumentList argumentList);
 
   /// Return the name of the constructor that is being invoked, or `null` if the
   /// unnamed constructor is being invoked.
@@ -4330,7 +4330,7 @@
 
   /// Set the name of the constructor that is being invoked to the given
   /// [identifier].
-  void set constructorName(SimpleIdentifier identifier);
+  set constructorName(SimpleIdentifier identifier);
 
   /// Return the token for the period before the name of the constructor that is
   /// being invoked, or `null` if the unnamed constructor is being invoked.
@@ -4338,13 +4338,13 @@
 
   /// Set the token for the period before the name of the constructor that is
   /// being invoked to the given [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the token for the 'this' keyword.
   Token get thisKeyword;
 
   /// Set the token for the 'this' keyword to the given [token].
-  void set thisKeyword(Token token);
+  set thisKeyword(Token token);
 }
 
 /// A rethrow expression.
@@ -4358,7 +4358,7 @@
   Token get rethrowKeyword;
 
   /// Set the token representing the 'rethrow' keyword to the given [token].
-  void set rethrowKeyword(Token token);
+  set rethrowKeyword(Token token);
 }
 
 /// A return statement.
@@ -4374,19 +4374,19 @@
 
   /// Set the expression computing the value to be returned to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the token representing the 'return' keyword.
   Token get returnKeyword;
 
   /// Set the token representing the 'return' keyword to the given [token].
-  void set returnKeyword(Token token);
+  set returnKeyword(Token token);
 
   /// Return the semicolon terminating the statement.
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 }
 
 /// A script tag that can optionally occur at the beginning of a compilation
@@ -4401,7 +4401,7 @@
   Token get scriptTag;
 
   /// Set the token representing this script tag to the given [token].
-  void set scriptTag(Token token);
+  set scriptTag(Token token);
 }
 
 /// A set or map literal.
@@ -4492,14 +4492,14 @@
 
   /// Set the token representing either the 'final', 'const' or 'var' keyword to
   /// the given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the declared type of the parameter, or `null` if the parameter does
   /// not have a declared type.
   TypeAnnotation get type;
 
   /// Set the declared type of the parameter to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 }
 
 /// A simple identifier.
@@ -4524,7 +4524,7 @@
   /// Set the auxiliary elements associated with this identifier to the given
   /// [elements].
   // TODO(brianwilkerson) Replace this API.
-  void set auxiliaryElements(AuxiliaryElements elements);
+  set auxiliaryElements(AuxiliaryElements elements);
 
   /// Return `true` if this identifier is the "name" part of a prefixed
   /// identifier or a method invocation.
@@ -4532,7 +4532,7 @@
 
   /// Set the element associated with this identifier based on static type
   /// information to the given [element].
-  void set staticElement(Element element);
+  set staticElement(Element element);
 
   /// If the identifier is a tear-off, return the inferred type arguments
   /// applied to the function type of the element to produce its [staticType].
@@ -4550,7 +4550,7 @@
   Token get token;
 
   /// Set the token representing the identifier to the given [token].
-  void set token(Token token);
+  set token(Token token);
 
   /// Return `true` if this identifier is the name being declared in a
   /// declaration.
@@ -4601,13 +4601,13 @@
   Token get literal;
 
   /// Set the token representing the literal to the given [token].
-  void set literal(Token token);
+  set literal(Token token);
 
   /// Return the value of the literal.
   String get value;
 
   /// Set the value of the literal to the given [string].
-  void set value(String string);
+  set value(String string);
 }
 
 /// A single string literal expression.
@@ -4718,7 +4718,7 @@
   ArgumentList get argumentList;
 
   /// Set the list of arguments to the constructor to the given [argumentList].
-  void set argumentList(ArgumentList argumentList);
+  set argumentList(ArgumentList argumentList);
 
   /// Return the name of the constructor that is being invoked, or `null` if the
   /// unnamed constructor is being invoked.
@@ -4726,7 +4726,7 @@
 
   /// Set the name of the constructor that is being invoked to the given
   /// [identifier].
-  void set constructorName(SimpleIdentifier identifier);
+  set constructorName(SimpleIdentifier identifier);
 
   /// Return the token for the period before the name of the constructor that is
   /// being invoked, or `null` if the unnamed constructor is being invoked.
@@ -4734,13 +4734,13 @@
 
   /// Set the token for the period before the name of the constructor that is
   /// being invoked to the given [token].
-  void set period(Token token);
+  set period(Token token);
 
   /// Return the token for the 'super' keyword.
   Token get superKeyword;
 
   /// Set the token for the 'super' keyword to the given [token].
-  void set superKeyword(Token token);
+  set superKeyword(Token token);
 }
 
 /// A super expression.
@@ -4754,7 +4754,7 @@
   Token get superKeyword;
 
   /// Set the token representing the 'super' keyword to the given [token].
-  void set superKeyword(Token token);
+  set superKeyword(Token token);
 }
 
 /// A case in a switch statement.
@@ -4769,7 +4769,7 @@
 
   /// Set the expression controlling whether the statements will be executed to
   /// the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 }
 
 /// The default case in a switch statement.
@@ -4794,14 +4794,14 @@
 
   /// Set the colon separating the keyword or the expression from the
   /// statements to the given [token].
-  void set colon(Token token);
+  set colon(Token token);
 
   /// Return the token representing the 'case' or 'default' keyword.
   Token get keyword;
 
   /// Set the token representing the 'case' or 'default' keyword to the given
   /// [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the labels associated with the switch member.
   NodeList<Label> get labels;
@@ -4824,19 +4824,19 @@
 
   /// Set the expression used to determine which of the switch members will be
   /// selected to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the left curly bracket.
   Token get leftBracket;
 
   /// Set the left curly bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the switch members that can be selected by the expression.
   NodeList<SwitchMember> get members;
@@ -4845,19 +4845,19 @@
   Token get rightBracket;
 
   /// Set the right curly bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the token representing the 'switch' keyword.
   Token get switchKeyword;
 
   /// Set the token representing the 'switch' keyword to the given [token].
-  void set switchKeyword(Token token);
+  set switchKeyword(Token token);
 }
 
 /// A symbol literal expression.
@@ -4874,7 +4874,7 @@
   Token get poundSign;
 
   /// Set the token introducing the literal to the given [token].
-  void set poundSign(Token token);
+  set poundSign(Token token);
 }
 
 /// A this expression.
@@ -4888,7 +4888,7 @@
   Token get thisKeyword;
 
   /// Set the token representing the 'this' keyword to the given [token].
-  void set thisKeyword(Token token);
+  set thisKeyword(Token token);
 }
 
 /// A throw expression.
@@ -4903,13 +4903,13 @@
 
   /// Set the expression computing the exception to be thrown to the given
   /// [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the token representing the 'throw' keyword.
   Token get throwKeyword;
 
   /// Set the token representing the 'throw' keyword to the given [token].
-  void set throwKeyword(Token token);
+  set throwKeyword(Token token);
 }
 
 /// The declaration of one or more top-level variables of the same type.
@@ -4924,14 +4924,14 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the declaration to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the top-level variables being declared.
   VariableDeclarationList get variables;
 
   /// Set the top-level variables being declared to the given list of
   /// [variables].
-  void set variables(VariableDeclarationList variables);
+  set variables(VariableDeclarationList variables);
 }
 
 /// A try statement.
@@ -4948,7 +4948,7 @@
   Block get body;
 
   /// Set the body of the statement to the given [block].
-  void set body(Block block);
+  set body(Block block);
 
   /// Return the catch clauses contained in the try statement.
   NodeList<CatchClause> get catchClauses;
@@ -4958,20 +4958,20 @@
   Block get finallyBlock;
 
   /// Set the finally block contained in the try statement to the given [block].
-  void set finallyBlock(Block block);
+  set finallyBlock(Block block);
 
   /// Return the token representing the 'finally' keyword, or `null` if the
   /// statement does not contain a finally clause.
   Token get finallyKeyword;
 
   /// Set the token representing the 'finally' keyword to the given [token].
-  void set finallyKeyword(Token token);
+  set finallyKeyword(Token token);
 
   /// Return the token representing the 'try' keyword.
   Token get tryKeyword;
 
   /// Set the token representing the 'try' keyword to the given [token].
-  void set tryKeyword(Token token);
+  set tryKeyword(Token token);
 }
 
 /// The declaration of a type alias.
@@ -4989,13 +4989,13 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the declaration to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the token representing the 'typedef' keyword.
   Token get typedefKeyword;
 
   /// Set the token representing the 'typedef' keyword to the given [token].
-  void set typedefKeyword(Token token);
+  set typedefKeyword(Token token);
 }
 
 /// A type annotation.
@@ -5029,13 +5029,13 @@
   Token get leftBracket;
 
   /// Set the left bracket to the given [token].
-  void set leftBracket(Token token);
+  set leftBracket(Token token);
 
   /// Return the right bracket.
   Token get rightBracket;
 
   /// Set the right bracket to the given [token].
-  void set rightBracket(Token token);
+  set rightBracket(Token token);
 }
 
 /// A literal that has a type associated with it.
@@ -5051,7 +5051,7 @@
   Token get constKeyword;
 
   /// Set the token representing the 'const' keyword to the given [token].
-  void set constKeyword(Token token);
+  set constKeyword(Token token);
 
   /// Return `true` if this literal is a constant expression, either because the
   /// keyword `const` was explicitly provided or because no keyword was provided
@@ -5064,7 +5064,7 @@
 
   /// Set the type argument associated with this literal to the given
   /// [typeArguments].
-  void set typeArguments(TypeArgumentList typeArguments);
+  set typeArguments(TypeArgumentList typeArguments);
 }
 
 /// The name of a type, which can optionally include type arguments.
@@ -5087,7 +5087,7 @@
   TypeAnnotation get bound;
 
   /// Set the upper bound for legal arguments to the given [type].
-  void set bound(TypeAnnotation type);
+  set bound(TypeAnnotation type);
 
   @override
   TypeParameterElement get declaredElement;
@@ -5097,13 +5097,13 @@
   Token get extendsKeyword;
 
   /// Set the token representing the 'extends' keyword to the given [token].
-  void set extendsKeyword(Token token);
+  set extendsKeyword(Token token);
 
   /// Return the name of the type parameter.
   SimpleIdentifier get name;
 
   /// Set the name of the type parameter to the given [identifier].
-  void set name(SimpleIdentifier identifier);
+  set name(SimpleIdentifier identifier);
 }
 
 /// Type parameters within a declaration.
@@ -5138,19 +5138,19 @@
 
   /// Set the source to which the URI was resolved to the given [source].
   @deprecated
-  void set source(Source source);
+  set source(Source source);
 
   /// Return the URI referenced by this directive.
   StringLiteral get uri;
 
   /// Set the URI referenced by this directive to the given [uri].
-  void set uri(StringLiteral uri);
+  set uri(StringLiteral uri);
 
   /// Return the content of the [uri].
   String get uriContent;
 
   /// Set the content of the [uri] to the given [content].
-  void set uriContent(String content);
+  set uriContent(String content);
 
   /// Return the element associated with the [uri] of this directive, or `null`
   /// if the AST structure has not been resolved or if the URI could not be
@@ -5164,7 +5164,7 @@
   Source get uriSource;
 
   /// Set the source to which the [uri] was resolved to the given [source].
-  void set uriSource(Source source);
+  set uriSource(Source source);
 }
 
 /// An identifier that has an initial value associated with it.
@@ -5190,7 +5190,7 @@
 
   /// Set the equal sign separating the variable name from the initial value to
   /// the given [token].
-  void set equals(Token token);
+  set equals(Token token);
 
   /// Return the expression used to compute the initial value for the variable,
   /// or `null` if the initial value was not specified.
@@ -5198,7 +5198,7 @@
 
   /// Set the expression used to compute the initial value for the variable to
   /// the given [expression].
-  void set initializer(Expression expression);
+  set initializer(Expression expression);
 
   /// Return `true` if this variable was declared with the 'const' modifier.
   bool get isConst;
@@ -5216,7 +5216,7 @@
   SimpleIdentifier get name;
 
   /// Set the name of the variable being declared to the given [identifier].
-  void set name(SimpleIdentifier identifier);
+  set name(SimpleIdentifier identifier);
 }
 
 /// The declaration of one or more variables of the same type.
@@ -5254,7 +5254,7 @@
 
   /// Set the token representing the 'final', 'const' or 'var' keyword to the
   /// given [token].
-  void set keyword(Token token);
+  set keyword(Token token);
 
   /// Return the token representing the 'late' keyword, or `null` if the late
   /// modifier was not included.
@@ -5265,7 +5265,7 @@
   TypeAnnotation get type;
 
   /// Set the type of the variables being declared to the given [type].
-  void set type(TypeAnnotation type);
+  set type(TypeAnnotation type);
 
   /// Return a list containing the individual variables being declared.
   NodeList<VariableDeclaration> get variables;
@@ -5283,13 +5283,13 @@
   Token get semicolon;
 
   /// Set the semicolon terminating the statement to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the variables being declared.
   VariableDeclarationList get variables;
 
   /// Set the variables being declared to the given list of [variables].
-  void set variables(VariableDeclarationList variables);
+  set variables(VariableDeclarationList variables);
 }
 
 /// A while statement.
@@ -5303,7 +5303,7 @@
   Statement get body;
 
   /// Set the body of the loop to the given [statement].
-  void set body(Statement statement);
+  set body(Statement statement);
 
   /// Return the expression used to determine whether to execute the body of the
   /// loop.
@@ -5311,25 +5311,25 @@
 
   /// Set the expression used to determine whether to execute the body of the
   /// loop to the given [expression].
-  void set condition(Expression expression);
+  set condition(Expression expression);
 
   /// Return the left parenthesis.
   Token get leftParenthesis;
 
   /// Set the left parenthesis to the given [token].
-  void set leftParenthesis(Token token);
+  set leftParenthesis(Token token);
 
   /// Return the right parenthesis.
   Token get rightParenthesis;
 
   /// Set the right parenthesis to the given [token].
-  void set rightParenthesis(Token token);
+  set rightParenthesis(Token token);
 
   /// Return the token representing the 'while' keyword.
   Token get whileKeyword;
 
   /// Set the token representing the 'while' keyword to the given [token].
-  void set whileKeyword(Token token);
+  set whileKeyword(Token token);
 }
 
 /// The with clause in a class declaration.
@@ -5346,7 +5346,7 @@
   Token get withKeyword;
 
   /// Set the token representing the 'with' keyword to the given [token].
-  void set withKeyword(Token token);
+  set withKeyword(Token token);
 }
 
 /// A yield statement.
@@ -5360,24 +5360,24 @@
   Expression get expression;
 
   /// Set the expression whose value will be yielded to the given [expression].
-  void set expression(Expression expression);
+  set expression(Expression expression);
 
   /// Return the semicolon following the expression.
   Token get semicolon;
 
   /// Return the semicolon following the expression to the given [token].
-  void set semicolon(Token token);
+  set semicolon(Token token);
 
   /// Return the star optionally following the 'yield' keyword.
   Token get star;
 
   /// Return the star optionally following the 'yield' keyword to the given
   /// [token].
-  void set star(Token token);
+  set star(Token token);
 
   /// Return the 'yield' keyword.
   Token get yieldKeyword;
 
   /// Return the 'yield' keyword to the given [token].
-  void set yieldKeyword(Token token);
+  set yieldKeyword(Token token);
 }
diff --git a/pkg/analyzer/lib/error/listener.dart b/pkg/analyzer/lib/error/listener.dart
index 85d9803..68fc28b 100644
--- a/pkg/analyzer/lib/error/listener.dart
+++ b/pkg/analyzer/lib/error/listener.dart
@@ -92,7 +92,7 @@
    * Set the source to be used when reporting errors to the given [source].
    * Setting the source to `null` will cause the default source to be used.
    */
-  void set source(Source source) {
+  set source(Source source) {
     this._source = source ?? _defaultSource;
   }
 
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
index 4744d87..62588c6 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -28,7 +28,7 @@
   }
 
   @override
-  void set analysisOptions(AnalysisOptions options) {
+  set analysisOptions(AnalysisOptions options) {
     throw StateError('Cannot be changed.');
   }
 
@@ -38,7 +38,7 @@
   }
 
   @override
-  void set sourceFactory(SourceFactory factory) {
+  set sourceFactory(SourceFactory factory) {
     throw StateError('Cannot be changed.');
   }
 
diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
index d7c4ead..391aacf 100644
--- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
@@ -339,7 +339,7 @@
   List<String> get priorityFiles => _priorityFiles.toList(growable: false);
 
   @override
-  void set priorityFiles(List<String> priorityPaths) {
+  set priorityFiles(List<String> priorityPaths) {
     _priorityResults.keys
         .toSet()
         .difference(priorityPaths.toSet())
@@ -1778,7 +1778,7 @@
   /// The driver will produce the results through the [results] stream. The
   /// exact order in which results are produced is not defined, neither
   /// between priority files, nor between priority and non-priority files.
-  void set priorityFiles(List<String> priorityPaths);
+  set priorityFiles(List<String> priorityPaths);
 
   /// Return the priority of work that the driver needs to perform.
   AnalysisDriverPriority get workPriority;
diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart
index 0a6daab..f38e169 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
@@ -117,7 +117,7 @@
   Comment get documentationComment => _comment;
 
   @override
-  void set documentationComment(Comment comment) {
+  set documentationComment(Comment comment) {
     _comment = _becomeParentOf(comment as CommentImpl);
   }
 
@@ -224,7 +224,7 @@
   ArgumentList get arguments => _arguments;
 
   @override
-  void set arguments(ArgumentList arguments) {
+  set arguments(ArgumentList arguments) {
     _arguments = _becomeParentOf(arguments as ArgumentListImpl);
   }
 
@@ -243,7 +243,7 @@
   SimpleIdentifier get constructorName => _constructorName;
 
   @override
-  void set constructorName(SimpleIdentifier name) {
+  set constructorName(SimpleIdentifier name) {
     _constructorName = _becomeParentOf(name as SimpleIdentifierImpl);
   }
 
@@ -258,7 +258,7 @@
   }
 
   @override
-  void set element(Element element) {
+  set element(Element element) {
     _element = element;
   }
 
@@ -276,7 +276,7 @@
   Identifier get name => _name;
 
   @override
-  void set name(Identifier name) {
+  set name(Identifier name) {
     _name = _becomeParentOf(name as IdentifierImpl);
   }
 
@@ -344,7 +344,7 @@
       _correspondingStaticParameters;
 
   @override
-  void set correspondingStaticParameters(List<ParameterElement> parameters) {
+  set correspondingStaticParameters(List<ParameterElement> parameters) {
     if (parameters != null && parameters.length != _arguments.length) {
       throw ArgumentError(
           "Expected ${_arguments.length} parameters, not ${parameters.length}");
@@ -425,7 +425,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -436,7 +436,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -503,7 +503,7 @@
   Expression get condition => _condition;
 
   @override
-  void set condition(Expression condition) {
+  set condition(Expression condition) {
     _condition = _becomeParentOf(condition as ExpressionImpl);
   }
 
@@ -514,7 +514,7 @@
   Expression get message => _message;
 
   @override
-  void set message(Expression expression) {
+  set message(Expression expression) {
     _message = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -585,7 +585,7 @@
   Expression get condition => _condition;
 
   @override
-  void set condition(Expression condition) {
+  set condition(Expression condition) {
     _condition = _becomeParentOf(condition as ExpressionImpl);
   }
 
@@ -596,7 +596,7 @@
   Expression get message => _message;
 
   @override
-  void set message(Expression expression) {
+  set message(Expression expression) {
     _message = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -671,7 +671,7 @@
   Expression get leftHandSide => _leftHandSide;
 
   @override
-  void set leftHandSide(Expression expression) {
+  set leftHandSide(Expression expression) {
     _leftHandSide = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -682,7 +682,7 @@
   Expression get rightHandSide => _rightHandSide;
 
   @override
-  void set rightHandSide(Expression expression) {
+  set rightHandSide(Expression expression) {
     _rightHandSide = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -887,7 +887,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -948,7 +948,7 @@
   Expression get leftOperand => _leftOperand;
 
   @override
-  void set leftOperand(Expression expression) {
+  set leftOperand(Expression expression) {
     _leftOperand = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -959,7 +959,7 @@
   Expression get rightOperand => _rightOperand;
 
   @override
-  void set rightOperand(Expression expression) {
+  set rightOperand(Expression expression) {
     _rightOperand = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -1012,7 +1012,7 @@
   Block get block => _block;
 
   @override
-  void set block(Block block) {
+  set block(Block block) {
     _block = _becomeParentOf(block as BlockImpl);
   }
 
@@ -1170,7 +1170,7 @@
   SimpleIdentifier get label => _label;
 
   @override
-  void set label(SimpleIdentifier identifier) {
+  set label(SimpleIdentifier identifier) {
     _label = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -1234,7 +1234,7 @@
   Expression get target => _target;
 
   @override
-  void set target(Expression target) {
+  set target(Expression target) {
     _target = _becomeParentOf(target as ExpressionImpl);
   }
 
@@ -1327,7 +1327,7 @@
   Block get body => _body;
 
   @override
-  void set body(Block block) {
+  set body(Block block) {
     _body = _becomeParentOf(block as BlockImpl);
   }
 
@@ -1350,7 +1350,7 @@
   SimpleIdentifier get exceptionParameter => _exceptionParameter;
 
   @override
-  void set exceptionParameter(SimpleIdentifier parameter) {
+  set exceptionParameter(SimpleIdentifier parameter) {
     _exceptionParameter = _becomeParentOf(parameter as SimpleIdentifierImpl);
   }
 
@@ -1358,7 +1358,7 @@
   TypeAnnotation get exceptionType => _exceptionType;
 
   @override
-  void set exceptionType(TypeAnnotation exceptionType) {
+  set exceptionType(TypeAnnotation exceptionType) {
     _exceptionType = _becomeParentOf(exceptionType as TypeAnnotationImpl);
   }
 
@@ -1366,7 +1366,7 @@
   SimpleIdentifier get stackTraceParameter => _stackTraceParameter;
 
   @override
-  void set stackTraceParameter(SimpleIdentifier parameter) {
+  set stackTraceParameter(SimpleIdentifier parameter) {
     _stackTraceParameter = _becomeParentOf(parameter as SimpleIdentifierImpl);
   }
 
@@ -1484,7 +1484,7 @@
   ExtendsClause get extendsClause => _extendsClause;
 
   @override
-  void set extendsClause(ExtendsClause extendsClause) {
+  set extendsClause(ExtendsClause extendsClause) {
     _extendsClause = _becomeParentOf(extendsClause as ExtendsClauseImpl);
   }
 
@@ -1503,7 +1503,7 @@
   NativeClause get nativeClause => _nativeClause;
 
   @override
-  void set nativeClause(NativeClause nativeClause) {
+  set nativeClause(NativeClause nativeClause) {
     _nativeClause = _becomeParentOf(nativeClause as NativeClauseImpl);
   }
 
@@ -1511,7 +1511,7 @@
   WithClause get withClause => _withClause;
 
   @override
-  void set withClause(WithClause withClause) {
+  set withClause(WithClause withClause) {
     _withClause = _becomeParentOf(withClause as WithClauseImpl);
   }
 
@@ -1597,7 +1597,7 @@
 
   ImplementsClause get implementsClause => _implementsClause;
 
-  void set implementsClause(ImplementsClause implementsClause) {
+  set implementsClause(ImplementsClause implementsClause) {
     _implementsClause =
         _becomeParentOf(implementsClause as ImplementsClauseImpl);
   }
@@ -1606,7 +1606,7 @@
 
   TypeParameterList get typeParameters => _typeParameters;
 
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -1731,7 +1731,7 @@
   ImplementsClause get implementsClause => _implementsClause;
 
   @override
-  void set implementsClause(ImplementsClause implementsClause) {
+  set implementsClause(ImplementsClause implementsClause) {
     _implementsClause =
         _becomeParentOf(implementsClause as ImplementsClauseImpl);
   }
@@ -1743,7 +1743,7 @@
   TypeName get superclass => _superclass;
 
   @override
-  void set superclass(TypeName superclass) {
+  set superclass(TypeName superclass) {
     _superclass = _becomeParentOf(superclass as TypeNameImpl);
   }
 
@@ -1751,7 +1751,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -1759,7 +1759,7 @@
   WithClause get withClause => _withClause;
 
   @override
-  void set withClause(WithClause withClause) {
+  set withClause(WithClause withClause) {
     _withClause = _becomeParentOf(withClause as WithClauseImpl);
   }
 
@@ -1917,7 +1917,7 @@
   Identifier get identifier => _identifier;
 
   @override
-  void set identifier(Identifier identifier) {
+  set identifier(Identifier identifier) {
     _identifier = _becomeParentOf(identifier as IdentifierImpl);
   }
 
@@ -2060,7 +2060,7 @@
   ScriptTag get scriptTag => _scriptTag;
 
   @override
-  void set scriptTag(ScriptTag scriptTag) {
+  set scriptTag(ScriptTag scriptTag) {
     _scriptTag = _becomeParentOf(scriptTag as ScriptTagImpl);
   }
 
@@ -2173,7 +2173,7 @@
   Expression get condition => _condition;
 
   @override
-  void set condition(Expression expression) {
+  set condition(Expression expression) {
     _condition = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -2181,7 +2181,7 @@
   Expression get elseExpression => _elseExpression;
 
   @override
-  void set elseExpression(Expression expression) {
+  set elseExpression(Expression expression) {
     _elseExpression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -2195,7 +2195,7 @@
   Expression get thenExpression => _thenExpression;
 
   @override
-  void set thenExpression(Expression expression) {
+  set thenExpression(Expression expression) {
     _thenExpression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -2278,7 +2278,7 @@
 
   @deprecated
   @override
-  void set libraryUri(StringLiteral libraryUri) {
+  set libraryUri(StringLiteral libraryUri) {
     _uri = _becomeParentOf(libraryUri as StringLiteralImpl);
   }
 
@@ -2286,7 +2286,7 @@
   DottedName get name => _name;
 
   @override
-  void set name(DottedName name) {
+  set name(DottedName name) {
     _name = _becomeParentOf(name as DottedNameImpl);
   }
 
@@ -2294,7 +2294,7 @@
   StringLiteral get uri => _uri;
 
   @override
-  void set uri(StringLiteral uri) {
+  set uri(StringLiteral uri) {
     _uri = _becomeParentOf(uri as StringLiteralImpl);
   }
 
@@ -2302,7 +2302,7 @@
   StringLiteral get value => _value;
 
   @override
-  void set value(StringLiteral value) {
+  set value(StringLiteral value) {
     _value = _becomeParentOf(value as StringLiteralImpl);
   }
 
@@ -2469,7 +2469,7 @@
   FunctionBody get body => _body;
 
   @override
-  void set body(FunctionBody functionBody) {
+  set body(FunctionBody functionBody) {
     _body = _becomeParentOf(functionBody as FunctionBodyImpl);
   }
 
@@ -2520,7 +2520,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -2528,7 +2528,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -2536,7 +2536,7 @@
   ConstructorName get redirectedConstructor => _redirectedConstructor;
 
   @override
-  void set redirectedConstructor(ConstructorName redirectedConstructor) {
+  set redirectedConstructor(ConstructorName redirectedConstructor) {
     _redirectedConstructor =
         _becomeParentOf(redirectedConstructor as ConstructorNameImpl);
   }
@@ -2545,7 +2545,7 @@
   Identifier get returnType => _returnType;
 
   @override
-  void set returnType(Identifier typeName) {
+  set returnType(Identifier typeName) {
     _returnType = _becomeParentOf(typeName as IdentifierImpl);
   }
 
@@ -2622,7 +2622,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -2630,7 +2630,7 @@
   SimpleIdentifier get fieldName => _fieldName;
 
   @override
-  void set fieldName(SimpleIdentifier identifier) {
+  set fieldName(SimpleIdentifier identifier) {
     _fieldName = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -2704,7 +2704,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier name) {
+  set name(SimpleIdentifier name) {
     _name = _becomeParentOf(name as SimpleIdentifierImpl);
   }
 
@@ -2712,7 +2712,7 @@
   TypeName get type => _type;
 
   @override
-  void set type(TypeName type) {
+  set type(TypeName type) {
     _type = _becomeParentOf(type as TypeNameImpl);
   }
 
@@ -2771,7 +2771,7 @@
   SimpleIdentifier get label => _label;
 
   @override
-  void set label(SimpleIdentifier identifier) {
+  set label(SimpleIdentifier identifier) {
     _label = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -2853,7 +2853,7 @@
   SimpleIdentifier get identifier => _identifier;
 
   @override
-  void set identifier(SimpleIdentifier identifier) {
+  set identifier(SimpleIdentifier identifier) {
     _identifier = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -2867,7 +2867,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -2950,7 +2950,7 @@
   Expression get defaultValue => _defaultValue;
 
   @override
-  void set defaultValue(Expression expression) {
+  set defaultValue(Expression expression) {
     _defaultValue = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -2978,7 +2978,7 @@
   NormalFormalParameter get parameter => _parameter;
 
   @override
-  void set parameter(NormalFormalParameter formalParameter) {
+  set parameter(NormalFormalParameter formalParameter) {
     _parameter = _becomeParentOf(formalParameter as NormalFormalParameterImpl);
   }
 
@@ -3019,7 +3019,7 @@
   Element get element => _element;
 
   /// Set the element associated with this directive to be the given [element].
-  void set element(Element element) {
+  set element(Element element) {
     _element = element;
   }
 }
@@ -3074,7 +3074,7 @@
   Statement get body => _body;
 
   @override
-  void set body(Statement statement) {
+  set body(Statement statement) {
     _body = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -3092,7 +3092,7 @@
   Expression get condition => _condition;
 
   @override
-  void set condition(Expression expression) {
+  set condition(Expression expression) {
     _condition = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -3283,7 +3283,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier name) {
+  set name(SimpleIdentifier name) {
     _name = _becomeParentOf(name as SimpleIdentifierImpl);
   }
 
@@ -3484,7 +3484,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -3645,7 +3645,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -3692,7 +3692,7 @@
   TypeName get superclass => _superclass;
 
   @override
-  void set superclass(TypeName name) {
+  set superclass(TypeName name) {
     _superclass = _becomeParentOf(name as TypeNameImpl);
   }
 
@@ -3785,7 +3785,7 @@
   @override
   TypeAnnotation get extendedType => _extendedType;
 
-  void set extendedType(TypeAnnotation extendedClass) {
+  set extendedType(TypeAnnotation extendedClass) {
     _extendedType = _becomeParentOf(extendedClass as TypeAnnotationImpl);
   }
 
@@ -3798,14 +3798,14 @@
   @override
   SimpleIdentifier get name => _name;
 
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
   @override
   TypeParameterList get typeParameters => _typeParameters;
 
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -3856,7 +3856,7 @@
   @override
   ArgumentList get argumentList => _argumentList;
 
-  void set argumentList(ArgumentList argumentList) {
+  set argumentList(ArgumentList argumentList) {
     _argumentList = _becomeParentOf(argumentList as ArgumentListImpl);
   }
 
@@ -3875,7 +3875,7 @@
   @override
   Identifier get extensionName => _extensionName;
 
-  void set extensionName(Identifier extensionName) {
+  set extensionName(Identifier extensionName) {
     _extensionName = _becomeParentOf(extensionName as IdentifierImpl);
   }
 
@@ -3888,7 +3888,7 @@
   @override
   TypeArgumentList get typeArguments => _typeArguments;
 
-  void set typeArguments(TypeArgumentList typeArguments) {
+  set typeArguments(TypeArgumentList typeArguments) {
     _typeArguments = _becomeParentOf(typeArguments as TypeArgumentListImpl);
   }
 
@@ -3955,7 +3955,7 @@
   VariableDeclarationList get fields => _fieldList;
 
   @override
-  void set fields(VariableDeclarationList fields) {
+  set fields(VariableDeclarationList fields) {
     _fieldList = _becomeParentOf(fields as VariableDeclarationListImpl);
   }
 
@@ -4087,7 +4087,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -4095,7 +4095,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -4103,7 +4103,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -4148,7 +4148,7 @@
   @override
   Expression get iterable => _iterable;
 
-  void set iterable(Expression expression) {
+  set iterable(Expression expression) {
     _iterable = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -4182,7 +4182,7 @@
   @override
   DeclaredIdentifier get loopVariable => _loopVariable;
 
-  void set loopVariable(DeclaredIdentifier variable) {
+  set loopVariable(DeclaredIdentifier variable) {
     _loopVariable = _becomeParentOf(variable as DeclaredIdentifierImpl);
   }
 
@@ -4221,7 +4221,7 @@
   @override
   SimpleIdentifier get identifier => _identifier;
 
-  void set identifier(SimpleIdentifier identifier) {
+  set identifier(SimpleIdentifier identifier) {
     _identifier = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -4261,7 +4261,7 @@
   @override
   CollectionElement get body => _body;
 
-  void set body(CollectionElement statement) {
+  set body(CollectionElement statement) {
     _body = _becomeParentOf(statement as CollectionElementImpl);
   }
 
@@ -4464,7 +4464,7 @@
 
   ForLoopParts get forLoopParts => _forLoopParts;
 
-  void set forLoopParts(ForLoopParts forLoopParts) {
+  set forLoopParts(ForLoopParts forLoopParts) {
     _forLoopParts = _becomeParentOf(forLoopParts as ForLoopPartsImpl);
   }
 }
@@ -4506,7 +4506,7 @@
   @override
   Expression get condition => _condition;
 
-  void set condition(Expression expression) {
+  set condition(Expression expression) {
     _condition = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -4554,7 +4554,7 @@
   @override
   VariableDeclarationList get variables => _variableList;
 
-  void set variables(VariableDeclarationList variableList) {
+  set variables(VariableDeclarationList variableList) {
     _variableList =
         _becomeParentOf(variableList as VariableDeclarationListImpl);
   }
@@ -4597,7 +4597,7 @@
   @override
   Expression get initialization => _initialization;
 
-  void set initialization(Expression initialization) {
+  set initialization(Expression initialization) {
     _initialization = _becomeParentOf(initialization as ExpressionImpl);
   }
 
@@ -4638,7 +4638,7 @@
 
   Statement get body => _body;
 
-  void set body(Statement statement) {
+  set body(Statement statement) {
     _body = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -4789,7 +4789,7 @@
   FunctionExpression get functionExpression => _functionExpression;
 
   @override
-  void set functionExpression(FunctionExpression functionExpression) {
+  set functionExpression(FunctionExpression functionExpression) {
     _functionExpression =
         _becomeParentOf(functionExpression as FunctionExpressionImpl);
   }
@@ -4804,7 +4804,7 @@
   TypeAnnotation get returnType => _returnType;
 
   @override
-  void set returnType(TypeAnnotation type) {
+  set returnType(TypeAnnotation type) {
     _returnType = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -4846,7 +4846,7 @@
   FunctionDeclaration get functionDeclaration => _functionDeclaration;
 
   @override
-  void set functionDeclaration(FunctionDeclaration functionDeclaration) {
+  set functionDeclaration(FunctionDeclaration functionDeclaration) {
     _functionDeclaration =
         _becomeParentOf(functionDeclaration as FunctionDeclarationImpl);
   }
@@ -4907,7 +4907,7 @@
   FunctionBody get body => _body;
 
   @override
-  void set body(FunctionBody functionBody) {
+  set body(FunctionBody functionBody) {
     _body = _becomeParentOf(functionBody as FunctionBodyImpl);
   }
 
@@ -4937,7 +4937,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -4948,7 +4948,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -5002,7 +5002,7 @@
   Expression get function => _function;
 
   @override
-  void set function(Expression expression) {
+  set function(Expression expression) {
     _function = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -5077,7 +5077,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -5085,7 +5085,7 @@
   TypeAnnotation get returnType => _returnType;
 
   @override
-  void set returnType(TypeAnnotation type) {
+  set returnType(TypeAnnotation type) {
     _returnType = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -5093,7 +5093,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -5176,7 +5176,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -5184,7 +5184,7 @@
   TypeAnnotation get returnType => _returnType;
 
   @override
-  void set returnType(TypeAnnotation type) {
+  set returnType(TypeAnnotation type) {
     _returnType = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -5192,7 +5192,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -5291,7 +5291,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -5299,7 +5299,7 @@
   TypeAnnotation get returnType => _returnType;
 
   @override
-  void set returnType(TypeAnnotation type) {
+  set returnType(TypeAnnotation type) {
     _returnType = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -5309,7 +5309,7 @@
 
   /// Set the type parameters for the function type to the given list of
   /// [typeParameters].
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -5377,7 +5377,7 @@
   GenericFunctionType get functionType => _functionType;
 
   @override
-  void set functionType(GenericFunctionType functionType) {
+  set functionType(GenericFunctionType functionType) {
     _functionType = _becomeParentOf(functionType as GenericFunctionTypeImpl);
   }
 
@@ -5385,7 +5385,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -5535,7 +5535,7 @@
 
   Expression get condition => _condition;
 
-  void set condition(Expression expression) {
+  set condition(Expression expression) {
     _condition = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -5592,7 +5592,7 @@
   Statement get elseStatement => _elseStatement;
 
   @override
-  void set elseStatement(Statement statement) {
+  set elseStatement(Statement statement) {
     _elseStatement = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -5608,7 +5608,7 @@
   Statement get thenStatement => _thenStatement;
 
   @override
-  void set thenStatement(Statement statement) {
+  set thenStatement(Statement statement) {
     _thenStatement = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -5725,7 +5725,7 @@
   SimpleIdentifier get prefix => _prefix;
 
   @override
-  void set prefix(SimpleIdentifier identifier) {
+  set prefix(SimpleIdentifier identifier) {
     _prefix = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -5823,7 +5823,7 @@
   Expression get index => _index;
 
   @override
-  void set index(Expression expression) {
+  set index(Expression expression) {
     _index = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -5862,7 +5862,7 @@
   Expression get target => _target;
 
   @override
-  void set target(Expression expression) {
+  set target(Expression expression) {
     _target = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -5972,7 +5972,7 @@
   ArgumentList get argumentList => _argumentList;
 
   @override
-  void set argumentList(ArgumentList argumentList) {
+  set argumentList(ArgumentList argumentList) {
     _argumentList = _becomeParentOf(argumentList as ArgumentListImpl);
   }
 
@@ -5990,7 +5990,7 @@
   ConstructorName get constructorName => _constructorName;
 
   @override
-  void set constructorName(ConstructorName name) {
+  set constructorName(ConstructorName name) {
     _constructorName = _becomeParentOf(name as ConstructorNameImpl);
   }
 
@@ -6022,7 +6022,7 @@
   /// with the class in which the constructor is defined. It is always an error
   /// if there are type arguments because Dart doesn't currently support generic
   /// constructors, but we capture them in the AST in order to recover better.
-  void set typeArguments(TypeArgumentList typeArguments) {
+  set typeArguments(TypeArgumentList typeArguments) {
     _typeArguments = _becomeParentOf(typeArguments as TypeArgumentListImpl);
   }
 
@@ -6199,7 +6199,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -6287,14 +6287,14 @@
   @override
   ArgumentList get argumentList => _argumentList;
 
-  void set argumentList(ArgumentList argumentList) {
+  set argumentList(ArgumentList argumentList) {
     _argumentList = _becomeParentOf(argumentList as ArgumentListImpl);
   }
 
   @override
   TypeArgumentList get typeArguments => _typeArguments;
 
-  void set typeArguments(TypeArgumentList typeArguments) {
+  set typeArguments(TypeArgumentList typeArguments) {
     _typeArguments = _becomeParentOf(typeArguments as TypeArgumentListImpl);
   }
 }
@@ -6343,7 +6343,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -6354,7 +6354,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -6408,7 +6408,7 @@
   Statement get statement => _statement;
 
   @override
-  void set statement(Statement statement) {
+  set statement(Statement statement) {
     _statement = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -6456,7 +6456,7 @@
   SimpleIdentifier get label => _label;
 
   @override
-  void set label(SimpleIdentifier label) {
+  set label(SimpleIdentifier label) {
     _label = _becomeParentOf(label as SimpleIdentifierImpl);
   }
 
@@ -6511,7 +6511,7 @@
   LibraryIdentifier get name => _name;
 
   @override
-  void set name(LibraryIdentifier name) {
+  set name(LibraryIdentifier name) {
     _name = _becomeParentOf(name as LibraryIdentifierImpl);
   }
 
@@ -6723,7 +6723,7 @@
   Expression get key => _key;
 
   @override
-  void set key(Expression string) {
+  set key(Expression string) {
     _key = _becomeParentOf(string as ExpressionImpl);
   }
 
@@ -6731,7 +6731,7 @@
   Expression get value => _value;
 
   @override
-  void set value(Expression expression) {
+  set value(Expression expression) {
     _value = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -6829,7 +6829,7 @@
   FunctionBody get body => _body;
 
   @override
-  void set body(FunctionBody functionBody) {
+  set body(FunctionBody functionBody) {
     _body = _becomeParentOf(functionBody as FunctionBodyImpl);
   }
 
@@ -6895,7 +6895,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -6903,7 +6903,7 @@
   FormalParameterList get parameters => _parameters;
 
   @override
-  void set parameters(FormalParameterList parameters) {
+  set parameters(FormalParameterList parameters) {
     _parameters = _becomeParentOf(parameters as FormalParameterListImpl);
   }
 
@@ -6911,7 +6911,7 @@
   TypeAnnotation get returnType => _returnType;
 
   @override
-  void set returnType(TypeAnnotation type) {
+  set returnType(TypeAnnotation type) {
     _returnType = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -6919,7 +6919,7 @@
   TypeParameterList get typeParameters => _typeParameters;
 
   @override
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -7017,7 +7017,7 @@
   SimpleIdentifier get methodName => _methodName;
 
   @override
-  void set methodName(SimpleIdentifier identifier) {
+  set methodName(SimpleIdentifier identifier) {
     _methodName = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -7059,7 +7059,7 @@
   Expression get target => _target;
 
   @override
-  void set target(Expression expression) {
+  set target(Expression expression) {
     _target = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -7134,7 +7134,7 @@
   @override
   ImplementsClause get implementsClause => _implementsClause;
 
-  void set implementsClause(ImplementsClause implementsClause) {
+  set implementsClause(ImplementsClause implementsClause) {
     _implementsClause =
         _becomeParentOf(implementsClause as ImplementsClauseImpl);
   }
@@ -7145,14 +7145,14 @@
   @override
   OnClause get onClause => _onClause;
 
-  void set onClause(OnClause onClause) {
+  set onClause(OnClause onClause) {
     _onClause = _becomeParentOf(onClause as OnClauseImpl);
   }
 
   @override
   TypeParameterList get typeParameters => _typeParameters;
 
-  void set typeParameters(TypeParameterList typeParameters) {
+  set typeParameters(TypeParameterList typeParameters) {
     _typeParameters = _becomeParentOf(typeParameters as TypeParameterListImpl);
   }
 
@@ -7189,7 +7189,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 }
@@ -7235,7 +7235,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -7243,7 +7243,7 @@
   Label get name => _name;
 
   @override
-  void set name(Label identifier) {
+  set name(Label identifier) {
     _name = _becomeParentOf(identifier as LabelImpl);
   }
 
@@ -7323,7 +7323,7 @@
 
   @deprecated
   @override
-  void set source(Source source) {
+  set source(Source source) {
     selectedSource = source;
   }
 
@@ -7362,7 +7362,7 @@
   StringLiteral get name => _name;
 
   @override
-  void set name(StringLiteral name) {
+  set name(StringLiteral name) {
     _name = _becomeParentOf(name as StringLiteralImpl);
   }
 
@@ -7415,7 +7415,7 @@
   StringLiteral get stringLiteral => _stringLiteral;
 
   @override
-  void set stringLiteral(StringLiteral stringLiteral) {
+  set stringLiteral(StringLiteral stringLiteral) {
     _stringLiteral = _becomeParentOf(stringLiteral as StringLiteralImpl);
   }
 
@@ -7464,7 +7464,7 @@
 
   @deprecated // Never intended for public use.
   @override
-  void set length(int newLength) {
+  set length(int newLength) {
     throw UnsupportedError("Cannot resize NodeList.");
   }
 
@@ -7472,7 +7472,7 @@
   AstNode get owner => _owner;
 
   @override
-  void set owner(AstNode value) {
+  set owner(AstNode value) {
     _owner = value as AstNodeImpl;
   }
 
@@ -7610,7 +7610,7 @@
   Comment get documentationComment => _comment;
 
   @override
-  void set documentationComment(Comment comment) {
+  set documentationComment(Comment comment) {
     _comment = _becomeParentOf(comment as CommentImpl);
   }
 
@@ -7618,7 +7618,7 @@
   SimpleIdentifier get identifier => _identifier;
 
   @override
-  void set identifier(SimpleIdentifier identifier) {
+  set identifier(SimpleIdentifier identifier) {
     _identifier = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -7636,7 +7636,7 @@
   NodeList<Annotation> get metadata => _metadata;
 
   @override
-  void set metadata(List<Annotation> metadata) {
+  set metadata(List<Annotation> metadata) {
     _metadata.clear();
     _metadata.addAll(metadata);
   }
@@ -7826,7 +7826,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -7956,7 +7956,7 @@
   LibraryIdentifier get libraryName => _libraryName;
 
   @override
-  void set libraryName(LibraryIdentifier libraryName) {
+  set libraryName(LibraryIdentifier libraryName) {
     _libraryName = _becomeParentOf(libraryName as LibraryIdentifierImpl);
   }
 
@@ -7964,7 +7964,7 @@
   StringLiteral get uri => _uri;
 
   @override
-  void set uri(StringLiteral uri) {
+  set uri(StringLiteral uri) {
     _uri = _becomeParentOf(uri as StringLiteralImpl);
   }
 
@@ -8017,7 +8017,7 @@
   Expression get operand => _operand;
 
   @override
-  void set operand(Expression expression) {
+  set operand(Expression expression) {
     _operand = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -8090,7 +8090,7 @@
   SimpleIdentifier get identifier => _identifier;
 
   @override
-  void set identifier(SimpleIdentifier identifier) {
+  set identifier(SimpleIdentifier identifier) {
     _identifier = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -8118,7 +8118,7 @@
   SimpleIdentifier get prefix => _prefix;
 
   @override
-  void set prefix(SimpleIdentifier identifier) {
+  set prefix(SimpleIdentifier identifier) {
     _prefix = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -8175,7 +8175,7 @@
   Expression get operand => _operand;
 
   @override
-  void set operand(Expression expression) {
+  set operand(Expression expression) {
     _operand = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -8270,7 +8270,7 @@
   SimpleIdentifier get propertyName => _propertyName;
 
   @override
-  void set propertyName(SimpleIdentifier identifier) {
+  set propertyName(SimpleIdentifier identifier) {
     _propertyName = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -8293,7 +8293,7 @@
   Expression get target => _target;
 
   @override
-  void set target(Expression expression) {
+  set target(Expression expression) {
     _target = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -8353,7 +8353,7 @@
   ArgumentList get argumentList => _argumentList;
 
   @override
-  void set argumentList(ArgumentList argumentList) {
+  set argumentList(ArgumentList argumentList) {
     _argumentList = _becomeParentOf(argumentList as ArgumentListImpl);
   }
 
@@ -8371,7 +8371,7 @@
   SimpleIdentifier get constructorName => _constructorName;
 
   @override
-  void set constructorName(SimpleIdentifier identifier) {
+  set constructorName(SimpleIdentifier identifier) {
     _constructorName = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -8459,7 +8459,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -8700,7 +8700,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -8781,7 +8781,7 @@
   Element get staticElement => _staticElement;
 
   @override
-  void set staticElement(Element element) {
+  set staticElement(Element element) {
     _staticElement = element;
   }
 
@@ -8948,7 +8948,7 @@
   String get value => _value;
 
   @override
-  void set value(String string) {
+  set value(String string) {
     _value = StringUtilities.intern(_value);
   }
 
@@ -9266,7 +9266,7 @@
   ArgumentList get argumentList => _argumentList;
 
   @override
-  void set argumentList(ArgumentList argumentList) {
+  set argumentList(ArgumentList argumentList) {
     _argumentList = _becomeParentOf(argumentList as ArgumentListImpl);
   }
 
@@ -9284,7 +9284,7 @@
   SimpleIdentifier get constructorName => _constructorName;
 
   @override
-  void set constructorName(SimpleIdentifier identifier) {
+  set constructorName(SimpleIdentifier identifier) {
     _constructorName = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -9363,7 +9363,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -9516,7 +9516,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -9636,7 +9636,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -9694,7 +9694,7 @@
   VariableDeclarationList get variables => _variableList;
 
   @override
-  void set variables(VariableDeclarationList variables) {
+  set variables(VariableDeclarationList variables) {
     _variableList = _becomeParentOf(variables as VariableDeclarationListImpl);
   }
 
@@ -9755,7 +9755,7 @@
   Block get body => _body;
 
   @override
-  void set body(Block block) {
+  set body(Block block) {
     _body = _becomeParentOf(block as BlockImpl);
   }
 
@@ -9786,7 +9786,7 @@
   Block get finallyBlock => _finallyBlock;
 
   @override
-  void set finallyBlock(Block block) {
+  set finallyBlock(Block block) {
     _finallyBlock = _becomeParentOf(block as BlockImpl);
   }
 
@@ -9914,7 +9914,7 @@
   TypeArgumentList get typeArguments => _typeArguments;
 
   @override
-  void set typeArguments(TypeArgumentList typeArguments) {
+  set typeArguments(TypeArgumentList typeArguments) {
     _typeArguments = _becomeParentOf(typeArguments as TypeArgumentListImpl);
   }
 
@@ -9980,7 +9980,7 @@
   Identifier get name => _name;
 
   @override
-  void set name(Identifier identifier) {
+  set name(Identifier identifier) {
     _name = _becomeParentOf(identifier as IdentifierImpl);
   }
 
@@ -9988,7 +9988,7 @@
   TypeArgumentList get typeArguments => _typeArguments;
 
   @override
-  void set typeArguments(TypeArgumentList typeArguments) {
+  set typeArguments(TypeArgumentList typeArguments) {
     _typeArguments = _becomeParentOf(typeArguments as TypeArgumentListImpl);
   }
 
@@ -10039,7 +10039,7 @@
   TypeAnnotation get bound => _bound;
 
   @override
-  void set bound(TypeAnnotation type) {
+  set bound(TypeAnnotation type) {
     _bound = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -10066,7 +10066,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -10161,7 +10161,7 @@
 
   @deprecated
   @override
-  void set source(Source source) {
+  set source(Source source) {
     uriSource = source;
   }
 
@@ -10169,7 +10169,7 @@
   StringLiteral get uri => _uri;
 
   @override
-  void set uri(StringLiteral uri) {
+  set uri(StringLiteral uri) {
     _uri = _becomeParentOf(uri as StringLiteralImpl);
   }
 
@@ -10300,7 +10300,7 @@
   Expression get initializer => _initializer;
 
   @override
-  void set initializer(Expression expression) {
+  set initializer(Expression expression) {
     _initializer = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -10326,7 +10326,7 @@
   SimpleIdentifier get name => _name;
 
   @override
-  void set name(SimpleIdentifier identifier) {
+  set name(SimpleIdentifier identifier) {
     _name = _becomeParentOf(identifier as SimpleIdentifierImpl);
   }
 
@@ -10418,7 +10418,7 @@
   TypeAnnotation get type => _type;
 
   @override
-  void set type(TypeAnnotation type) {
+  set type(TypeAnnotation type) {
     _type = _becomeParentOf(type as TypeAnnotationImpl);
   }
 
@@ -10470,7 +10470,7 @@
   VariableDeclarationList get variables => _variableList;
 
   @override
-  void set variables(VariableDeclarationList variables) {
+  set variables(VariableDeclarationList variables) {
     _variableList = _becomeParentOf(variables as VariableDeclarationListImpl);
   }
 
@@ -10518,7 +10518,7 @@
   Statement get body => _body;
 
   @override
-  void set body(Statement statement) {
+  set body(Statement statement) {
     _body = _becomeParentOf(statement as StatementImpl);
   }
 
@@ -10534,7 +10534,7 @@
   Expression get condition => _condition;
 
   @override
-  void set condition(Expression expression) {
+  set condition(Expression expression) {
     _condition = _becomeParentOf(expression as ExpressionImpl);
   }
 
@@ -10642,7 +10642,7 @@
   Expression get expression => _expression;
 
   @override
-  void set expression(Expression expression) {
+  set expression(Expression expression) {
     _expression = _becomeParentOf(expression as ExpressionImpl);
   }
 
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 0dabc30..347265e 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -70,7 +70,7 @@
   }
 
   /// Set the accessors contained in this class to the given [accessors].
-  void set accessors(List<PropertyAccessorElement> accessors) {
+  set accessors(List<PropertyAccessorElement> accessors) {
     for (PropertyAccessorElement accessor in accessors) {
       (accessor as PropertyAccessorElementImpl).enclosingElement = this;
     }
@@ -84,7 +84,7 @@
   List<FieldElement> get fields => _fields ?? const <FieldElement>[];
 
   /// Set the fields contained in this class to the given [fields].
-  void set fields(List<FieldElement> fields) {
+  set fields(List<FieldElement> fields) {
     for (FieldElement field in fields) {
       (field as FieldElementImpl).enclosingElement = this;
     }
@@ -543,7 +543,7 @@
   /// Set the constructors contained in this class to the given [constructors].
   ///
   /// Should only be used for class elements that are not mixin applications.
-  void set constructors(List<ConstructorElement> constructors) {
+  set constructors(List<ConstructorElement> constructors) {
     assert(!isMixinApplication);
     for (ConstructorElement constructor in constructors) {
       (constructor as ConstructorElementImpl).enclosingElement = this;
@@ -585,7 +585,7 @@
     return _hasBeenInferred;
   }
 
-  void set hasBeenInferred(bool hasBeenInferred) {
+  set hasBeenInferred(bool hasBeenInferred) {
     if (linkedNode != null) {
       return linkedContext.setOverrideInferenceDone(linkedNode);
     }
@@ -642,7 +642,7 @@
   bool get hasReferenceToSuper => hasModifier(Modifier.REFERENCES_SUPER);
 
   /// Set whether this class references 'super'.
-  void set hasReferenceToSuper(bool isReferencedSuper) {
+  set hasReferenceToSuper(bool isReferencedSuper) {
     setModifier(Modifier.REFERENCES_SUPER, isReferencedSuper);
   }
 
@@ -683,7 +683,7 @@
     return _interfaces = const <InterfaceType>[];
   }
 
-  void set interfaces(List<InterfaceType> interfaces) {
+  set interfaces(List<InterfaceType> interfaces) {
     _interfaces = interfaces;
   }
 
@@ -696,7 +696,7 @@
   }
 
   /// Set whether this class is abstract.
-  void set isAbstract(bool isAbstract) {
+  set isAbstract(bool isAbstract) {
     setModifier(Modifier.ABSTRACT, isAbstract);
   }
 
@@ -775,7 +775,7 @@
   }
 
   /// Set the methods contained in this class to the given [methods].
-  void set methods(List<MethodElement> methods) {
+  set methods(List<MethodElement> methods) {
     for (MethodElement method in methods) {
       (method as MethodElementImpl).enclosingElement = this;
     }
@@ -783,7 +783,7 @@
   }
 
   /// Set whether this class is a mixin application.
-  void set mixinApplication(bool isMixinApplication) {
+  set mixinApplication(bool isMixinApplication) {
     setModifier(Modifier.MIXIN_APPLICATION, isMixinApplication);
   }
 
@@ -813,7 +813,7 @@
     return _mixins = const <InterfaceType>[];
   }
 
-  void set mixins(List<InterfaceType> mixins) {
+  set mixins(List<InterfaceType> mixins) {
     _mixins = mixins;
   }
 
@@ -859,7 +859,7 @@
     return _supertype;
   }
 
-  void set supertype(InterfaceType supertype) {
+  set supertype(InterfaceType supertype) {
     _supertype = supertype;
   }
 
@@ -877,7 +877,7 @@
 
   /// Set the type parameters defined for this class to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement typeParameter in typeParameters) {
       (typeParameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -1300,7 +1300,7 @@
 
   /// Set the top-level accessors (getters and setters) contained in this
   /// compilation unit to the given [accessors].
-  void set accessors(List<PropertyAccessorElement> accessors) {
+  set accessors(List<PropertyAccessorElement> accessors) {
     for (PropertyAccessorElement accessor in accessors) {
       (accessor as PropertyAccessorElementImpl).enclosingElement = this;
     }
@@ -1353,7 +1353,7 @@
   }
 
   /// Set the enums contained in this compilation unit to the given [enums].
-  void set enums(List<ClassElement> enums) {
+  set enums(List<ClassElement> enums) {
     for (ClassElement enumDeclaration in enums) {
       (enumDeclaration as EnumElementImpl).enclosingElement = this;
     }
@@ -1390,7 +1390,7 @@
 
   /// Set the extensions contained in this compilation unit to the given
   /// [extensions].
-  void set extensions(List<ExtensionElement> extensions) {
+  set extensions(List<ExtensionElement> extensions) {
     for (ExtensionElement extension in extensions) {
       (extension as ExtensionElementImpl).enclosingElement = this;
     }
@@ -1421,7 +1421,7 @@
 
   /// Set the top-level functions contained in this compilation unit to the
   ///  given[functions].
-  void set functions(List<FunctionElement> functions) {
+  set functions(List<FunctionElement> functions) {
     for (FunctionElement function in functions) {
       (function as FunctionElementImpl).enclosingElement = this;
     }
@@ -1498,7 +1498,7 @@
   }
 
   /// Set the mixins contained in this compilation unit to the given [mixins].
-  void set mixins(List<ClassElement> mixins) {
+  set mixins(List<ClassElement> mixins) {
     for (MixinElementImpl type in mixins) {
       type.enclosingElement = this;
     }
@@ -1518,7 +1518,7 @@
 
   /// Set the top-level variables contained in this compilation unit to the
   ///  given[variables].
-  void set topLevelVariables(List<TopLevelVariableElement> variables) {
+  set topLevelVariables(List<TopLevelVariableElement> variables) {
     for (TopLevelVariableElement field in variables) {
       (field as TopLevelVariableElementImpl).enclosingElement = this;
     }
@@ -1527,7 +1527,7 @@
 
   /// Set the function type aliases contained in this compilation unit to the
   /// given [typeAliases].
-  void set typeAliases(List<FunctionTypeAliasElement> typeAliases) {
+  set typeAliases(List<FunctionTypeAliasElement> typeAliases) {
     for (FunctionTypeAliasElement typeAlias in typeAliases) {
       (typeAlias as ElementImpl).enclosingElement = this;
     }
@@ -1570,7 +1570,7 @@
   }
 
   /// Set the types contained in this compilation unit to the given [types].
-  void set types(List<ClassElement> types) {
+  set types(List<ClassElement> types) {
     for (ClassElement type in types) {
       // Another implementation of ClassElement is _DeferredClassElement,
       // which is used to resynthesize classes lazily. We cannot cast it
@@ -1886,7 +1886,7 @@
       : super.forLinkedNode(_enum, reference, linkedNode);
 
   @override
-  void set evaluationResult(_) {
+  set evaluationResult(_) {
     assert(false);
   }
 
@@ -1894,7 +1894,7 @@
   bool get isConst => true;
 
   @override
-  void set isConst(bool isConst) {
+  set isConst(bool isConst) {
     assert(false);
   }
 
@@ -1902,7 +1902,7 @@
   bool get isConstantEvaluated => true;
 
   @override
-  void set isFinal(bool isFinal) {
+  set isFinal(bool isFinal) {
     assert(false);
   }
 
@@ -1910,11 +1910,11 @@
   bool get isStatic => true;
 
   @override
-  void set isStatic(bool isStatic) {
+  set isStatic(bool isStatic) {
     assert(false);
   }
 
-  void set type(DartType type) {
+  set type(DartType type) {
     assert(false);
   }
 }
@@ -1975,8 +1975,7 @@
     return _constantInitializers;
   }
 
-  void set constantInitializers(
-      List<ConstructorInitializer> constantInitializers) {
+  set constantInitializers(List<ConstructorInitializer> constantInitializers) {
     _constantInitializers = constantInitializers;
   }
 
@@ -1996,7 +1995,7 @@
       super.enclosingElement as ClassElementImpl;
 
   /// Set whether this constructor represents a factory method.
-  void set factory(bool isFactory) {
+  set factory(bool isFactory) {
     setModifier(Modifier.FACTORY, isFactory);
   }
 
@@ -2010,7 +2009,7 @@
   }
 
   /// Set whether this constructor represents a 'const' constructor.
-  void set isConst(bool isConst) {
+  set isConst(bool isConst) {
     setModifier(Modifier.CONST, isConst);
   }
 
@@ -2018,7 +2017,7 @@
     return _isCycleFree;
   }
 
-  void set isCycleFree(bool isCycleFree) {
+  set isCycleFree(bool isCycleFree) {
     // This property is updated in ConstantEvaluationEngine even for
     // resynthesized constructors, so we don't have the usual assert here.
     _isCycleFree = isCycleFree;
@@ -2078,7 +2077,7 @@
     return _nameEnd;
   }
 
-  void set nameEnd(int nameEnd) {
+  set nameEnd(int nameEnd) {
     _nameEnd = nameEnd;
   }
 
@@ -2092,7 +2091,7 @@
     return _periodOffset;
   }
 
-  void set periodOffset(int periodOffset) {
+  set periodOffset(int periodOffset) {
     _periodOffset = periodOffset;
   }
 
@@ -2119,7 +2118,7 @@
     return _redirectedConstructor;
   }
 
-  void set redirectedConstructor(ConstructorElement redirectedConstructor) {
+  set redirectedConstructor(ConstructorElement redirectedConstructor) {
     _redirectedConstructor = redirectedConstructor;
   }
 
@@ -2135,7 +2134,7 @@
     );
   }
 
-  void set returnType(DartType returnType) {
+  set returnType(DartType returnType) {
     assert(false);
   }
 
@@ -2151,7 +2150,7 @@
     );
   }
 
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     assert(false);
   }
 
@@ -2239,13 +2238,13 @@
     return _constantInitializer;
   }
 
-  void set constantInitializer(Expression constantInitializer) {
+  set constantInitializer(Expression constantInitializer) {
     _constantInitializer = constantInitializer;
   }
 
   EvaluationResultImpl get evaluationResult => _evaluationResult;
 
-  void set evaluationResult(EvaluationResultImpl evaluationResult) {
+  set evaluationResult(EvaluationResultImpl evaluationResult) {
     _evaluationResult = evaluationResult;
   }
 
@@ -2667,7 +2666,7 @@
   String get documentationComment => _docComment;
 
   /// The documentation comment source for this element.
-  void set documentationComment(String doc) {
+  set documentationComment(String doc) {
     _docComment = doc?.replaceAll('\r\n', '\n');
   }
 
@@ -2675,7 +2674,7 @@
   Element get enclosingElement => _enclosingElement;
 
   /// Set the enclosing element of this element to the given [element].
-  void set enclosingElement(Element element) {
+  set enclosingElement(Element element) {
     _enclosingElement = element as ElementImpl;
   }
 
@@ -2912,7 +2911,7 @@
   }
 
   /// Set whether this element is synthetic.
-  void set isSynthetic(bool isSynthetic) {
+  set isSynthetic(bool isSynthetic) {
     setModifier(Modifier.SYNTHETIC, isSynthetic);
   }
 
@@ -2947,7 +2946,7 @@
     return _metadata ?? const <ElementAnnotation>[];
   }
 
-  void set metadata(List<ElementAnnotation> metadata) {
+  set metadata(List<ElementAnnotation> metadata) {
     _metadata = metadata;
   }
 
@@ -2955,7 +2954,7 @@
   String get name => _name;
 
   /// Changes the name of this element.
-  void set name(String name) {
+  set name(String name) {
     this._name = name;
   }
 
@@ -2967,7 +2966,7 @@
 
   /// Sets the offset of the name of this element in the file that contains the
   /// declaration of this element.
-  void set nameOffset(int offset) {
+  set nameOffset(int offset) {
     _nameOffset = offset;
   }
 
@@ -3295,7 +3294,7 @@
   }
 
   @override
-  void set accessors(List<PropertyAccessorElement> accessors) {
+  set accessors(List<PropertyAccessorElement> accessors) {
     super.accessors = accessors;
   }
 
@@ -3348,7 +3347,7 @@
   }
 
   @override
-  void set fields(List<FieldElement> fields) {
+  set fields(List<FieldElement> fields) {
     super.fields = fields;
   }
 
@@ -3532,7 +3531,7 @@
       : super.forLinkedNode(enclosing, reference, linkedNode);
 
   /// Set whether this executable element's body is asynchronous.
-  void set asynchronous(bool isAsynchronous) {
+  set asynchronous(bool isAsynchronous) {
     setModifier(Modifier.ASYNCHRONOUS, isAsynchronous);
   }
 
@@ -3571,12 +3570,12 @@
   }
 
   /// Set whether this executable element is external.
-  void set external(bool isExternal) {
+  set external(bool isExternal) {
     setModifier(Modifier.EXTERNAL, isExternal);
   }
 
   /// Set whether this method's body is a generator.
-  void set generator(bool isGenerator) {
+  set generator(bool isGenerator) {
     setModifier(Modifier.GENERATOR, isGenerator);
   }
 
@@ -3589,7 +3588,7 @@
   }
 
   /// Set whether this executable element has an implicit return type.
-  void set hasImplicitReturnType(bool hasImplicitReturnType) {
+  set hasImplicitReturnType(bool hasImplicitReturnType) {
     setModifier(Modifier.IMPLICIT_TYPE, hasImplicitReturnType);
   }
 
@@ -3669,7 +3668,7 @@
 
   /// Set the parameters defined by this executable element to the given
   /// [parameters].
-  void set parameters(List<ParameterElement> parameters) {
+  set parameters(List<ParameterElement> parameters) {
     for (ParameterElement parameter in parameters) {
       (parameter as ParameterElementImpl).enclosingElement = this;
     }
@@ -3687,7 +3686,7 @@
     return _returnType;
   }
 
-  void set returnType(DartType returnType) {
+  set returnType(DartType returnType) {
     if (linkedNode != null) {
       linkedContext.setReturnType(linkedNode, returnType);
     }
@@ -3716,13 +3715,13 @@
     );
   }
 
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     _type = type;
   }
 
   /// Set the type parameters defined by this executable element to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement parameter in typeParameters) {
       (parameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -3850,7 +3849,7 @@
     return _combinators ?? const <NamespaceCombinator>[];
   }
 
-  void set combinators(List<NamespaceCombinator> combinators) {
+  set combinators(List<NamespaceCombinator> combinators) {
     _combinators = combinators;
   }
 
@@ -3871,7 +3870,7 @@
     return _exportedLibrary;
   }
 
-  void set exportedLibrary(LibraryElement exportedLibrary) {
+  set exportedLibrary(LibraryElement exportedLibrary) {
     _exportedLibrary = exportedLibrary;
   }
 
@@ -3881,7 +3880,7 @@
   @override
   ElementKind get kind => ElementKind.EXPORT;
 
-  void set metadata(List<ElementAnnotation> metadata) {
+  set metadata(List<ElementAnnotation> metadata) {
     super.metadata = metadata;
   }
 
@@ -3960,7 +3959,7 @@
     return _accessors ??= const <PropertyAccessorElement>[];
   }
 
-  void set accessors(List<PropertyAccessorElement> accessors) {
+  set accessors(List<PropertyAccessorElement> accessors) {
     for (PropertyAccessorElement accessor in accessors) {
       (accessor as PropertyAccessorElementImpl).enclosingElement = this;
     }
@@ -4007,7 +4006,7 @@
     return _extendedType;
   }
 
-  void set extendedType(DartType extendedType) {
+  set extendedType(DartType extendedType) {
     _extendedType = extendedType;
   }
 
@@ -4030,7 +4029,7 @@
     return _fields ?? const <FieldElement>[];
   }
 
-  void set fields(List<FieldElement> fields) {
+  set fields(List<FieldElement> fields) {
     for (FieldElement field in fields) {
       (field as FieldElementImpl).enclosingElement = this;
     }
@@ -4076,7 +4075,7 @@
   }
 
   /// Set the methods contained in this extension to the given [methods].
-  void set methods(List<MethodElement> methods) {
+  set methods(List<MethodElement> methods) {
     for (MethodElement method in methods) {
       (method as MethodElementImpl).enclosingElement = this;
     }
@@ -4102,7 +4101,7 @@
 
   /// Set the type parameters defined by this extension to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement typeParameter in typeParameters) {
       (typeParameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -4304,7 +4303,7 @@
   }
 
   /// Set whether this field is explicitly marked as being covariant.
-  void set isCovariant(bool isCovariant) {
+  set isCovariant(bool isCovariant) {
     setModifier(Modifier.COVARIANT, isCovariant);
   }
 
@@ -4323,7 +4322,7 @@
   }
 
   /// Set whether this field is static.
-  void set isStatic(bool isStatic) {
+  set isStatic(bool isStatic) {
     setModifier(Modifier.STATIC, isStatic);
   }
 
@@ -4373,7 +4372,7 @@
     return _field;
   }
 
-  void set field(FieldElement field) {
+  set field(FieldElement field) {
     _field = field;
   }
 
@@ -4381,7 +4380,7 @@
   bool get isInitializingFormal => true;
 
   @override
-  void set type(DartType type) {
+  set type(DartType type) {
     _type = type;
   }
 
@@ -4464,7 +4463,7 @@
 /// Clients may not extend, implement or mix-in this class.
 abstract class FunctionTypedElementImpl
     implements ElementImpl, FunctionTypedElement {
-  void set returnType(DartType returnType);
+  set returnType(DartType returnType);
 }
 
 /// The element used for a generic function type.
@@ -4509,7 +4508,7 @@
     return _isNullable;
   }
 
-  void set isNullable(bool isNullable) {
+  set isNullable(bool isNullable) {
     _isNullable = isNullable;
   }
 
@@ -4534,7 +4533,7 @@
 
   /// Set the parameters defined by this function type element to the given
   /// [parameters].
-  void set parameters(List<ParameterElement> parameters) {
+  set parameters(List<ParameterElement> parameters) {
     for (ParameterElement parameter in parameters) {
       (parameter as ParameterElementImpl).enclosingElement = this;
     }
@@ -4554,7 +4553,7 @@
 
   /// Set the return type defined by this function type element to the given
   /// [returnType].
-  void set returnType(DartType returnType) {
+  set returnType(DartType returnType) {
     _returnType = _checkElementOfType(returnType);
   }
 
@@ -4575,7 +4574,7 @@
 
   /// Set the function type defined by this function type element to the given
   /// [type].
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     _type = type;
   }
 
@@ -4591,7 +4590,7 @@
 
   /// Set the type parameters defined by this function type element to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement parameter in typeParameters) {
       (parameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -4736,7 +4735,7 @@
 
   /// Set the function element representing the generic function type on the
   /// right side of the equals to the given [function].
-  void set function(GenericFunctionTypeElementImpl function) {
+  set function(GenericFunctionTypeElementImpl function) {
     if (function != null) {
       function.enclosingElement = this;
     }
@@ -4810,13 +4809,13 @@
     return _type;
   }
 
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     _type = type;
   }
 
   /// Set the type parameters defined for this type to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement typeParameter in typeParameters) {
       (typeParameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -4937,7 +4936,7 @@
     return _hiddenNames ?? const <String>[];
   }
 
-  void set hiddenNames(List<String> hiddenNames) {
+  set hiddenNames(List<String> hiddenNames) {
     _hiddenNames = hiddenNames;
   }
 
@@ -5000,12 +4999,12 @@
     return _combinators ?? const <NamespaceCombinator>[];
   }
 
-  void set combinators(List<NamespaceCombinator> combinators) {
+  set combinators(List<NamespaceCombinator> combinators) {
     _combinators = combinators;
   }
 
   /// Set whether this import is for a deferred library.
-  void set deferred(bool isDeferred) {
+  set deferred(bool isDeferred) {
     setModifier(Modifier.DEFERRED, isDeferred);
   }
 
@@ -5029,7 +5028,7 @@
     return _importedLibrary;
   }
 
-  void set importedLibrary(LibraryElement importedLibrary) {
+  set importedLibrary(LibraryElement importedLibrary) {
     _importedLibrary = importedLibrary;
   }
 
@@ -5045,7 +5044,7 @@
   @override
   ElementKind get kind => ElementKind.IMPORT;
 
-  void set metadata(List<ElementAnnotation> metadata) {
+  set metadata(List<ElementAnnotation> metadata) {
     super.metadata = metadata;
   }
 
@@ -5084,7 +5083,7 @@
     return _prefix;
   }
 
-  void set prefix(PrefixElement prefix) {
+  set prefix(PrefixElement prefix) {
     _prefix = prefix;
   }
 
@@ -5097,7 +5096,7 @@
     return _prefixOffset;
   }
 
-  void set prefixOffset(int prefixOffset) {
+  set prefixOffset(int prefixOffset) {
     _prefixOffset = prefixOffset;
   }
 
@@ -5112,7 +5111,7 @@
   }
 
   @override
-  void set uri(String uri) {
+  set uri(String uri) {
     super.uri = uri;
   }
 
@@ -5297,7 +5296,7 @@
 
   /// Set the compilation unit that defines this library to the given
   ///  compilation[unit].
-  void set definingCompilationUnit(CompilationUnitElement unit) {
+  set definingCompilationUnit(CompilationUnitElement unit) {
     assert((unit as CompilationUnitElementImpl).librarySource == unit.source);
     (unit as CompilationUnitElementImpl).enclosingElement = this;
     this._definingCompilationUnit = unit;
@@ -5327,7 +5326,7 @@
     return _entryPoint;
   }
 
-  void set entryPoint(FunctionElement entryPoint) {
+  set entryPoint(FunctionElement entryPoint) {
     _entryPoint = entryPoint;
   }
 
@@ -5355,7 +5354,7 @@
     return _exportNamespace;
   }
 
-  void set exportNamespace(Namespace exportNamespace) {
+  set exportNamespace(Namespace exportNamespace) {
     _exportNamespace = exportNamespace;
   }
 
@@ -5376,7 +5375,7 @@
 
   /// Set the specifications of all of the exports defined in this library to
   /// the given list of [exports].
-  void set exports(List<ExportElement> exports) {
+  set exports(List<ExportElement> exports) {
     for (ExportElement exportElement in exports) {
       (exportElement as ExportElementImpl).enclosingElement = this;
     }
@@ -5402,7 +5401,7 @@
   }
 
   /// Set whether this library has an import of a "dart-ext" URI.
-  void set hasExtUri(bool hasExtUri) {
+  set hasExtUri(bool hasExtUri) {
     setModifier(Modifier.HAS_EXT_URI, hasExtUri);
   }
 
@@ -5461,7 +5460,7 @@
 
   /// Set the specifications of all of the imports defined in this library to
   /// the given list of [imports].
-  void set imports(List<ImportElement> imports) {
+  set imports(List<ImportElement> imports) {
     for (ImportElement importElement in imports) {
       (importElement as ImportElementImpl).enclosingElement = this;
       PrefixElementImpl prefix = importElement.prefix as PrefixElementImpl;
@@ -5555,7 +5554,7 @@
 
   /// Set the compilation units that are included in this library using a `part`
   /// directive to the given list of [parts].
-  void set parts(List<CompilationUnitElement> parts) {
+  set parts(List<CompilationUnitElement> parts) {
     for (CompilationUnitElement compilationUnit in parts) {
       assert((compilationUnit as CompilationUnitElementImpl).librarySource ==
           source);
@@ -5580,7 +5579,7 @@
     return _publicNamespace;
   }
 
-  void set publicNamespace(Namespace publicNamespace) {
+  set publicNamespace(Namespace publicNamespace) {
     _publicNamespace = publicNamespace;
   }
 
@@ -5772,7 +5771,7 @@
   }
 
   /// Set whether this variable is late.
-  void set isLate(bool isLate) {
+  set isLate(bool isLate) {
     setModifier(Modifier.LATE, isLate);
   }
 
@@ -5814,7 +5813,7 @@
   }
 
   /// Set whether this class is abstract.
-  void set isAbstract(bool isAbstract) {
+  set isAbstract(bool isAbstract) {
     setModifier(Modifier.ABSTRACT, isAbstract);
   }
 
@@ -5857,7 +5856,7 @@
   }
 
   /// Set whether this method is static.
-  void set isStatic(bool isStatic) {
+  set isStatic(bool isStatic) {
     setModifier(Modifier.STATIC, isStatic);
   }
 
@@ -5932,7 +5931,7 @@
     return _superclassConstraints ?? const <InterfaceType>[];
   }
 
-  void set superclassConstraints(List<InterfaceType> superclassConstraints) {
+  set superclassConstraints(List<InterfaceType> superclassConstraints) {
     _superclassConstraints = superclassConstraints;
   }
 
@@ -5948,7 +5947,7 @@
     return _superInvokedNames ?? const <String>[];
   }
 
-  void set superInvokedNames(List<String> superInvokedNames) {
+  set superInvokedNames(List<String> superInvokedNames) {
     _superInvokedNames = superInvokedNames;
   }
 
@@ -5956,7 +5955,7 @@
   InterfaceType get supertype => null;
 
   @override
-  void set supertype(InterfaceType supertype) {
+  set supertype(InterfaceType supertype) {
     throw StateError('Attempt to set a supertype for a mixin declaratio.');
   }
 
@@ -6375,7 +6374,7 @@
   }
 
   @override
-  void set hasImplicitType(bool hasImplicitType) {
+  set hasImplicitType(bool hasImplicitType) {
     super.hasImplicitType = hasImplicitType;
   }
 
@@ -6417,7 +6416,7 @@
   }
 
   @override
-  void set type(DartType type) {
+  set type(DartType type) {
     if (linkedNode != null) {
       return linkedContext.setVariableType(linkedNode, type);
     }
@@ -6520,7 +6519,7 @@
   }
 
   /// Set Dart code of the default value.
-  void set defaultValueCode(String defaultValueCode) {
+  set defaultValueCode(String defaultValueCode) {
     this._defaultValueCode = StringUtilities.intern(defaultValueCode);
   }
 
@@ -6533,7 +6532,7 @@
   }
 
   @override
-  void set hasImplicitType(bool hasImplicitType) {
+  set hasImplicitType(bool hasImplicitType) {
     super.hasImplicitType = hasImplicitType;
   }
 
@@ -6548,7 +6547,7 @@
   }
 
   /// Record whether or not this parameter inherits from a covariant parameter.
-  void set inheritsCovariant(bool value) {
+  set inheritsCovariant(bool value) {
     if (linkedNode != null) {
       linkedContext.setInheritsCovariant(linkedNode, value);
       return;
@@ -6573,7 +6572,7 @@
 
   /// Set the function representing this variable's initializer to the given
   /// [function].
-  void set initializer(FunctionElement function) {
+  set initializer(FunctionElement function) {
     super.initializer = function;
   }
 
@@ -6595,7 +6594,7 @@
 
   /// Set whether this variable parameter is explicitly marked as being
   /// covariant.
-  void set isExplicitlyCovariant(bool isCovariant) {
+  set isExplicitlyCovariant(bool isCovariant) {
     setModifier(Modifier.COVARIANT, isCovariant);
   }
 
@@ -6646,7 +6645,7 @@
     return _parameterKind;
   }
 
-  void set parameterKind(ParameterKind parameterKind) {
+  set parameterKind(ParameterKind parameterKind) {
     _parameterKind = parameterKind;
   }
 
@@ -6675,7 +6674,7 @@
 
   /// Set the parameters defined by this executable element to the given
   /// [parameters].
-  void set parameters(List<ParameterElement> parameters) {
+  set parameters(List<ParameterElement> parameters) {
     for (ParameterElement parameter in parameters) {
       (parameter as ParameterElementImpl).enclosingElement = this;
     }
@@ -6727,7 +6726,7 @@
 
   /// Set the type parameters defined by this parameter element to the given
   /// [typeParameters].
-  void set typeParameters(List<TypeParameterElement> typeParameters) {
+  set typeParameters(List<TypeParameterElement> typeParameters) {
     for (TypeParameterElement parameter in typeParameters) {
       (parameter as TypeParameterElementImpl).enclosingElement = this;
     }
@@ -6839,7 +6838,7 @@
   }
 
   @override
-  void set inheritsCovariant(bool value) {
+  set inheritsCovariant(bool value) {
     PropertyInducingElement variable = setter.variable;
     if (variable is FieldElementImpl) {
       if (variable.linkedNode != null) {
@@ -6870,7 +6869,7 @@
   DartType get type => setter.variable.type;
 
   @override
-  void set type(DartType type) {
+  set type(DartType type) {
     assert(false); // Should never be called.
   }
 }
@@ -7016,7 +7015,7 @@
   PropertyAccessorElement get declaration => this;
 
   /// Set whether this accessor is a getter.
-  void set getter(bool isGetter) {
+  set getter(bool isGetter) {
     setModifier(Modifier.GETTER, isGetter);
   }
 
@@ -7028,7 +7027,7 @@
   }
 
   /// Set whether this class is abstract.
-  void set isAbstract(bool isAbstract) {
+  set isAbstract(bool isAbstract) {
     setModifier(Modifier.ABSTRACT, isAbstract);
   }
 
@@ -7057,7 +7056,7 @@
   }
 
   /// Set whether this accessor is static.
-  void set isStatic(bool isStatic) {
+  set isStatic(bool isStatic) {
     setModifier(Modifier.STATIC, isStatic);
   }
 
@@ -7085,7 +7084,7 @@
   }
 
   /// Set whether this accessor is a setter.
-  void set setter(bool isSetter) {
+  set setter(bool isSetter) {
     setModifier(Modifier.SETTER, isSetter);
   }
 
@@ -7122,7 +7121,7 @@
   DartType get returnType => variable.type;
 
   @override
-  void set returnType(DartType returnType) {
+  set returnType(DartType returnType) {
     assert(false); // Should never be called.
   }
 
@@ -7150,7 +7149,7 @@
   }
 
   @override
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     assert(false); // Should never be called.
   }
 }
@@ -7181,7 +7180,7 @@
   DartType get returnType => VoidTypeImpl.instance;
 
   @override
-  void set returnType(DartType returnType) {
+  set returnType(DartType returnType) {
     assert(false); // Should never be called.
   }
 
@@ -7209,7 +7208,7 @@
   }
 
   @override
-  void set type(FunctionType type) {
+  set type(FunctionType type) {
     assert(false); // Should never be called.
   }
 }
@@ -7296,7 +7295,7 @@
     return _end;
   }
 
-  void set end(int end) {
+  set end(int end) {
     _end = end;
   }
 
@@ -7308,7 +7307,7 @@
     return _offset;
   }
 
-  void set offset(int offset) {
+  set offset(int offset) {
     _offset = offset;
   }
 
@@ -7323,7 +7322,7 @@
     return _shownNames ?? const <String>[];
   }
 
-  void set shownNames(List<String> shownNames) {
+  set shownNames(List<String> shownNames) {
     _shownNames = shownNames;
   }
 
@@ -7443,7 +7442,7 @@
     return _bound;
   }
 
-  void set bound(DartType bound) {
+  set bound(DartType bound) {
     _bound = _checkElementOfType(bound);
   }
 
@@ -7523,7 +7522,7 @@
     return _type ??= TypeParameterTypeImpl(this);
   }
 
-  void set type(TypeParameterType type) {
+  set type(TypeParameterType type) {
     _type = type;
   }
 
@@ -7540,7 +7539,7 @@
     return _variance ?? Variance.covariant;
   }
 
-  void set variance(Variance newVariance) => _variance = newVariance;
+  set variance(Variance newVariance) => _variance = newVariance;
 
   @override
   bool operator ==(Object other) {
@@ -7644,7 +7643,7 @@
   String get uri => _uri;
 
   /// Set the URI that is specified by this directive to be the given [uri].
-  void set uri(String uri) {
+  set uri(String uri) {
     _uri = uri;
   }
 
@@ -7654,7 +7653,7 @@
 
   /// Set the offset of the character immediately following the last character
   /// of this node's URI to the given [offset].
-  void set uriEnd(int offset) {
+  set uriEnd(int offset) {
     _uriEnd = offset;
   }
 
@@ -7663,7 +7662,7 @@
   int get uriOffset => _uriOffset;
 
   /// Set the offset of the URI in the file to the given [offset].
-  void set uriOffset(int offset) {
+  set uriOffset(int offset) {
     _uriOffset = offset;
   }
 }
@@ -7716,7 +7715,7 @@
 
   /// Set the result of evaluating this variable's initializer as a compile-time
   /// constant expression to the given [result].
-  void set evaluationResult(EvaluationResultImpl result) {
+  set evaluationResult(EvaluationResultImpl result) {
     throw StateError("Invalid attempt to set a compile-time constant result");
   }
 
@@ -7726,7 +7725,7 @@
   }
 
   /// Set whether this variable element has an implicit type.
-  void set hasImplicitType(bool hasImplicitType) {
+  set hasImplicitType(bool hasImplicitType) {
     setModifier(Modifier.IMPLICIT_TYPE, hasImplicitType);
   }
 
@@ -7735,7 +7734,7 @@
 
   /// Set the function representing this variable's initializer to the given
   /// [function].
-  void set initializer(FunctionElement function) {
+  set initializer(FunctionElement function) {
     if (function != null) {
       (function as FunctionElementImpl).enclosingElement = this;
     }
@@ -7751,7 +7750,7 @@
   }
 
   /// Set whether this variable is const.
-  void set isConst(bool isConst) {
+  set isConst(bool isConst) {
     setModifier(Modifier.CONST, isConst);
   }
 
@@ -7767,7 +7766,7 @@
   }
 
   /// Set whether this variable is final.
-  void set isFinal(bool isFinal) {
+  set isFinal(bool isFinal) {
     setModifier(Modifier.FINAL, isFinal);
   }
 
@@ -7777,7 +7776,7 @@
   @override
   DartType get type => _type;
 
-  void set type(DartType type) {
+  set type(DartType type) {
     if (linkedNode != null) {
       return linkedContext.setVariableType(linkedNode, type);
     }
diff --git a/pkg/analyzer/lib/src/dart/scanner/reader.dart b/pkg/analyzer/lib/src/dart/scanner/reader.dart
index 0a21e3b..1f1d266 100644
--- a/pkg/analyzer/lib/src/dart/scanner/reader.dart
+++ b/pkg/analyzer/lib/src/dart/scanner/reader.dart
@@ -39,7 +39,7 @@
   int get offset => baseReader.offset;
 
   @override
-  void set offset(int offset) {
+  set offset(int offset) {
     baseReader.offset = offset;
   }
 
diff --git a/pkg/analyzer/lib/src/dart/sdk/sdk.dart b/pkg/analyzer/lib/src/dart/sdk/sdk.dart
index 6aad655..79a0329 100644
--- a/pkg/analyzer/lib/src/dart/sdk/sdk.dart
+++ b/pkg/analyzer/lib/src/dart/sdk/sdk.dart
@@ -72,7 +72,7 @@
    * Set the [options] for this SDK analysis context.  Throw [StateError] if the
    * context has been already created.
    */
-  void set analysisOptions(AnalysisOptions options) {
+  set analysisOptions(AnalysisOptions options) {
     if (_analysisContext != null) {
       throw StateError(
           'Analysis options cannot be changed after context creation.');
@@ -108,7 +108,7 @@
   /**
    * Specify whether SDK summary should be used.
    */
-  void set useSummary(bool use) {
+  set useSummary(bool use) {
     if (_analysisContext != null) {
       throw StateError(
           'The "useSummary" flag cannot be changed after context creation.');
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index deb29cf..eca2b9f 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -74,7 +74,7 @@
   /// Set the set of analysis options controlling the behavior of this context to
   /// the given [options]. Clients can safely assume that all necessary analysis
   /// results have been invalidated.
-  void set analysisOptions(AnalysisOptions options);
+  set analysisOptions(AnalysisOptions options);
 
   /// Return the set of declared variables used when computing constant values.
   DeclaredVariables get declaredVariables;
@@ -86,7 +86,7 @@
   /// Set the source factory used to create the sources that can be analyzed in
   /// this context to the given source [factory]. Clients can safely assume that
   /// all analysis results have been invalidated.
-  void set sourceFactory(SourceFactory factory);
+  set sourceFactory(SourceFactory factory);
 
   /// Return a type provider for this context or throw [AnalysisException] if
   /// either `dart:core` or `dart:async` cannot be resolved.
@@ -137,7 +137,7 @@
 
   /// Set the instrumentation service that is to be used by this analysis engine
   /// to the given [service].
-  void set instrumentationService(InstrumentationService service) {
+  set instrumentationService(InstrumentationService service) {
     if (service == null) {
       _instrumentationService = InstrumentationService.NULL_SERVICE;
     } else {
@@ -596,27 +596,27 @@
   bool get enableAssertInitializer => true;
 
   @deprecated
-  void set enableAssertInitializer(bool enable) {}
+  set enableAssertInitializer(bool enable) {}
 
   @override
   @deprecated
   bool get enableAssertMessage => true;
 
   @deprecated
-  void set enableAssertMessage(bool enable) {}
+  set enableAssertMessage(bool enable) {}
 
   @deprecated
   @override
   bool get enableAsync => true;
 
   @deprecated
-  void set enableAsync(bool enable) {}
+  set enableAsync(bool enable) {}
 
   /// A flag indicating whether interface libraries are to be supported (DEP 40).
   bool get enableConditionalDirectives => true;
 
   @deprecated
-  void set enableConditionalDirectives(_) {}
+  set enableConditionalDirectives(_) {}
 
   @override
   List<String> get enabledExperiments => _enabledExperiments;
@@ -631,21 +631,21 @@
   bool get enableGenericMethods => true;
 
   @deprecated
-  void set enableGenericMethods(bool enable) {}
+  set enableGenericMethods(bool enable) {}
 
   @deprecated
   @override
   bool get enableInitializingFormalAccess => true;
 
   @deprecated
-  void set enableInitializingFormalAccess(bool enable) {}
+  set enableInitializingFormalAccess(bool enable) {}
 
   @override
   @deprecated
   bool get enableSuperMixins => false;
 
   @deprecated
-  void set enableSuperMixins(bool enable) {
+  set enableSuperMixins(bool enable) {
     // Ignored.
   }
 
@@ -654,7 +654,7 @@
   bool get enableUriInPartOf => true;
 
   @deprecated
-  void set enableUriInPartOf(bool enable) {}
+  set enableUriInPartOf(bool enable) {}
 
   @override
   List<ErrorProcessor> get errorProcessors =>
@@ -662,7 +662,7 @@
 
   /// Set the list of error [processors] that are to be used when reporting
   /// errors in some analysis context.
-  void set errorProcessors(List<ErrorProcessor> processors) {
+  set errorProcessors(List<ErrorProcessor> processors) {
     _errorProcessors = processors;
   }
 
@@ -671,7 +671,7 @@
 
   /// Set the exclude patterns used to exclude some sources from analysis to
   /// those in the given list of [patterns].
-  void set excludePatterns(List<String> patterns) {
+  set excludePatterns(List<String> patterns) {
     _excludePatterns = patterns;
   }
 
@@ -691,7 +691,7 @@
 
   /// Set the lint rules that are to be run in an analysis context if [lint]
   /// returns `true`.
-  void set lintRules(List<Linter> rules) {
+  set lintRules(List<Linter> rules) {
     _lintRules = rules;
   }
 
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart
index 258bb17..2e11661 100644
--- a/pkg/analyzer/lib/src/generated/parser.dart
+++ b/pkg/analyzer/lib/src/generated/parser.dart
@@ -226,7 +226,7 @@
   Token get currentToken => _currentToken;
 
   /// Set the token with which the parse is to begin to the given [token].
-  void set currentToken(Token token) {
+  set currentToken(Token token) {
     this._currentToken = token;
   }
 
@@ -238,7 +238,7 @@
   /// Set whether the parser is to parse asserts in the initializer list of a
   /// constructor to match the given [enable] flag.
   @deprecated
-  void set enableAssertInitializer(bool enable) {}
+  set enableAssertInitializer(bool enable) {}
 
   /// Return `true` if the parser should parse instance creation expressions
   /// that lack either the `new` or `const` keyword.
@@ -246,12 +246,12 @@
 
   /// Set whether the parser should parse instance creation expressions that
   /// lack either the `new` or `const` keyword.
-  void set enableOptionalNewAndConst(bool enable) {
+  set enableOptionalNewAndConst(bool enable) {
     _enableOptionalNewAndConst = enable;
   }
 
   /// Enables or disables parsing of set literals.
-  void set enableSetLiterals(bool value) {
+  set enableSetLiterals(bool value) {
     // TODO(danrubel): Remove this method once the reference to this flag
     // has been removed from dartfmt.
   }
@@ -263,7 +263,7 @@
   /// Set whether the parser is to allow URI's in part-of directives to the
   /// given [enable] flag.
   @deprecated
-  void set enableUriInPartOf(bool enable) {}
+  set enableUriInPartOf(bool enable) {}
 
   /// Return `true` if the current token is the first token of a return type
   /// that is followed by an identifier, possibly followed by a list of type
@@ -283,16 +283,16 @@
   ///
   /// Support for removing the 'async' library has been removed.
   @deprecated
-  void set parseAsync(bool parseAsync) {}
+  set parseAsync(bool parseAsync) {}
 
   @deprecated
   bool get parseConditionalDirectives => true;
 
   @deprecated
-  void set parseConditionalDirectives(bool value) {}
+  set parseConditionalDirectives(bool value) {}
 
   /// Set whether parser is to parse function bodies.
-  void set parseFunctionBodies(bool parseFunctionBodies) {
+  set parseFunctionBodies(bool parseFunctionBodies) {
     this._parseFunctionBodies = parseFunctionBodies;
   }
 
diff --git a/pkg/analyzer/lib/src/generated/parser_fasta.dart b/pkg/analyzer/lib/src/generated/parser_fasta.dart
index 3dcf7c6..e5986a0 100644
--- a/pkg/analyzer/lib/src/generated/parser_fasta.dart
+++ b/pkg/analyzer/lib/src/generated/parser_fasta.dart
@@ -42,16 +42,16 @@
   bool get enableOptionalNewAndConst => false;
 
   @override
-  void set enableOptionalNewAndConst(bool enable) {}
+  set enableOptionalNewAndConst(bool enable) {}
 
   @override
-  void set enableSetLiterals(bool value) {
+  set enableSetLiterals(bool value) {
     // TODO(danrubel): Remove this method once the reference to this flag
     // has been removed from dartfmt.
   }
 
   @override
-  void set parseFunctionBodies(bool parseFunctionBodies) {
+  set parseFunctionBodies(bool parseFunctionBodies) {
     astBuilder.parseFunctionBodies = parseFunctionBodies;
   }
 
diff --git a/pkg/analyzer/lib/src/generated/sdk.dart b/pkg/analyzer/lib/src/generated/sdk.dart
index 10f9bdb..2862d0a 100644
--- a/pkg/analyzer/lib/src/generated/sdk.dart
+++ b/pkg/analyzer/lib/src/generated/sdk.dart
@@ -508,7 +508,7 @@
   /**
    * Set whether the library is documented.
    */
-  void set documented(bool documented) {
+  set documented(bool documented) {
     this._documented = documented;
   }
 
diff --git a/pkg/analyzer/lib/src/generated/sdk_io.dart b/pkg/analyzer/lib/src/generated/sdk_io.dart
index 819aa11..ec3a590 100644
--- a/pkg/analyzer/lib/src/generated/sdk_io.dart
+++ b/pkg/analyzer/lib/src/generated/sdk_io.dart
@@ -52,7 +52,7 @@
    * Set the [options] for this SDK analysis context.  Throw [StateError] if the
    * context has been already created.
    */
-  void set analysisOptions(AnalysisOptions options) {
+  set analysisOptions(AnalysisOptions options) {
     if (_analysisContext != null) {
       throw StateError(
           'Analysis options cannot be changed after context creation.');
@@ -83,7 +83,7 @@
   /**
    * Specify whether SDK summary should be used.
    */
-  void set useSummary(bool use) {
+  set useSummary(bool use) {
     if (_analysisContext != null) {
       throw StateError(
           'The "useSummary" flag cannot be changed after context creation.');
diff --git a/pkg/analyzer/lib/src/lint/analysis.dart b/pkg/analyzer/lib/src/lint/analysis.dart
index 14369c8..ab42a6b 100644
--- a/pkg/analyzer/lib/src/lint/analysis.dart
+++ b/pkg/analyzer/lib/src/lint/analysis.dart
@@ -104,7 +104,7 @@
   /// Set whether the parser is able to parse asserts in the initializer list of
   /// a constructor to match [enable].
   @deprecated
-  void set enableAssertInitializer(bool enable) {
+  set enableAssertInitializer(bool enable) {
     // Ignored because the option is now always enabled.
   }
 
@@ -113,7 +113,7 @@
   bool get previewDart2 => true;
 
   @deprecated
-  void set previewDart2(bool value) {}
+  set previewDart2(bool value) {}
 }
 
 class LintDriver {
diff --git a/pkg/analyzer/lib/src/summary/flat_buffers.dart b/pkg/analyzer/lib/src/summary/flat_buffers.dart
index d8e7b2c..76320d3 100644
--- a/pkg/analyzer/lib/src/summary/flat_buffers.dart
+++ b/pkg/analyzer/lib/src/summary/flat_buffers.dart
@@ -811,8 +811,7 @@
   }
 
   @override
-  void set length(int i) =>
-      throw StateError('Attempt to modify immutable list');
+  set length(int i) => throw StateError('Attempt to modify immutable list');
 
   @override
   bool operator [](int i) {
@@ -880,8 +879,7 @@
   }
 
   @override
-  void set length(int i) =>
-      throw StateError('Attempt to modify immutable list');
+  set length(int i) => throw StateError('Attempt to modify immutable list');
 
   @override
   void operator []=(int i, E e) =>
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 4077a1c..c0a3c9a 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -56,19 +56,19 @@
 abstract class AbstractParserTestCase implements ParserTestHelpers {
   bool get allowNativeClause;
 
-  void set allowNativeClause(bool value);
+  set allowNativeClause(bool value);
 
   /**
    * Set a flag indicating whether the parser should parse instance creation
    * expressions that lack either the `new` or `const` keyword.
    */
-  void set enableOptionalNewAndConst(bool value);
+  set enableOptionalNewAndConst(bool value);
 
   /**
    * Set a flag indicating whether the parser is to parse part-of directives
    * that specify a URI rather than a library name.
    */
-  void set enableUriInPartOf(bool value);
+  set enableUriInPartOf(bool value);
 
   /**
    * The error listener to which scanner and parser errors will be reported.
diff --git a/pkg/analyzer/test/src/summary/test_strategies.dart b/pkg/analyzer/test/src/summary/test_strategies.dart
index 6fdd864..6307779 100644
--- a/pkg/analyzer/test/src/summary/test_strategies.dart
+++ b/pkg/analyzer/test/src/summary/test_strategies.dart
@@ -46,13 +46,13 @@
   /// The set of features enabled in this test.
   FeatureSet featureSet;
 
-  void set allowMissingFiles(bool value);
+  set allowMissingFiles(bool value);
 
   set declaredVariables(DeclaredVariables declaredVariables);
 
   MemoryResourceProvider get resourceProvider;
 
-  void set testFile(String value);
+  set testFile(String value);
 
   Source get testSource;