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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartMethodImpl.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/DartMethodImpl.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartMethodImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartMethodImpl.java
index b5b1d40361dc55508fcb7641d093d1b18238fb52..abecad5f83e3e9efa93a8ceb440d88aee8e78473 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartMethodImpl.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartMethodImpl.java
@@ -85,6 +85,11 @@ public class DartMethodImpl extends NamedTypeMemberImpl implements Method {
}
@Override
+ public SourceRange getParametersCloseParen() throws DartModelException {
+ return new SourceRangeImpl(((DartMethodInfo) getElementInfo()).getParametersCloseParen(), 1);
+ }
+
+ @Override
public String[] getParameterTypeNames() throws DartModelException {
ArrayList<String> typeNames = new ArrayList<String>();
for (DartVariableDeclaration variable : getChildrenOfType(DartVariableDeclaration.class)) {

Powered by Google App Engine
This is Rietveld 408576698