8309884: missing @since tags in com.sun.source.*

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2023-06-13 17:40:34 +00:00
parent 75dcc4ef94
commit b5b5b7ce72
4 changed files with 7 additions and 0 deletions
src/jdk.compiler/share/classes/com/sun/source

@ -27,5 +27,7 @@ package com.sun.source.tree;
/**
* A super-type for all the directives in a ModuleTree.
*
* @since 9
*/
public interface DirectiveTree extends Tree { }

@ -36,6 +36,8 @@ import java.util.List;
* (List<String> ls)->ls.size()
* (x,y)-> { return x + y; }
* }</pre>
*
* @since 1.8
*/
public interface LambdaExpressionTree extends ExpressionTree {

@ -32,6 +32,7 @@ import jdk.internal.javac.PreviewFeature;
/**
* A tree node for a string template expression.
*
* @since 21
*/
@PreviewFeature(feature=PreviewFeature.Feature.STRING_TEMPLATES, reflective=true)
public interface StringTemplateTree extends ExpressionTree {

@ -50,6 +50,8 @@ import com.sun.source.tree.Tree;
* Bridges JSR 199, JSR 269, and the Tree API.
*
* @author Peter von der Ah&eacute;
*
* @since 1.6
*/
public abstract class Trees {
/**