This commit is contained in:
Lana Steuck 2013-10-11 03:09:42 -07:00
commit 7f8a6a5898
170 changed files with 1598 additions and 563 deletions

View File

@ -33,9 +33,9 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface AttributeTree extends DocTree { public interface AttributeTree extends DocTree {
@jdk.Supported @jdk.Exported
enum ValueKind { EMPTY, UNQUOTED, SINGLE, DOUBLE }; enum ValueKind { EMPTY, UNQUOTED, SINGLE, DOUBLE };
Name getName(); Name getName();

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface AuthorTree extends BlockTagTree { public interface AuthorTree extends BlockTagTree {
List<? extends DocTree> getName(); List<? extends DocTree> getName();
} }

View File

@ -31,7 +31,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface BlockTagTree extends DocTree { public interface BlockTagTree extends DocTree {
String getTagName(); String getTagName();
} }

View File

@ -33,7 +33,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface CommentTree extends DocTree { public interface CommentTree extends DocTree {
String getBody(); String getBody();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DeprecatedTree extends BlockTagTree { public interface DeprecatedTree extends BlockTagTree {
List<? extends DocTree> getBody(); List<? extends DocTree> getBody();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DocCommentTree extends DocTree { public interface DocCommentTree extends DocTree {
List<? extends DocTree> getFirstSentence(); List<? extends DocTree> getFirstSentence();
List<? extends DocTree> getBody(); List<? extends DocTree> getBody();

View File

@ -33,5 +33,5 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DocRootTree extends InlineTagTree { } public interface DocRootTree extends InlineTagTree { }

View File

@ -30,9 +30,9 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DocTree { public interface DocTree {
@jdk.Supported @jdk.Exported
enum Kind { enum Kind {
/** /**
* Used for instances of {@link AttributeTree} * Used for instances of {@link AttributeTree}

View File

@ -54,7 +54,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DocTreeVisitor<R,P> { public interface DocTreeVisitor<R,P> {
R visitAttribute(AttributeTree node, P p); R visitAttribute(AttributeTree node, P p);
R visitAuthor(AuthorTree node, P p); R visitAuthor(AuthorTree node, P p);

View File

@ -35,7 +35,7 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface EndElementTree extends DocTree { public interface EndElementTree extends DocTree {
Name getName(); Name getName();
} }

View File

@ -36,7 +36,7 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface EntityTree extends DocTree { public interface EntityTree extends DocTree {
Name getName(); Name getName();
} }

View File

@ -32,7 +32,7 @@ import javax.tools.JavaFileObject;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ErroneousTree extends TextTree { public interface ErroneousTree extends TextTree {
/** /**
* Gets a diagnostic object giving details about * Gets a diagnostic object giving details about

View File

@ -35,7 +35,7 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface IdentifierTree extends DocTree { public interface IdentifierTree extends DocTree {
Name getName(); Name getName();
} }

View File

@ -34,5 +34,5 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface InheritDocTree extends InlineTagTree { } public interface InheritDocTree extends InlineTagTree { }

View File

@ -31,7 +31,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface InlineTagTree extends DocTree { public interface InlineTagTree extends DocTree {
String getTagName(); String getTagName();
} }

View File

@ -36,7 +36,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface LinkTree extends InlineTagTree { public interface LinkTree extends InlineTagTree {
ReferenceTree getReference(); ReferenceTree getReference();
List<? extends DocTree> getLabel(); List<? extends DocTree> getLabel();

View File

@ -34,7 +34,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface LiteralTree extends InlineTagTree { public interface LiteralTree extends InlineTagTree {
TextTree getBody(); TextTree getBody();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ParamTree extends BlockTagTree { public interface ParamTree extends BlockTagTree {
boolean isTypeParameter(); boolean isTypeParameter();
IdentifierTree getName(); IdentifierTree getName();

View File

@ -33,7 +33,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ReferenceTree extends DocTree { public interface ReferenceTree extends DocTree {
String getSignature(); String getSignature();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ReturnTree extends BlockTagTree { public interface ReturnTree extends BlockTagTree {
List<? extends DocTree> getDescription(); List<? extends DocTree> getDescription();
} }

View File

@ -38,7 +38,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface SeeTree extends BlockTagTree { public interface SeeTree extends BlockTagTree {
List<? extends DocTree> getReference(); List<? extends DocTree> getReference();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface SerialDataTree extends BlockTagTree { public interface SerialDataTree extends BlockTagTree {
List<? extends DocTree> getDescription(); List<? extends DocTree> getDescription();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface SerialFieldTree extends BlockTagTree { public interface SerialFieldTree extends BlockTagTree {
IdentifierTree getName(); IdentifierTree getName();
ReferenceTree getType(); ReferenceTree getType();

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface SerialTree extends BlockTagTree { public interface SerialTree extends BlockTagTree {
List<? extends DocTree> getDescription(); List<? extends DocTree> getDescription();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface SinceTree extends BlockTagTree { public interface SinceTree extends BlockTagTree {
List<? extends DocTree> getBody(); List<? extends DocTree> getBody();
} }

View File

@ -36,7 +36,7 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface StartElementTree extends DocTree { public interface StartElementTree extends DocTree {
Name getName(); Name getName();
List<? extends DocTree> getAttributes(); List<? extends DocTree> getAttributes();

View File

@ -30,7 +30,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface TextTree extends DocTree { public interface TextTree extends DocTree {
String getBody(); String getBody();
} }

View File

@ -38,7 +38,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ThrowsTree extends BlockTagTree { public interface ThrowsTree extends BlockTagTree {
ReferenceTree getExceptionName(); ReferenceTree getExceptionName();
List<? extends DocTree> getDescription(); List<? extends DocTree> getDescription();

View File

@ -35,7 +35,7 @@ import java.util.List;
* @since 1.8 * @since 1.8
* *
*/ */
@jdk.Supported @jdk.Exported
public interface UnknownBlockTagTree extends BlockTagTree { public interface UnknownBlockTagTree extends BlockTagTree {
List<? extends DocTree> getContent(); List<? extends DocTree> getContent();
} }

View File

@ -35,7 +35,7 @@ import java.util.List;
* @since 1.8 * @since 1.8
* *
*/ */
@jdk.Supported @jdk.Exported
public interface UnknownInlineTagTree extends InlineTagTree { public interface UnknownInlineTagTree extends InlineTagTree {
List<? extends DocTree> getContent(); List<? extends DocTree> getContent();
} }

View File

@ -33,7 +33,7 @@ package com.sun.source.doctree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface ValueTree extends InlineTagTree { public interface ValueTree extends InlineTagTree {
ReferenceTree getReference(); ReferenceTree getReference();
} }

View File

@ -36,7 +36,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface VersionTree extends BlockTagTree { public interface VersionTree extends BlockTagTree {
List<? extends DocTree> getBody(); List<? extends DocTree> getBody();
} }

View File

@ -31,5 +31,5 @@
* @since 1.8 * @since 1.8
* @see <a href="http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#javadoctags">http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#javadoctags</a> * @see <a href="http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#javadoctags">http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#javadoctags</a>
*/ */
@jdk.Supported @jdk.Exported
package com.sun.source.doctree; package com.sun.source.doctree;

View File

@ -41,7 +41,7 @@ import java.util.List;
* @author Mahmood Ali * @author Mahmood Ali
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface AnnotatedTypeTree extends ExpressionTree { public interface AnnotatedTypeTree extends ExpressionTree {
List<? extends AnnotationTree> getAnnotations(); List<? extends AnnotationTree> getAnnotations();
ExpressionTree getUnderlyingType(); ExpressionTree getUnderlyingType();

View File

@ -42,7 +42,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface AnnotationTree extends ExpressionTree { public interface AnnotationTree extends ExpressionTree {
Tree getAnnotationType(); Tree getAnnotationType();
List<? extends ExpressionTree> getArguments(); List<? extends ExpressionTree> getArguments();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ArrayAccessTree extends ExpressionTree { public interface ArrayAccessTree extends ExpressionTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
ExpressionTree getIndex(); ExpressionTree getIndex();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ArrayTypeTree extends Tree { public interface ArrayTypeTree extends Tree {
Tree getType(); Tree getType();
} }

View File

@ -41,7 +41,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface AssertTree extends StatementTree { public interface AssertTree extends StatementTree {
ExpressionTree getCondition(); ExpressionTree getCondition();
ExpressionTree getDetail(); ExpressionTree getDetail();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface AssignmentTree extends ExpressionTree { public interface AssignmentTree extends ExpressionTree {
ExpressionTree getVariable(); ExpressionTree getVariable();
ExpressionTree getExpression(); ExpressionTree getExpression();

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface BinaryTree extends ExpressionTree { public interface BinaryTree extends ExpressionTree {
ExpressionTree getLeftOperand(); ExpressionTree getLeftOperand();
ExpressionTree getRightOperand(); ExpressionTree getRightOperand();

View File

@ -45,7 +45,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface BlockTree extends StatementTree { public interface BlockTree extends StatementTree {
boolean isStatic(); boolean isStatic();
List<? extends StatementTree> getStatements(); List<? extends StatementTree> getStatements();

View File

@ -43,7 +43,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface BreakTree extends StatementTree { public interface BreakTree extends StatementTree {
Name getLabel(); Name getLabel();
} }

View File

@ -45,7 +45,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface CaseTree extends Tree { public interface CaseTree extends Tree {
/** /**
* @return null if and only if this Case is {@code default:} * @return null if and only if this Case is {@code default:}

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface CatchTree extends Tree { public interface CatchTree extends Tree {
VariableTree getParameter(); VariableTree getParameter();
BlockTree getBlock(); BlockTree getBlock();

View File

@ -48,7 +48,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ClassTree extends StatementTree { public interface ClassTree extends StatementTree {
ModifiersTree getModifiers(); ModifiersTree getModifiers();
Name getSimpleName(); Name getSimpleName();

View File

@ -37,7 +37,7 @@ import javax.tools.JavaFileObject;
* @author Peter von der Ah&eacute; * @author Peter von der Ah&eacute;
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface CompilationUnitTree extends Tree { public interface CompilationUnitTree extends Tree {
List<? extends AnnotationTree> getPackageAnnotations(); List<? extends AnnotationTree> getPackageAnnotations();
ExpressionTree getPackageName(); ExpressionTree getPackageName();

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface CompoundAssignmentTree extends ExpressionTree { public interface CompoundAssignmentTree extends ExpressionTree {
ExpressionTree getVariable(); ExpressionTree getVariable();
ExpressionTree getExpression(); ExpressionTree getExpression();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ConditionalExpressionTree extends ExpressionTree { public interface ConditionalExpressionTree extends ExpressionTree {
ExpressionTree getCondition(); ExpressionTree getCondition();
ExpressionTree getTrueExpression(); ExpressionTree getTrueExpression();

View File

@ -42,7 +42,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ContinueTree extends StatementTree { public interface ContinueTree extends StatementTree {
Name getLabel(); Name getLabel();
} }

View File

@ -41,7 +41,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface DoWhileLoopTree extends StatementTree { public interface DoWhileLoopTree extends StatementTree {
ExpressionTree getCondition(); ExpressionTree getCondition();
StatementTree getStatement(); StatementTree getStatement();

View File

@ -39,5 +39,5 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface EmptyStatementTree extends StatementTree {} public interface EmptyStatementTree extends StatementTree {}

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface EnhancedForLoopTree extends StatementTree { public interface EnhancedForLoopTree extends StatementTree {
VariableTree getVariable(); VariableTree getVariable();
ExpressionTree getExpression(); ExpressionTree getExpression();

View File

@ -34,7 +34,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ErroneousTree extends ExpressionTree { public interface ErroneousTree extends ExpressionTree {
List<? extends Tree> getErrorTrees(); List<? extends Tree> getErrorTrees();
} }

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ExpressionStatementTree extends StatementTree { public interface ExpressionStatementTree extends StatementTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
} }

View File

@ -35,5 +35,5 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ExpressionTree extends Tree {} public interface ExpressionTree extends Tree {}

View File

@ -42,7 +42,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ForLoopTree extends StatementTree { public interface ForLoopTree extends StatementTree {
List<? extends StatementTree> getInitializer(); List<? extends StatementTree> getInitializer();
ExpressionTree getCondition(); ExpressionTree getCondition();

View File

@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface IdentifierTree extends ExpressionTree { public interface IdentifierTree extends ExpressionTree {
Name getName(); Name getName();
} }

View File

@ -45,7 +45,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface IfTree extends StatementTree { public interface IfTree extends StatementTree {
ExpressionTree getCondition(); ExpressionTree getCondition();
StatementTree getThenStatement(); StatementTree getThenStatement();

View File

@ -41,7 +41,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ImportTree extends Tree { public interface ImportTree extends Tree {
boolean isStatic(); boolean isStatic();
/** /**

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface InstanceOfTree extends ExpressionTree { public interface InstanceOfTree extends ExpressionTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
Tree getType(); Tree getType();

View File

@ -34,7 +34,7 @@ import java.util.List;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface IntersectionTypeTree extends Tree { public interface IntersectionTypeTree extends Tree {
List<? extends Tree> getBounds(); List<? extends Tree> getBounds();
} }

View File

@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface LabeledStatementTree extends StatementTree { public interface LabeledStatementTree extends StatementTree {
Name getLabel(); Name getLabel();
StatementTree getStatement(); StatementTree getStatement();

View File

@ -37,14 +37,14 @@ import java.util.List;
* (x,y)-> { return x + y; } * (x,y)-> { return x + y; }
* }</pre> * }</pre>
*/ */
@jdk.Supported @jdk.Exported
public interface LambdaExpressionTree extends ExpressionTree { public interface LambdaExpressionTree extends ExpressionTree {
/** /**
* Lambda expressions come in two forms: (i) expression lambdas, whose body * Lambda expressions come in two forms: (i) expression lambdas, whose body
* is an expression, and (ii) statement lambdas, whose body is a block * is an expression, and (ii) statement lambdas, whose body is a block
*/ */
@jdk.Supported @jdk.Exported
public enum BodyKind { public enum BodyKind {
/** enum constant for expression lambdas */ /** enum constant for expression lambdas */
EXPRESSION, EXPRESSION,

View File

@ -31,7 +31,7 @@ package com.sun.source.tree;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface LineMap { public interface LineMap {
/** /**
* Find the start position of a line. * Find the start position of a line.

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface LiteralTree extends ExpressionTree { public interface LiteralTree extends ExpressionTree {
Object getValue(); Object getValue();
} }

View File

@ -39,14 +39,14 @@ import javax.lang.model.element.Name;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface MemberReferenceTree extends ExpressionTree { public interface MemberReferenceTree extends ExpressionTree {
/** /**
* There are two kinds of member references: (i) method references and * There are two kinds of member references: (i) method references and
* (ii) constructor references * (ii) constructor references
*/ */
@jdk.Supported @jdk.Exported
public enum ReferenceMode { public enum ReferenceMode {
/** enum constant for method references */ /** enum constant for method references */
INVOKE, INVOKE,

View File

@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface MemberSelectTree extends ExpressionTree { public interface MemberSelectTree extends ExpressionTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
Name getIdentifier(); Name getIdentifier();

View File

@ -43,7 +43,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface MethodInvocationTree extends ExpressionTree { public interface MethodInvocationTree extends ExpressionTree {
List<? extends Tree> getTypeArguments(); List<? extends Tree> getTypeArguments();
ExpressionTree getMethodSelect(); ExpressionTree getMethodSelect();

View File

@ -46,7 +46,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface MethodTree extends Tree { public interface MethodTree extends Tree {
ModifiersTree getModifiers(); ModifiersTree getModifiers();
Name getName(); Name getName();

View File

@ -45,7 +45,7 @@ import javax.lang.model.element.Modifier;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ModifiersTree extends Tree { public interface ModifiersTree extends Tree {
Set<Modifier> getFlags(); Set<Modifier> getFlags();
List<? extends AnnotationTree> getAnnotations(); List<? extends AnnotationTree> getAnnotations();

View File

@ -43,7 +43,7 @@ import com.sun.tools.javac.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface NewArrayTree extends ExpressionTree { public interface NewArrayTree extends ExpressionTree {
Tree getType(); Tree getType();
List<? extends ExpressionTree> getDimensions(); List<? extends ExpressionTree> getDimensions();

View File

@ -48,7 +48,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface NewClassTree extends ExpressionTree { public interface NewClassTree extends ExpressionTree {
ExpressionTree getEnclosingExpression(); ExpressionTree getEnclosingExpression();
List<? extends Tree> getTypeArguments(); List<? extends Tree> getTypeArguments();

View File

@ -41,7 +41,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ParameterizedTypeTree extends Tree { public interface ParameterizedTypeTree extends Tree {
Tree getType(); Tree getType();
List<? extends Tree> getTypeArguments(); List<? extends Tree> getTypeArguments();

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ParenthesizedTree extends ExpressionTree { public interface ParenthesizedTree extends ExpressionTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
} }

View File

@ -41,7 +41,7 @@ import javax.lang.model.type.TypeKind;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface PrimitiveTypeTree extends Tree { public interface PrimitiveTypeTree extends Tree {
TypeKind getPrimitiveTypeKind(); TypeKind getPrimitiveTypeKind();
} }

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ReturnTree extends StatementTree { public interface ReturnTree extends StatementTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
} }

View File

@ -48,7 +48,7 @@ import javax.lang.model.element.TypeElement;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface Scope { public interface Scope {
/** /**
* Returns the enclosing scope. * Returns the enclosing scope.

View File

@ -35,5 +35,5 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface StatementTree extends Tree {} public interface StatementTree extends Tree {}

View File

@ -43,7 +43,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface SwitchTree extends StatementTree { public interface SwitchTree extends StatementTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
List<? extends CaseTree> getCases(); List<? extends CaseTree> getCases();

View File

@ -40,7 +40,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface SynchronizedTree extends StatementTree { public interface SynchronizedTree extends StatementTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
BlockTree getBlock(); BlockTree getBlock();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface ThrowTree extends StatementTree { public interface ThrowTree extends StatementTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
} }

View File

@ -39,13 +39,13 @@ package com.sun.source.tree;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface Tree { public interface Tree {
/** /**
* Enumerates all kinds of trees. * Enumerates all kinds of trees.
*/ */
@jdk.Supported @jdk.Exported
public enum Kind { public enum Kind {
ANNOTATED_TYPE(AnnotatedTypeTree.class), ANNOTATED_TYPE(AnnotatedTypeTree.class),

View File

@ -56,7 +56,7 @@ package com.sun.source.tree;
* *
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface TreeVisitor<R,P> { public interface TreeVisitor<R,P> {
R visitAnnotatedType(AnnotatedTypeTree node, P p); R visitAnnotatedType(AnnotatedTypeTree node, P p);
R visitAnnotation(AnnotationTree node, P p); R visitAnnotation(AnnotationTree node, P p);

View File

@ -45,7 +45,7 @@ import java.util.List;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface TryTree extends StatementTree { public interface TryTree extends StatementTree {
BlockTree getBlock(); BlockTree getBlock();
List<? extends CatchTree> getCatches(); List<? extends CatchTree> getCatches();

View File

@ -39,7 +39,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface TypeCastTree extends ExpressionTree { public interface TypeCastTree extends ExpressionTree {
Tree getType(); Tree getType();
ExpressionTree getExpression(); ExpressionTree getExpression();

View File

@ -46,7 +46,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface TypeParameterTree extends Tree { public interface TypeParameterTree extends Tree {
Name getName(); Name getName();
List<? extends Tree> getBounds(); List<? extends Tree> getBounds();

View File

@ -42,7 +42,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface UnaryTree extends ExpressionTree { public interface UnaryTree extends ExpressionTree {
ExpressionTree getExpression(); ExpressionTree getExpression();
} }

View File

@ -34,7 +34,7 @@ import java.util.List;
* *
* @since 1.7 * @since 1.7
*/ */
@jdk.Supported @jdk.Exported
public interface UnionTypeTree extends Tree { public interface UnionTypeTree extends Tree {
List<? extends Tree> getTypeAlternatives(); List<? extends Tree> getTypeAlternatives();
} }

View File

@ -42,7 +42,7 @@ import javax.lang.model.element.Name;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface VariableTree extends StatementTree { public interface VariableTree extends StatementTree {
ModifiersTree getModifiers(); ModifiersTree getModifiers();
Name getName(); Name getName();

View File

@ -41,7 +41,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface WhileLoopTree extends StatementTree { public interface WhileLoopTree extends StatementTree {
ExpressionTree getCondition(); ExpressionTree getCondition();
StatementTree getStatement(); StatementTree getStatement();

View File

@ -44,7 +44,7 @@ package com.sun.source.tree;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public interface WildcardTree extends Tree { public interface WildcardTree extends Tree {
Tree getBound(); Tree getBound();
} }

View File

@ -31,5 +31,5 @@
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
package com.sun.source.tree; package com.sun.source.tree;

View File

@ -36,7 +36,7 @@ import com.sun.source.tree.CompilationUnitTree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface DocSourcePositions extends SourcePositions { public interface DocSourcePositions extends SourcePositions {
/** /**

View File

@ -35,7 +35,7 @@ import java.util.Iterator;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public class DocTreePath implements Iterable<DocTree> { public class DocTreePath implements Iterable<DocTree> {
/** /**
* Gets a documentation tree path for a tree node within a compilation unit. * Gets a documentation tree path for a tree node within a compilation unit.

View File

@ -36,7 +36,7 @@ import com.sun.source.doctree.DocTree;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public class DocTreePathScanner<R, P> extends DocTreeScanner<R, P> { public class DocTreePathScanner<R, P> extends DocTreeScanner<R, P> {
/** /**
* Scan a tree from a position identified by a TreePath. * Scan a tree from a position identified by a TreePath.

View File

@ -67,7 +67,7 @@ import com.sun.source.doctree.*;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public class DocTreeScanner<R,P> implements DocTreeVisitor<R,P> { public class DocTreeScanner<R,P> implements DocTreeVisitor<R,P> {
/** /**

View File

@ -37,7 +37,7 @@ import javax.tools.Diagnostic;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public abstract class DocTrees extends Trees { public abstract class DocTrees extends Trees {
/** /**
* Gets a DocTrees object for a given CompilationTask. * Gets a DocTrees object for a given CompilationTask.

View File

@ -48,7 +48,7 @@ import com.sun.tools.javac.util.Context;
* @author Jonathan Gibbons * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
*/ */
@jdk.Supported @jdk.Exported
public abstract class JavacTask implements CompilationTask { public abstract class JavacTask implements CompilationTask {
/** /**

View File

@ -48,7 +48,7 @@ import javax.tools.StandardLocation;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public interface Plugin { public interface Plugin {
/** /**
* Get the user-friendly name of this plug-in. * Get the user-friendly name of this plug-in.

View File

@ -32,7 +32,7 @@ import com.sun.source.doctree.*;
* *
* @since 1.8 * @since 1.8
*/ */
@jdk.Supported @jdk.Exported
public class SimpleDocTreeVisitor<R,P> implements DocTreeVisitor<R, P> { public class SimpleDocTreeVisitor<R,P> implements DocTreeVisitor<R, P> {
protected final R DEFAULT_VALUE; protected final R DEFAULT_VALUE;

Some files were not shown because too many files have changed in this diff Show More