public interface AnnotationMirror
注释应该使用equals
方法相比。没有保证任何特定的注释将始终由同一个对象表示。
Modifier and Type | Method and Description |
---|---|
DeclaredType |
getAnnotationType()
返回此注释的类型。
|
Map<? extends ExecutableElement,? extends AnnotationValue> |
getElementValues()
返回此注释元素的值。
|
DeclaredType getAnnotationType()
Map<? extends ExecutableElement,? extends AnnotationValue> getElementValues()
请注意,一个标记注释类型的注释镜像将通过定义有一个空的映射。
填写的默认值,使用getElementValuesWithDefaults
。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.