|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface TypeParameterElement
表示一般类、接口、方法或构造方法元素的形式类型参数。类型参数声明一个 TypeVariable。
TypeVariable| 方法摘要 | |
|---|---|
List<? extends TypeMirror> |
getBounds()
返回此类型参数的边界。 |
Element |
getGenericElement()
返回由此类型参数参数化的一般类、接口、方法或构造方法。 |
| 从接口 javax.lang.model.element.Element 继承的方法 |
|---|
accept, asType, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode |
| 方法详细信息 |
|---|
Element getGenericElement()
List<? extends TypeMirror> getBounds()
extends 子句所指定的类型。如果没有使用显式的 extends 子句,则认为 java.lang.Object 是唯一的边界。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。