Index: compiler/java/com/google/dart/compiler/resolver/Element.java |
diff --git a/compiler/java/com/google/dart/compiler/resolver/Element.java b/compiler/java/com/google/dart/compiler/resolver/Element.java |
index fdab892417e55e2718ebe850ed0d88da7b42c053..762c66aec587361af998aae5332f5acae5edc96b 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/Element.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/Element.java |
@@ -22,5 +22,10 @@ public interface Element extends Symbol { |
Modifiers getModifiers(); |
+ /** |
+ * Returns the innermost {@link EnclosingElement} for class or interface which declares this |
+ * element. Because method is now not an {@link EnclosingElement}, its enclosing class is returned |
zundel
2011/11/07 19:26:53
but in this patch, you modify MethodElement so it
|
+ * instead. |
+ */ |
EnclosingElement getEnclosingElement(); |
} |