提交 3d39cfdf 编写于 作者: J jjg

6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)

Reviewed-by: darcy
上级 c089b997
......@@ -52,6 +52,7 @@ import com.sun.source.tree.Tree;
public abstract class Trees {
/**
* Gets a Trees object for a given CompilationTask.
* @param task the compilation task for which to get the Trees object
* @throws IllegalArgumentException if the task does not support the Trees API.
*/
public static Trees instance(CompilationTask task) {
......@@ -61,7 +62,8 @@ public abstract class Trees {
}
/**
* Gets a Trees object for a given CompilationTask.
* Gets a Trees object for a given ProcessingEnvironment.
* @param env the processing environment for which to get the Trees object
* @throws IllegalArgumentException if the env does not support the Trees API.
*/
public static Trees instance(ProcessingEnvironment env) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册