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

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

Issue 11577022: Issue 7093. Support for inlining function references. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 e7878fa5477a562714177bfba706c0f0d6dd8b4c..4355770f6fff9321ccb3fde1e5b190d84a200699 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
@@ -104,6 +104,11 @@ public class DartMethodImpl extends NamedTypeMemberImpl implements Method {
}
@Override
+ public SourceRange getParametersOpenParen() throws DartModelException {
+ return new SourceRangeImpl(((DartMethodInfo) getElementInfo()).getParametersOpenParen(), 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