Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartFunctionInfo.java

Issue 10916211: Issue 4752. When convert to getter, remove also () (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use setter in *Info Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
*

Powered by Google App Engine
This is Rietveld 408576698