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

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

Issue 178173003: Fix for 16498. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/internal/element/MultiplyInheritedPropertyAccessorElementImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/MultiplyInheritedPropertyAccessorElementImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/MultiplyInheritedPropertyAccessorElementImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..b3ad97b3ddbd333fba7371d670bc9fa778b49aab
--- /dev/null
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/MultiplyInheritedPropertyAccessorElementImpl.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2014, the Dart project authors.
+ *
+ * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.google.dart.engine.internal.element;
+
+import com.google.dart.engine.ast.Identifier;
+import com.google.dart.engine.element.ExecutableElement;
+import com.google.dart.engine.element.MultiplyInheritedExecutableElement;
+
+/**
+ * The interface {@link MultiplyInheritedPropertyAccessorElementImpl} defines all of the behavior of
+ * an {@link PropertyAccessorElementImpl}, with the additional information of an array of
+ * {@link ExecutableElement}s that this element was composed.
+ *
+ * @coverage dart.engine.element
+ */
+public class MultiplyInheritedPropertyAccessorElementImpl extends PropertyAccessorElementImpl
+ implements MultiplyInheritedExecutableElement {
+
+ /**
+ * An array the array of executable elements that were used to compose this element.
+ */
+ private ExecutableElement[] elements = PropertyAccessorElementImpl.EMPTY_ARRAY;
+
+ public MultiplyInheritedPropertyAccessorElementImpl(Identifier name) {
+ super(name);
+ setSynthetic(true);
+ }
+
+ @Override
+ public ExecutableElement[] getExecutableElements() {
+ return elements;
+ }
+
+ public void setExecutableElements(ExecutableElement[] elements) {
+ this.elements = elements;
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698