| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, the Dart project authors. | 2 * Copyright (c) 2013, the Dart project authors. |
| 3 * | 3 * |
| 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 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 | 5 * in compliance with the License. You may obtain a copy of the License at |
| 6 * | 6 * |
| 7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
| 8 * | 8 * |
| 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 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 | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 public Source getSource() { | 122 public Source getSource() { |
| 123 return baseElement.getSource(); | 123 return baseElement.getSource(); |
| 124 } | 124 } |
| 125 | 125 |
| 126 @Override | 126 @Override |
| 127 public boolean isAccessibleIn(LibraryElement library) { | 127 public boolean isAccessibleIn(LibraryElement library) { |
| 128 return baseElement.isAccessibleIn(library); | 128 return baseElement.isAccessibleIn(library); |
| 129 } | 129 } |
| 130 | 130 |
| 131 @Override | 131 @Override |
| 132 public boolean isDeprecated() { |
| 133 return baseElement.isDeprecated(); |
| 134 } |
| 135 |
| 136 @Override |
| 132 public boolean isSynthetic() { | 137 public boolean isSynthetic() { |
| 133 return baseElement.isSynthetic(); | 138 return baseElement.isSynthetic(); |
| 134 } | 139 } |
| 135 | 140 |
| 136 @Override | 141 @Override |
| 137 public void visitChildren(ElementVisitor<?> visitor) { | 142 public void visitChildren(ElementVisitor<?> visitor) { |
| 138 // There are no children to visit | 143 // There are no children to visit |
| 139 } | 144 } |
| 140 | 145 |
| 141 /** | 146 /** |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 */ | 201 */ |
| 197 protected InterfaceType[] substituteFor(InterfaceType[] types) { | 202 protected InterfaceType[] substituteFor(InterfaceType[] types) { |
| 198 int count = types.length; | 203 int count = types.length; |
| 199 InterfaceType[] substitutedTypes = new InterfaceType[count]; | 204 InterfaceType[] substitutedTypes = new InterfaceType[count]; |
| 200 for (int i = 0; i < count; i++) { | 205 for (int i = 0; i < count; i++) { |
| 201 substitutedTypes[i] = substituteFor(types[i]); | 206 substitutedTypes[i] = substituteFor(types[i]); |
| 202 } | 207 } |
| 203 return substitutedTypes; | 208 return substitutedTypes; |
| 204 } | 209 } |
| 205 } | 210 } |
| OLD | NEW |