Index: pkg/analysis_server/lib/src/computer/computer_outline.dart |
diff --git a/pkg/analysis_server/lib/src/computer/computer_outline.dart b/pkg/analysis_server/lib/src/computer/computer_outline.dart |
index a052b13f2ab815327b865e8d01a35cf744b514ac..9b4c9b7170f0446995d3985ef016913b0656006c 100644 |
--- a/pkg/analysis_server/lib/src/computer/computer_outline.dart |
+++ b/pkg/analysis_server/lib/src/computer/computer_outline.dart |
@@ -4,8 +4,8 @@ |
library computer.outline; |
+import 'package:analysis_server/plugin/protocol/protocol.dart'; |
import 'package:analysis_server/src/collections.dart'; |
-import 'package:analysis_server/src/protocol.dart'; |
import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/element.dart' as engine; |
import 'package:analyzer/src/generated/source.dart'; |
@@ -346,13 +346,6 @@ class DartUnitOutlineComputer { |
children: nullIfEmpty(unitContents)); |
} |
- static String _getTypeParametersStr(TypeParameterList parameters) { |
- if (parameters == null) { |
- return null; |
- } |
- return parameters.toSource(); |
- } |
- |
Outline _newVariableOutline(String typeName, ElementKind kind, |
VariableDeclaration variable, bool isStatic) { |
SimpleIdentifier nameNode = variable.name; |
@@ -374,6 +367,13 @@ class DartUnitOutlineComputer { |
return outline; |
} |
+ static String _getTypeParametersStr(TypeParameterList parameters) { |
+ if (parameters == null) { |
+ return null; |
+ } |
+ return parameters.toSource(); |
+ } |
+ |
/** |
* Returns `true` if the given [element] is not `null` and deprecated. |
*/ |