mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)
Reviewed-by: darcy
This commit is contained in:
parent
b66118af84
commit
5d1c8426a1
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue