Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
096a3237
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
096a3237
编写于
5月 05, 2013
作者:
D
darcy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8013909: Fix doclint issues in javax.lang.model
Reviewed-by: jjg
上级
0f333397
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
43 addition
and
8 deletion
+43
-8
src/share/classes/javax/annotation/processing/SupportedAnnotationTypes.java
...javax/annotation/processing/SupportedAnnotationTypes.java
+6
-2
src/share/classes/javax/annotation/processing/SupportedOptions.java
...classes/javax/annotation/processing/SupportedOptions.java
+6
-2
src/share/classes/javax/annotation/processing/SupportedSourceVersion.java
...s/javax/annotation/processing/SupportedSourceVersion.java
+5
-1
src/share/classes/javax/lang/model/AnnotatedConstruct.java
src/share/classes/javax/lang/model/AnnotatedConstruct.java
+1
-1
src/share/classes/javax/lang/model/element/NestingKind.java
src/share/classes/javax/lang/model/element/NestingKind.java
+17
-1
src/share/classes/javax/lang/model/util/ElementScanner6.java
src/share/classes/javax/lang/model/util/ElementScanner6.java
+6
-1
src/share/classes/javax/lang/model/util/Elements.java
src/share/classes/javax/lang/model/util/Elements.java
+1
-0
src/share/classes/javax/lang/model/util/Types.java
src/share/classes/javax/lang/model/util/Types.java
+1
-0
未找到文件。
src/share/classes/javax/annotation/processing/SupportedAnnotationTypes.java
浏览文件 @
096a3237
/*
* Copyright (c) 2005, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -47,5 +47,9 @@ import static java.lang.annotation.ElementType.*;
@Target
(
TYPE
)
@Retention
(
RUNTIME
)
public
@interface
SupportedAnnotationTypes
{
String
[]
value
();
/**
* Returns the names of the supported annotation types.
* @return the names of the supported annotation types
*/
String
[]
value
();
}
src/share/classes/javax/annotation/processing/SupportedOptions.java
浏览文件 @
096a3237
/*
* Copyright (c) 2005, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -46,5 +46,9 @@ import static java.lang.annotation.ElementType.*;
@Target
(
TYPE
)
@Retention
(
RUNTIME
)
public
@interface
SupportedOptions
{
String
[]
value
();
/**
* Returns the supported options.
* @return the supported options
*/
String
[]
value
();
}
src/share/classes/javax/annotation/processing/SupportedSourceVersion.java
浏览文件 @
096a3237
/*
* Copyright (c) 2005, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -47,5 +47,9 @@ import javax.lang.model.SourceVersion;
@Target
(
TYPE
)
@Retention
(
RUNTIME
)
public
@interface
SupportedSourceVersion
{
/**
* Returns the latest supported source version.
* @return the latest supported source version
*/
SourceVersion
value
();
}
src/share/classes/javax/lang/model/AnnotatedConstruct.java
浏览文件 @
096a3237
...
...
@@ -51,7 +51,7 @@ import javax.lang.model.type.*;
* <li> for an invocation of {@code getAnnotation(Class<T>)} or
* {@code getAnnotationMirrors()}, <i>E</i>'s annotations contain <i>A</i>.
*
* <li> for an invocation of
getAnnotationsByType(Class<T>)
,
* <li> for an invocation of
{@code getAnnotationsByType(Class<T>)}
,
* <i>E</i>'s annotations either contain <i>A</i> or, if the type of
* <i>A</i> is repeatable, contain exactly one annotation whose value
* element contains <i>A</i> and whose type is the containing
...
...
src/share/classes/javax/lang/model/element/NestingKind.java
浏览文件 @
096a3237
/*
* Copyright (c) 2005, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -82,9 +82,24 @@ package javax.lang.model.element;
* @since 1.6
*/
public
enum
NestingKind
{
/**
* A top-level type, not contained within another type.
*/
TOP_LEVEL
,
/**
* A type that is a named member of another type.
*/
MEMBER
,
/**
* A named type declared within a construct other than a type.
*/
LOCAL
,
/**
* A type without a name.
*/
ANONYMOUS
;
/**
...
...
@@ -92,6 +107,7 @@ public enum NestingKind {
* A <i>nested</i> type element is any that is not top-level.
* An <i>inner</i> type element is any nested type element that
* is not {@linkplain Modifier#STATIC static}.
* @return whether or not the constant is nested
*/
public
boolean
isNested
()
{
return
this
!=
TOP_LEVEL
;
...
...
src/share/classes/javax/lang/model/util/ElementScanner6.java
浏览文件 @
096a3237
/*
* Copyright (c) 2005, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -135,6 +135,9 @@ public class ElementScanner6<R, P> extends AbstractElementVisitor6<R, P> {
/**
* Processes an element by calling {@code e.accept(this, p)};
* this method may be overridden by subclasses.
*
* @param e the element to scan
* @param p a scanner-specified parameter
* @return the result of visiting {@code e}.
*/
public
R
scan
(
Element
e
,
P
p
)
{
...
...
@@ -143,6 +146,8 @@ public class ElementScanner6<R, P> extends AbstractElementVisitor6<R, P> {
/**
* Convenience method equivalent to {@code v.scan(e, null)}.
*
* @param e the element to scan
* @return the result of scanning {@code e}.
*/
public
final
R
scan
(
Element
e
)
{
...
...
src/share/classes/javax/lang/model/util/Elements.java
浏览文件 @
096a3237
...
...
@@ -247,6 +247,7 @@ public interface Elements {
* argument.
*
* @param cs the character sequence to return as a name
* @return a name with the same sequence of characters as the argument
*/
Name
getName
(
CharSequence
cs
);
...
...
src/share/classes/javax/lang/model/util/Types.java
浏览文件 @
096a3237
...
...
@@ -52,6 +52,7 @@ public interface Types {
* Returns {@code null} if the type is not one with a
* corresponding element.
*
* @param t the type to map to an element
* @return the element corresponding to the given type
*/
Element
asElement
(
TypeMirror
t
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录