AnnotationValue
です。@Deprecated public interface AnnotationValue
修飾子と型 | メソッドと説明 |
---|---|
SourcePosition |
getPosition()
非推奨。
この注釈の値の先頭のソース位置を返します。
|
Object |
getValue()
非推奨。
値を返します。
|
String |
toString()
非推奨。
この値の文字列表現を返します。
|
Object getValue()
Integer
など)
String
TypeMirror
EnumConstantDeclaration
AnnotationMirror
Collection<AnnotationValue>
(値が配列である場合は、順番に要素を表す)
SourcePosition getPosition()
このソース位置は、診断で使用することを目的としており、注釈の値が始まる概略の位置だけを示します。
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.