Merge
This commit is contained in:
commit
7f8a6a5898
@ -33,9 +33,9 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AttributeTree extends DocTree {
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
enum ValueKind { EMPTY, UNQUOTED, SINGLE, DOUBLE };
|
||||
|
||||
Name getName();
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AuthorTree extends BlockTagTree {
|
||||
List<? extends DocTree> getName();
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface BlockTagTree extends DocTree {
|
||||
String getTagName();
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface CommentTree extends DocTree {
|
||||
String getBody();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DeprecatedTree extends BlockTagTree {
|
||||
List<? extends DocTree> getBody();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DocCommentTree extends DocTree {
|
||||
List<? extends DocTree> getFirstSentence();
|
||||
List<? extends DocTree> getBody();
|
||||
|
@ -33,5 +33,5 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DocRootTree extends InlineTagTree { }
|
||||
|
@ -30,9 +30,9 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DocTree {
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
enum Kind {
|
||||
/**
|
||||
* Used for instances of {@link AttributeTree}
|
||||
|
@ -54,7 +54,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DocTreeVisitor<R,P> {
|
||||
R visitAttribute(AttributeTree node, P p);
|
||||
R visitAuthor(AuthorTree node, P p);
|
||||
|
@ -35,7 +35,7 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface EndElementTree extends DocTree {
|
||||
Name getName();
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface EntityTree extends DocTree {
|
||||
Name getName();
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ import javax.tools.JavaFileObject;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ErroneousTree extends TextTree {
|
||||
/**
|
||||
* Gets a diagnostic object giving details about
|
||||
|
@ -35,7 +35,7 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface IdentifierTree extends DocTree {
|
||||
Name getName();
|
||||
}
|
||||
|
@ -34,5 +34,5 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface InheritDocTree extends InlineTagTree { }
|
||||
|
@ -31,7 +31,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface InlineTagTree extends DocTree {
|
||||
String getTagName();
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LinkTree extends InlineTagTree {
|
||||
ReferenceTree getReference();
|
||||
List<? extends DocTree> getLabel();
|
||||
|
@ -34,7 +34,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LiteralTree extends InlineTagTree {
|
||||
TextTree getBody();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ParamTree extends BlockTagTree {
|
||||
boolean isTypeParameter();
|
||||
IdentifierTree getName();
|
||||
|
@ -33,7 +33,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ReferenceTree extends DocTree {
|
||||
String getSignature();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ReturnTree extends BlockTagTree {
|
||||
List<? extends DocTree> getDescription();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SeeTree extends BlockTagTree {
|
||||
List<? extends DocTree> getReference();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SerialDataTree extends BlockTagTree {
|
||||
List<? extends DocTree> getDescription();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SerialFieldTree extends BlockTagTree {
|
||||
IdentifierTree getName();
|
||||
ReferenceTree getType();
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SerialTree extends BlockTagTree {
|
||||
List<? extends DocTree> getDescription();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SinceTree extends BlockTagTree {
|
||||
List<? extends DocTree> getBody();
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface StartElementTree extends DocTree {
|
||||
Name getName();
|
||||
List<? extends DocTree> getAttributes();
|
||||
|
@ -30,7 +30,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface TextTree extends DocTree {
|
||||
String getBody();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ThrowsTree extends BlockTagTree {
|
||||
ReferenceTree getExceptionName();
|
||||
List<? extends DocTree> getDescription();
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
* @since 1.8
|
||||
*
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface UnknownBlockTagTree extends BlockTagTree {
|
||||
List<? extends DocTree> getContent();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ import java.util.List;
|
||||
* @since 1.8
|
||||
*
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface UnknownInlineTagTree extends InlineTagTree {
|
||||
List<? extends DocTree> getContent();
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ package com.sun.source.doctree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ValueTree extends InlineTagTree {
|
||||
ReferenceTree getReference();
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface VersionTree extends BlockTagTree {
|
||||
List<? extends DocTree> getBody();
|
||||
}
|
||||
|
@ -31,5 +31,5 @@
|
||||
* @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>
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
package com.sun.source.doctree;
|
||||
|
@ -41,7 +41,7 @@ import java.util.List;
|
||||
* @author Mahmood Ali
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AnnotatedTypeTree extends ExpressionTree {
|
||||
List<? extends AnnotationTree> getAnnotations();
|
||||
ExpressionTree getUnderlyingType();
|
||||
|
@ -42,7 +42,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AnnotationTree extends ExpressionTree {
|
||||
Tree getAnnotationType();
|
||||
List<? extends ExpressionTree> getArguments();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ArrayAccessTree extends ExpressionTree {
|
||||
ExpressionTree getExpression();
|
||||
ExpressionTree getIndex();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ArrayTypeTree extends Tree {
|
||||
Tree getType();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AssertTree extends StatementTree {
|
||||
ExpressionTree getCondition();
|
||||
ExpressionTree getDetail();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface AssignmentTree extends ExpressionTree {
|
||||
ExpressionTree getVariable();
|
||||
ExpressionTree getExpression();
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface BinaryTree extends ExpressionTree {
|
||||
ExpressionTree getLeftOperand();
|
||||
ExpressionTree getRightOperand();
|
||||
|
@ -45,7 +45,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface BlockTree extends StatementTree {
|
||||
boolean isStatic();
|
||||
List<? extends StatementTree> getStatements();
|
||||
|
@ -43,7 +43,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface BreakTree extends StatementTree {
|
||||
Name getLabel();
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface CaseTree extends Tree {
|
||||
/**
|
||||
* @return null if and only if this Case is {@code default:}
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface CatchTree extends Tree {
|
||||
VariableTree getParameter();
|
||||
BlockTree getBlock();
|
||||
|
@ -48,7 +48,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ClassTree extends StatementTree {
|
||||
ModifiersTree getModifiers();
|
||||
Name getSimpleName();
|
||||
|
@ -37,7 +37,7 @@ import javax.tools.JavaFileObject;
|
||||
* @author Peter von der Ahé
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface CompilationUnitTree extends Tree {
|
||||
List<? extends AnnotationTree> getPackageAnnotations();
|
||||
ExpressionTree getPackageName();
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface CompoundAssignmentTree extends ExpressionTree {
|
||||
ExpressionTree getVariable();
|
||||
ExpressionTree getExpression();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ConditionalExpressionTree extends ExpressionTree {
|
||||
ExpressionTree getCondition();
|
||||
ExpressionTree getTrueExpression();
|
||||
|
@ -42,7 +42,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ContinueTree extends StatementTree {
|
||||
Name getLabel();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DoWhileLoopTree extends StatementTree {
|
||||
ExpressionTree getCondition();
|
||||
StatementTree getStatement();
|
||||
|
@ -39,5 +39,5 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface EmptyStatementTree extends StatementTree {}
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface EnhancedForLoopTree extends StatementTree {
|
||||
VariableTree getVariable();
|
||||
ExpressionTree getExpression();
|
||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ErroneousTree extends ExpressionTree {
|
||||
List<? extends Tree> getErrorTrees();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ExpressionStatementTree extends StatementTree {
|
||||
ExpressionTree getExpression();
|
||||
}
|
||||
|
@ -35,5 +35,5 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ExpressionTree extends Tree {}
|
||||
|
@ -42,7 +42,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ForLoopTree extends StatementTree {
|
||||
List<? extends StatementTree> getInitializer();
|
||||
ExpressionTree getCondition();
|
||||
|
@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface IdentifierTree extends ExpressionTree {
|
||||
Name getName();
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface IfTree extends StatementTree {
|
||||
ExpressionTree getCondition();
|
||||
StatementTree getThenStatement();
|
||||
|
@ -41,7 +41,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ImportTree extends Tree {
|
||||
boolean isStatic();
|
||||
/**
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface InstanceOfTree extends ExpressionTree {
|
||||
ExpressionTree getExpression();
|
||||
Tree getType();
|
||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface IntersectionTypeTree extends Tree {
|
||||
List<? extends Tree> getBounds();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LabeledStatementTree extends StatementTree {
|
||||
Name getLabel();
|
||||
StatementTree getStatement();
|
||||
|
@ -37,14 +37,14 @@ import java.util.List;
|
||||
* (x,y)-> { return x + y; }
|
||||
* }</pre>
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LambdaExpressionTree extends ExpressionTree {
|
||||
|
||||
/**
|
||||
* Lambda expressions come in two forms: (i) expression lambdas, whose body
|
||||
* is an expression, and (ii) statement lambdas, whose body is a block
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public enum BodyKind {
|
||||
/** enum constant for expression lambdas */
|
||||
EXPRESSION,
|
||||
|
@ -31,7 +31,7 @@ package com.sun.source.tree;
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LineMap {
|
||||
/**
|
||||
* Find the start position of a line.
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface LiteralTree extends ExpressionTree {
|
||||
Object getValue();
|
||||
}
|
||||
|
@ -39,14 +39,14 @@ import javax.lang.model.element.Name;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface MemberReferenceTree extends ExpressionTree {
|
||||
|
||||
/**
|
||||
* There are two kinds of member references: (i) method references and
|
||||
* (ii) constructor references
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public enum ReferenceMode {
|
||||
/** enum constant for method references */
|
||||
INVOKE,
|
||||
|
@ -41,7 +41,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface MemberSelectTree extends ExpressionTree {
|
||||
ExpressionTree getExpression();
|
||||
Name getIdentifier();
|
||||
|
@ -43,7 +43,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface MethodInvocationTree extends ExpressionTree {
|
||||
List<? extends Tree> getTypeArguments();
|
||||
ExpressionTree getMethodSelect();
|
||||
|
@ -46,7 +46,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface MethodTree extends Tree {
|
||||
ModifiersTree getModifiers();
|
||||
Name getName();
|
||||
|
@ -45,7 +45,7 @@ import javax.lang.model.element.Modifier;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ModifiersTree extends Tree {
|
||||
Set<Modifier> getFlags();
|
||||
List<? extends AnnotationTree> getAnnotations();
|
||||
|
@ -43,7 +43,7 @@ import com.sun.tools.javac.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface NewArrayTree extends ExpressionTree {
|
||||
Tree getType();
|
||||
List<? extends ExpressionTree> getDimensions();
|
||||
|
@ -48,7 +48,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface NewClassTree extends ExpressionTree {
|
||||
ExpressionTree getEnclosingExpression();
|
||||
List<? extends Tree> getTypeArguments();
|
||||
|
@ -41,7 +41,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ParameterizedTypeTree extends Tree {
|
||||
Tree getType();
|
||||
List<? extends Tree> getTypeArguments();
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ParenthesizedTree extends ExpressionTree {
|
||||
ExpressionTree getExpression();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ import javax.lang.model.type.TypeKind;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface PrimitiveTypeTree extends Tree {
|
||||
TypeKind getPrimitiveTypeKind();
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ReturnTree extends StatementTree {
|
||||
ExpressionTree getExpression();
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ import javax.lang.model.element.TypeElement;
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface Scope {
|
||||
/**
|
||||
* Returns the enclosing scope.
|
||||
|
@ -35,5 +35,5 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface StatementTree extends Tree {}
|
||||
|
@ -43,7 +43,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SwitchTree extends StatementTree {
|
||||
ExpressionTree getExpression();
|
||||
List<? extends CaseTree> getCases();
|
||||
|
@ -40,7 +40,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface SynchronizedTree extends StatementTree {
|
||||
ExpressionTree getExpression();
|
||||
BlockTree getBlock();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface ThrowTree extends StatementTree {
|
||||
ExpressionTree getExpression();
|
||||
}
|
||||
|
@ -39,13 +39,13 @@ package com.sun.source.tree;
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface Tree {
|
||||
|
||||
/**
|
||||
* Enumerates all kinds of trees.
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public enum Kind {
|
||||
|
||||
ANNOTATED_TYPE(AnnotatedTypeTree.class),
|
||||
|
@ -56,7 +56,7 @@ package com.sun.source.tree;
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface TreeVisitor<R,P> {
|
||||
R visitAnnotatedType(AnnotatedTypeTree node, P p);
|
||||
R visitAnnotation(AnnotationTree node, P p);
|
||||
|
@ -45,7 +45,7 @@ import java.util.List;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface TryTree extends StatementTree {
|
||||
BlockTree getBlock();
|
||||
List<? extends CatchTree> getCatches();
|
||||
|
@ -39,7 +39,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface TypeCastTree extends ExpressionTree {
|
||||
Tree getType();
|
||||
ExpressionTree getExpression();
|
||||
|
@ -46,7 +46,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface TypeParameterTree extends Tree {
|
||||
Name getName();
|
||||
List<? extends Tree> getBounds();
|
||||
|
@ -42,7 +42,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface UnaryTree extends ExpressionTree {
|
||||
ExpressionTree getExpression();
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||
*
|
||||
* @since 1.7
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface UnionTypeTree extends Tree {
|
||||
List<? extends Tree> getTypeAlternatives();
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ import javax.lang.model.element.Name;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface VariableTree extends StatementTree {
|
||||
ModifiersTree getModifiers();
|
||||
Name getName();
|
||||
|
@ -41,7 +41,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface WhileLoopTree extends StatementTree {
|
||||
ExpressionTree getCondition();
|
||||
StatementTree getStatement();
|
||||
|
@ -44,7 +44,7 @@ package com.sun.source.tree;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface WildcardTree extends Tree {
|
||||
Tree getBound();
|
||||
}
|
||||
|
@ -31,5 +31,5 @@
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
package com.sun.source.tree;
|
||||
|
@ -36,7 +36,7 @@ import com.sun.source.tree.CompilationUnitTree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface DocSourcePositions extends SourcePositions {
|
||||
|
||||
/**
|
||||
|
@ -35,7 +35,7 @@ import java.util.Iterator;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public class DocTreePath implements Iterable<DocTree> {
|
||||
/**
|
||||
* Gets a documentation tree path for a tree node within a compilation unit.
|
||||
|
@ -36,7 +36,7 @@ import com.sun.source.doctree.DocTree;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public class DocTreePathScanner<R, P> extends DocTreeScanner<R, P> {
|
||||
/**
|
||||
* Scan a tree from a position identified by a TreePath.
|
||||
|
@ -67,7 +67,7 @@ import com.sun.source.doctree.*;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public class DocTreeScanner<R,P> implements DocTreeVisitor<R,P> {
|
||||
|
||||
/**
|
||||
|
@ -37,7 +37,7 @@ import javax.tools.Diagnostic;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public abstract class DocTrees extends Trees {
|
||||
/**
|
||||
* Gets a DocTrees object for a given CompilationTask.
|
||||
|
@ -48,7 +48,7 @@ import com.sun.tools.javac.util.Context;
|
||||
* @author Jonathan Gibbons
|
||||
* @since 1.6
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public abstract class JavacTask implements CompilationTask {
|
||||
|
||||
/**
|
||||
|
@ -48,7 +48,7 @@ import javax.tools.StandardLocation;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public interface Plugin {
|
||||
/**
|
||||
* Get the user-friendly name of this plug-in.
|
||||
|
@ -32,7 +32,7 @@ import com.sun.source.doctree.*;
|
||||
*
|
||||
* @since 1.8
|
||||
*/
|
||||
@jdk.Supported
|
||||
@jdk.Exported
|
||||
public class SimpleDocTreeVisitor<R,P> implements DocTreeVisitor<R, P> {
|
||||
protected final R DEFAULT_VALUE;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user