|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface AnnotationMirror
表示一个注释。注释将值与注释类型的每个元素关联。
注释应该使用 equals 方法进行比较。不保证总是使用相同的对象表示某个特定的注释。
| 方法摘要 | |
|---|---|
DeclaredType |
getAnnotationType()
返回此注释的类型。 |
Map<? extends ExecutableElement,? extends AnnotationValue> |
getElementValues()
返回此注释元素的值。 |
| 方法详细信息 |
|---|
DeclaredType getAnnotationType()
Map<? extends ExecutableElement,? extends AnnotationValue> getElementValues()
注意,标记注释类型的注释镜像将被定义为有一个空映射。
要使用默认值进行填充,可以使用 getElementValuesWithDefaults。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。