AnnotationMirror
です。@Deprecated public interface AnnotationMirror
注釈は、参照型等価演算子 (==) を使用して比較してはいけません。特定の注釈が常に同じオブジェクトにより表されるとはかぎりません。
修飾子と型 | メソッドと説明 |
---|---|
AnnotationType |
getAnnotationType()
非推奨。
この注釈の注釈型を返します。
|
Map<AnnotationTypeElementDeclaration,AnnotationValue> |
getElementValues()
非推奨。
この注釈の要素と値を返します。
|
SourcePosition |
getPosition()
非推奨。
この注釈の先頭のソース位置を返します。
|
AnnotationType getAnnotationType()
SourcePosition getPosition()
このソース位置は、診断で使用することを目的としており、注釈が始まる概略の位置だけを示します。
Map<AnnotationTypeElementDeclaration,AnnotationValue> getElementValues()
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.