src/share/classes/com/sun/source/util/Trees.java

changeset 783
90914ac50868
parent 554
9d9f26857129
child 785
65820d0d4a97
equal deleted inserted replaced
782:bcf44475aeee 783:90914ac50868
161 * Returns null if the Scope is not available. 161 * Returns null if the Scope is not available.
162 */ 162 */
163 public abstract Scope getScope(TreePath path); 163 public abstract Scope getScope(TreePath path);
164 164
165 /** 165 /**
166 * Gets the doc comment, if any, for the Tree node identified by a given TreePath.
167 * Returns null if no doc comment was found.
168 */
169 public abstract String getDocComment(TreePath path);
170
171 /**
166 * Checks whether a given type is accessible in a given scope. 172 * Checks whether a given type is accessible in a given scope.
167 * @param scope the scope to be checked 173 * @param scope the scope to be checked
168 * @param type the type to be checked 174 * @param type the type to be checked
169 * @return true if {@code type} is accessible 175 * @return true if {@code type} is accessible
170 */ 176 */

mercurial