| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
|
| index abd42ebdb99175f824dbfc23224214e8d4ebb851..faa05aaeee497e93514a132e72dbc90ea5d7391a 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java
|
| @@ -27,10 +27,18 @@ public class DartFunctionInfo extends DeclarationElementInfo {
|
| */
|
| private char[] returnTypeName;
|
|
|
| + private int parametersCloseParen;
|
| private int visibleStart;
|
| private int visibleEnd;
|
|
|
| /**
|
| + * @return the position of parameters close parenthesis.
|
| + */
|
| + public int getParametersCloseParen() {
|
| + return parametersCloseParen;
|
| + }
|
| +
|
| + /**
|
| * Return the name of the return type of this method, or <code>null</code> if this method is a
|
| * constructor or does not have a declared return type.
|
| *
|
| @@ -47,6 +55,10 @@ public class DartFunctionInfo extends DeclarationElementInfo {
|
| return new SourceRangeImpl(visibleStart, visibleEnd - visibleStart + 1);
|
| }
|
|
|
| + public void setParametersCloseParen(int parametersCloseParen) {
|
| + this.parametersCloseParen = parametersCloseParen;
|
| + }
|
| +
|
| /**
|
| * Set the name of the return type of this method to the given name.
|
| *
|
|
|