1 /* |
1 /* |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
36 /** |
36 /** |
37 * Provides access to syntax trees for doc comments. |
37 * Provides access to syntax trees for doc comments. |
38 * |
38 * |
39 * @since 1.8 |
39 * @since 1.8 |
40 */ |
40 */ |
|
41 @jdk.Supported |
41 public abstract class DocTrees extends Trees { |
42 public abstract class DocTrees extends Trees { |
42 /** |
43 /** |
43 * Gets a DocTrees object for a given CompilationTask. |
44 * Gets a DocTrees object for a given CompilationTask. |
44 * @param task the compilation task for which to get the Trees object |
45 * @param task the compilation task for which to get the Trees object |
45 * @throws IllegalArgumentException if the task does not support the Trees API. |
46 * @throws IllegalArgumentException if the task does not support the Trees API. |