| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2014, the Dart project authors. | |
| 3 * | |
| 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | |
| 5 * in compliance with the License. You may obtain a copy of the License at | |
| 6 * | |
| 7 * http://www.eclipse.org/legal/epl-v10.html | |
| 8 * | |
| 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | |
| 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | |
| 11 * or implied. See the License for the specific language governing permissions a
nd limitations under | |
| 12 * the License. | |
| 13 */ | |
| 14 package com.google.dart.server; | |
| 15 | |
| 16 import com.google.dart.server.generated.types.Element; | |
| 17 | |
| 18 /** | |
| 19 * The interface {@code OverrideMember} defines an override | |
| 20 * | |
| 21 * @coverage dart.server | |
| 22 */ | |
| 23 public interface OverrideMember { | |
| 24 /** | |
| 25 * An empty array of overrides. | |
| 26 */ | |
| 27 OverrideMember[] EMPTY_ARRAY = new OverrideMember[0]; | |
| 28 | |
| 29 /** | |
| 30 * Return the length of the name of the overriding member. | |
| 31 * | |
| 32 * @return the length of the name of the overriding member | |
| 33 */ | |
| 34 public int getLength(); | |
| 35 | |
| 36 /** | |
| 37 * Return the offset of the name of the overriding member. | |
| 38 * | |
| 39 * @return the offset of the name of the overriding member | |
| 40 */ | |
| 41 public int getOffset(); | |
| 42 | |
| 43 /** | |
| 44 * Return the element that was overridden from a superclass. The value is omit
ted if there is no | |
| 45 * superclass method. | |
| 46 * | |
| 47 * @return the element that was overridden from a superclass | |
| 48 */ | |
| 49 public Element getSuperclassElement(); | |
| 50 | |
| 51 } | |
| OLD | NEW |