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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.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/DartMethodInfo.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
index 85b592762e41f22c21f4b7f7b513d10aa83c0a5f..c9ce2f67601a0865a4e770370c1c3cb715e8ae16 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartMethodInfo.java
@@ -18,6 +18,7 @@ package com.google.dart.tools.core.internal.model.info;
* methods.
*/
public class DartMethodInfo extends DeclarationElementInfo {
+ private int parametersCloseParen;
/**
* A flag indicating whether this method is a constructor.
*/
@@ -35,6 +36,13 @@ public class DartMethodInfo extends DeclarationElementInfo {
private char[] returnTypeName;
/**
+ * @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.
*
@@ -84,6 +92,10 @@ public class DartMethodInfo extends DeclarationElementInfo {
isImplicit = implicit;
}
+ 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