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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartFunction.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/model/DartFunction.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartFunction.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartFunction.java
index c6f126720246efe7d9a2475a33252556c8b5008f..5c064912650add08a984e6a097f3267d0957b67b 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartFunction.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/model/DartFunction.java
@@ -53,6 +53,11 @@ public interface DartFunction extends CompilationUnitElement, ParentElement, Sou
public String[] getParameterNames() throws DartModelException;
/**
+ * @return the {@link SourceRange} of close paren in parameters declaration.
+ */
+ public SourceRange getParametersCloseParen() throws DartModelException;
+
+ /**
* Return an array containing the names of the parameter types for this function, or an empty
* array if this function does not have any parameters. In the case where the type of a parameter
* is a function type, this method will return a string that contains only the types of the

Powered by Google App Engine
This is Rietveld 408576698