|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface ExecutableType
表示 executable 的类型。executable 是一个方法、构造方法或初始化程序。
当 executable 被视为某种引用类型的方法(或者构造方法或初始值)时,executable 被表示为它们。如果该引用类型已被参数化,则其实际类型参数将被替换为此接口的方法所返回的任何类型。
ExecutableElement| 方法摘要 | |
|---|---|
List<? extends TypeMirror> |
getParameterTypes()
返回此 executable 的形参类型。 |
TypeMirror |
getReturnType()
返回此 executable 的返回类型。 |
List<? extends TypeMirror> |
getThrownTypes()
返回此 executable 的 throws 子句中列出的异常和其他 throwable。 |
List<? extends TypeVariable> |
getTypeVariables()
返回由此 executable 的形式类型参数所声明的类型变量。 |
| 从接口 javax.lang.model.type.TypeMirror 继承的方法 |
|---|
accept, equals, getKind, hashCode, toString |
| 方法详细信息 |
|---|
List<? extends TypeVariable> getTypeVariables()
TypeMirror getReturnType()
VOID 的 NoType。
List<? extends TypeMirror> getParameterTypes()
List<? extends TypeMirror> getThrownTypes()
throws 子句中列出的异常和其他 throwable。
throws 子句中列出的异常和其他 throwable;如果没有,则返回一个空列表
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。