1.1 --- a/src/share/classes/com/sun/source/util/Trees.java Wed Nov 14 16:41:51 2012 -0800 1.2 +++ b/src/share/classes/com/sun/source/util/Trees.java Wed Nov 14 17:23:10 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -26,6 +26,7 @@ 1.11 package com.sun.source.util; 1.12 1.13 import java.lang.reflect.Method; 1.14 + 1.15 import javax.annotation.processing.ProcessingEnvironment; 1.16 import javax.lang.model.element.AnnotationMirror; 1.17 import javax.lang.model.element.AnnotationValue; 1.18 @@ -73,7 +74,7 @@ 1.19 return getJavacTrees(ProcessingEnvironment.class, env); 1.20 } 1.21 1.22 - private static Trees getJavacTrees(Class<?> argType, Object arg) { 1.23 + static Trees getJavacTrees(Class<?> argType, Object arg) { 1.24 try { 1.25 ClassLoader cl = arg.getClass().getClassLoader(); 1.26 Class<?> c = Class.forName("com.sun.tools.javac.api.JavacTrees", false, cl); 1.27 @@ -168,6 +169,7 @@ 1.28 /** 1.29 * Gets the doc comment, if any, for the Tree node identified by a given TreePath. 1.30 * Returns null if no doc comment was found. 1.31 + * @see DocTrees#getDocCommentTree(TreePath) 1.32 */ 1.33 public abstract String getDocComment(TreePath path); 1.34