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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ConstructorElement.java

Issue 14668014: Report CompileTimeErrorCode.RECURSIVE_FACTORY_REDIRECT (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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.engine/src/com/google/dart/engine/element/ConstructorElement.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ConstructorElement.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ConstructorElement.java
index 7bda2da2f06a80b4f46c4f987c11157b40e66f2c..fc3f5f3a8ee2bdfbf05b91a8170b4f44166fbd0d 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ConstructorElement.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ConstructorElement.java
@@ -29,6 +29,13 @@ public interface ConstructorElement extends ExecutableElement {
public ClassElement getEnclosingElement();
/**
+ * Return the constructor to which this constructor is redirecting to.
Brian Wilkerson 2013/05/15 21:36:33 nit: remove final "to"
+ *
+ * @return the constructor to which this constructor is redirecting to
+ */
+ public ConstructorElement getRedirectedConstructor();
+
+ /**
* Return {@code true} if this constructor is a const constructor.
*
* @return {@code true} if this constructor is a const constructor

Powered by Google App Engine
This is Rietveld 408576698