| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012, the Dart project authors. | 2 * Copyright (c) 2012, 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 * the given library. This is defined by the Dart Language Specification in se
ction 3.2: | 168 * the given library. This is defined by the Dart Language Specification in se
ction 3.2: |
| 169 * <blockquote> A declaration <i>m</i> is accessible to library <i>L</i> if <i
>m</i> is declared | 169 * <blockquote> A declaration <i>m</i> is accessible to library <i>L</i> if <i
>m</i> is declared |
| 170 * in <i>L</i> or if <i>m</i> is public. </blockquote> | 170 * in <i>L</i> or if <i>m</i> is public. </blockquote> |
| 171 * | 171 * |
| 172 * @param library the library in which a possible reference to this element wo
uld occur | 172 * @param library the library in which a possible reference to this element wo
uld occur |
| 173 * @return {@code true} if this element is accessible to code in the given lib
rary | 173 * @return {@code true} if this element is accessible to code in the given lib
rary |
| 174 */ | 174 */ |
| 175 public boolean isAccessibleIn(LibraryElement library); | 175 public boolean isAccessibleIn(LibraryElement library); |
| 176 | 176 |
| 177 /** | 177 /** |
| 178 * Return {@code true} if this element has an annotation of the form '@depreca
ted' or |
| 179 * '@Deprecated('..')'. |
| 180 * |
| 181 * @return {@code true} if this element is deprecated |
| 182 */ |
| 183 public boolean isDeprecated(); |
| 184 |
| 185 /** |
| 178 * Return {@code true} if this element is synthetic. A synthetic element is an
element that is not | 186 * Return {@code true} if this element is synthetic. A synthetic element is an
element that is not |
| 179 * represented in the source code explicitly, but is implied by the source cod
e, such as the | 187 * represented in the source code explicitly, but is implied by the source cod
e, such as the |
| 180 * default constructor for a class that does not explicitly define any constru
ctors. | 188 * default constructor for a class that does not explicitly define any constru
ctors. |
| 181 * | 189 * |
| 182 * @return {@code true} if this element is synthetic | 190 * @return {@code true} if this element is synthetic |
| 183 */ | 191 */ |
| 184 public boolean isSynthetic(); | 192 public boolean isSynthetic(); |
| 185 | 193 |
| 186 /** | 194 /** |
| 187 * Use the given visitor to visit all of the children of this element. There i
s no guarantee of | 195 * Use the given visitor to visit all of the children of this element. There i
s no guarantee of |
| 188 * the order in which the children will be visited. | 196 * the order in which the children will be visited. |
| 189 * | 197 * |
| 190 * @param visitor the visitor that will be used to visit the children of this
element | 198 * @param visitor the visitor that will be used to visit the children of this
element |
| 191 */ | 199 */ |
| 192 public void visitChildren(ElementVisitor<?> visitor); | 200 public void visitChildren(ElementVisitor<?> visitor); |
| 193 } | 201 } |
| OLD | NEW |