Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
e43fa947
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e43fa947
编写于
2月 28, 2012
作者:
D
darcy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7149626: (reflect) Improve javadoc of java.lang.reflect.Executable
Reviewed-by: mduigou
上级
d3874c77
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
14 deletion
+14
-14
src/share/classes/java/lang/reflect/Executable.java
src/share/classes/java/lang/reflect/Executable.java
+14
-14
未找到文件。
src/share/classes/java/lang/reflect/Executable.java
浏览文件 @
e43fa947
...
@@ -180,7 +180,7 @@ public abstract class Executable extends AccessibleObject
...
@@ -180,7 +180,7 @@ public abstract class Executable extends AccessibleObject
/**
/**
* Returns the {@code Class} object representing the class or interface
* Returns the {@code Class} object representing the class or interface
* that declares the
method represented by this executable
object.
* that declares the
executable represented by this
object.
*/
*/
public
abstract
Class
<?>
getDeclaringClass
();
public
abstract
Class
<?>
getDeclaringClass
();
...
@@ -215,18 +215,18 @@ public abstract class Executable extends AccessibleObject
...
@@ -215,18 +215,18 @@ public abstract class Executable extends AccessibleObject
* Returns an array of {@code Class} objects that represent the formal
* Returns an array of {@code Class} objects that represent the formal
* parameter types, in declaration order, of the executable
* parameter types, in declaration order, of the executable
* represented by this object. Returns an array of length
* represented by this object. Returns an array of length
* 0 if the underlying
method
takes no parameters.
* 0 if the underlying
executable
takes no parameters.
*
*
* @return the parameter types for the
method
this object
* @return the parameter types for the
executable
this object
* represents
* represents
*/
*/
public
abstract
Class
<?>[]
getParameterTypes
();
public
abstract
Class
<?>[]
getParameterTypes
();
/**
/**
* Returns an array of {@code Type} objects that represent the formal
* Returns an array of {@code Type} objects that represent the formal
* parameter types, in declaration order, of the
method
represented by
* parameter types, in declaration order, of the
executable
represented by
* this
executable
object. Returns an array of length 0 if the
* this object. Returns an array of length 0 if the
* underlying
method
takes no parameters.
* underlying
executable
takes no parameters.
*
*
* <p>If a formal parameter type is a parameterized type,
* <p>If a formal parameter type is a parameterized type,
* the {@code Type} object returned for it must accurately reflect
* the {@code Type} object returned for it must accurately reflect
...
@@ -236,16 +236,16 @@ public abstract class Executable extends AccessibleObject
...
@@ -236,16 +236,16 @@ public abstract class Executable extends AccessibleObject
* type, it is created. Otherwise, it is resolved.
* type, it is created. Otherwise, it is resolved.
*
*
* @return an array of {@code Type}s that represent the formal
* @return an array of {@code Type}s that represent the formal
* parameter types of the underlying
method
, in declaration order
* parameter types of the underlying
executable
, in declaration order
* @throws GenericSignatureFormatError
* @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format
* if the generic method signature does not conform to the format
* specified in
* specified in
* <cite>The Java™ Virtual Machine Specification</cite>
* <cite>The Java™ Virtual Machine Specification</cite>
* @throws TypeNotPresentException if any of the parameter
* @throws TypeNotPresentException if any of the parameter
* types of the underlying
method
refers to a non-existent type
* types of the underlying
executable
refers to a non-existent type
* declaration
* declaration
* @throws MalformedParameterizedTypeException if any of
* @throws MalformedParameterizedTypeException if any of
* the underlying
method
's parameter types refer to a parameterized
* the underlying
executable
's parameter types refer to a parameterized
* type that cannot be instantiated for any reason
* type that cannot be instantiated for any reason
*/
*/
public
Type
[]
getGenericParameterTypes
()
{
public
Type
[]
getGenericParameterTypes
()
{
...
@@ -277,15 +277,15 @@ public abstract class Executable extends AccessibleObject
...
@@ -277,15 +277,15 @@ public abstract class Executable extends AccessibleObject
* type, it is created. Otherwise, it is resolved.
* type, it is created. Otherwise, it is resolved.
*
*
* @return an array of Types that represent the exception types
* @return an array of Types that represent the exception types
* thrown by the underlying
method
* thrown by the underlying
executable
* @throws GenericSignatureFormatError
* @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format
* if the generic method signature does not conform to the format
* specified in
* specified in
* <cite>The Java™ Virtual Machine Specification</cite>
* <cite>The Java™ Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the underlying
method
's
* @throws TypeNotPresentException if the underlying
executable
's
* {@code throws} clause refers to a non-existent type declaration
* {@code throws} clause refers to a non-existent type declaration
* @throws MalformedParameterizedTypeException if
* @throws MalformedParameterizedTypeException if
* the underlying
method
's {@code throws} clause refers to a
* the underlying
executable
's {@code throws} clause refers to a
* parameterized type that cannot be instantiated for any reason
* parameterized type that cannot be instantiated for any reason
*/
*/
public
Type
[]
getGenericExceptionTypes
()
{
public
Type
[]
getGenericExceptionTypes
()
{
...
@@ -330,7 +330,7 @@ public abstract class Executable extends AccessibleObject
...
@@ -330,7 +330,7 @@ public abstract class Executable extends AccessibleObject
* Returns an array of arrays that represent the annotations on
* Returns an array of arrays that represent the annotations on
* the formal parameters, in declaration order, of the executable
* the formal parameters, in declaration order, of the executable
* represented by this object. (Returns an array of length zero if
* represented by this object. (Returns an array of length zero if
* the underlying
method
is parameterless. If the executable has
* the underlying
executable
is parameterless. If the executable has
* one or more parameters, a nested array of length zero is
* one or more parameters, a nested array of length zero is
* returned for each parameter with no annotations.) The
* returned for each parameter with no annotations.) The
* annotation objects contained in the returned arrays are
* annotation objects contained in the returned arrays are
...
@@ -339,7 +339,7 @@ public abstract class Executable extends AccessibleObject
...
@@ -339,7 +339,7 @@ public abstract class Executable extends AccessibleObject
* to other callers.
* to other callers.
*
*
* @return an array of arrays that represent the annotations on the formal
* @return an array of arrays that represent the annotations on the formal
* parameters, in declaration order, of the exec
tu
able represented by this
* parameters, in declaration order, of the exec
ut
able represented by this
* object
* object
*/
*/
public
abstract
Annotation
[][]
getParameterAnnotations
();
public
abstract
Annotation
[][]
getParameterAnnotations
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录