Index: pkg/analysis_server/tool/spec/implied_types.dart |
diff --git a/pkg/analysis_server/tool/spec/implied_types.dart b/pkg/analysis_server/tool/spec/implied_types.dart |
index b3ab8c6937f852f764f7867b89c7fc55272e59ff..8f252966e3a2e396dbacf9c7014458b5a31a8f81 100644 |
--- a/pkg/analysis_server/tool/spec/implied_types.dart |
+++ b/pkg/analysis_server/tool/spec/implied_types.dart |
@@ -61,55 +61,30 @@ class _ImpliedTypesVisitor extends HierarchicalApiVisitor { |
@override |
visitNotification(Notification notification) { |
- storeType( |
- notification.longEvent, |
- 'params', |
- notification.params, |
- 'notificationParams', |
- notification); |
+ storeType(notification.longEvent, 'params', notification.params, |
+ 'notificationParams', notification); |
} |
@override |
visitRefactoring(Refactoring refactoring) { |
String camelKind = camelJoin(refactoring.kind.toLowerCase().split('_')); |
- storeType( |
- camelKind, |
- 'feedback', |
- refactoring.feedback, |
- 'refactoringFeedback', |
- refactoring); |
- storeType( |
- camelKind, |
- 'options', |
- refactoring.options, |
- 'refactoringOptions', |
+ storeType(camelKind, 'feedback', refactoring.feedback, |
+ 'refactoringFeedback', refactoring); |
+ storeType(camelKind, 'options', refactoring.options, 'refactoringOptions', |
refactoring); |
} |
@override |
visitRequest(Request request) { |
storeType( |
- request.longMethod, |
- 'params', |
- request.params, |
- 'requestParams', |
- request); |
+ request.longMethod, 'params', request.params, 'requestParams', request); |
storeType( |
- request.longMethod, |
- 'result', |
- request.result, |
- 'requestResult', |
- request); |
+ request.longMethod, 'result', request.result, 'requestResult', request); |
} |
@override |
visitTypeDefinition(TypeDefinition typeDefinition) { |
- storeType( |
- typeDefinition.name, |
- null, |
- typeDefinition.type, |
- 'typeDefinition', |
+ storeType(typeDefinition.name, null, typeDefinition.type, 'typeDefinition', |
typeDefinition); |
} |
- |
} |