| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/processor/NotificationAnalysisOutlineProcessor.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/processor/NotificationAnalysisOutlineProcessor.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/processor/NotificationAnalysisOutlineProcessor.java
|
| index 3a1951157773b56918548d689dbf26e4f97412d5..b1f63c62141bf68b737194ec0a416792a9859e3a 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/processor/NotificationAnalysisOutlineProcessor.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/processor/NotificationAnalysisOutlineProcessor.java
|
| @@ -59,14 +59,18 @@ public class NotificationAnalysisOutlineProcessor extends NotificationProcessor
|
| private Outline computeOutline(Outline parent, JsonObject outlineObject) {
|
| ElementKind kind = getElementKind(outlineObject.get("kind").getAsString());
|
| String name = outlineObject.get("name").getAsString();
|
| - int offset = outlineObject.get("offset").getAsInt();
|
| - int length = outlineObject.get("length").getAsInt();
|
| + int nameOffset = outlineObject.get("nameOffset").getAsInt();
|
| + int nameLength = outlineObject.get("nameLength").getAsInt();
|
| + int elementOffset = outlineObject.get("elementOffset").getAsInt();
|
| + int elementLength = outlineObject.get("elementLength").getAsInt();
|
| boolean isAbstract = outlineObject.get("isAbstract").getAsBoolean();
|
| boolean isStatic = outlineObject.get("isStatic").getAsBoolean();
|
| - String arguments = null;
|
| - if (outlineObject.has("arguments")) {
|
| - arguments = outlineObject.get("arguments").getAsString();
|
| + // prepare parameters
|
| + String parameters = null;
|
| + if (outlineObject.has("parameters")) {
|
| + parameters = outlineObject.get("parameters").getAsString();
|
| }
|
| + // prepare return type
|
| String returnType = null;
|
| if (outlineObject.has("returnType")) {
|
| returnType = outlineObject.get("returnType").getAsString();
|
| @@ -77,11 +81,13 @@ public class NotificationAnalysisOutlineProcessor extends NotificationProcessor
|
| parent,
|
| kind,
|
| name,
|
| - offset,
|
| - length,
|
| + nameOffset,
|
| + nameLength,
|
| + elementOffset,
|
| + elementLength,
|
| isAbstract,
|
| isStatic,
|
| - arguments,
|
| + parameters,
|
| returnType);
|
|
|
| // compute children recursively
|
|
|