JavaTM Platform
Standard Ed. 6

インタフェース
javax.lang.model.element.AnnotationValue の使用

AnnotationValue を使用しているパッケージ
javax.annotation.processing 注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境と通信できるようにするための機能。 
javax.lang.model.element Java プログラミング言語の要素をモデル化するために使用されるインタフェースです。 
javax.lang.model.util プログラム要素の処理を支援するユーティリティーです。 
 

javax.annotation.processing での AnnotationValue の使用
 

AnnotationValue 型のパラメータを持つ javax.annotation.processing のメソッド
 void Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)
          注釈の付いた要素の注釈ミラーに含まれる注釈値の位置における、指定された種類のメッセージを出力します。
 

javax.lang.model.element での AnnotationValue の使用
 

AnnotationValue を返す javax.lang.model.element のメソッド
 AnnotationValue ExecutableElement.getDefaultValue()
          この実行可能ファイルが注釈型要素である場合は、デフォルト値を返します。
 AnnotationValue UnknownAnnotationValueException.getUnknownAnnotationValue()
          未知の注釈値を返します。
 

AnnotationValue 型の引数を持つ型を返す javax.lang.model.element のメソッド
 Map<? extends ExecutableElement,? extends AnnotationValue> AnnotationMirror.getElementValues()
          注釈の要素の値を返します。
 

AnnotationValue 型のパラメータを持つ javax.lang.model.element のメソッド
 R AnnotationValueVisitor.visit(AnnotationValue av)
          v.visit(av, null) と同等の簡易メソッドです。
 R AnnotationValueVisitor.visit(AnnotationValue av, P p)
          注釈値をビジットします。
 R AnnotationValueVisitor.visitUnknown(AnnotationValue av, P p)
          未知の種類の注釈値をビジットします。
 

AnnotationValue 型の型引数を持つ javax.lang.model.element のメソッドパラメータ
 R AnnotationValueVisitor.visitArray(List<? extends AnnotationValue> vals, P p)
          注釈の配列値をビジットします。
 

AnnotationValue 型のパラメータを持つ javax.lang.model.element のコンストラクタ
UnknownAnnotationValueException(AnnotationValue av, Object p)
          新しい UnknownAnnotationValueException を作成します。
 

javax.lang.model.util での AnnotationValue の使用
 

AnnotationValue 型の引数を持つ型を返す javax.lang.model.util のメソッド
 Map<? extends ExecutableElement,? extends AnnotationValue> Elements.getElementValuesWithDefaults(AnnotationMirror a)
          デフォルトを含む注釈の要素の値を返します。
 

AnnotationValue 型のパラメータを持つ javax.lang.model.util のメソッド
 R AbstractAnnotationValueVisitor6.visit(AnnotationValue av)
          注釈値の accept メソッドに自身を渡し、追加のパラメータに null を渡すかのようにして、その注釈値をビジットします。
 R AbstractAnnotationValueVisitor6.visit(AnnotationValue av, P p)
          注釈値の accept に自身を渡すかのようにして、その注釈値をビジットします。
 R AbstractAnnotationValueVisitor6.visitUnknown(AnnotationValue av, P p)
          未知の種類の注釈値をビジットします。
 

AnnotationValue 型の型引数を持つ javax.lang.model.util のメソッドパラメータ
 R SimpleAnnotationValueVisitor6.visitArray(List<? extends AnnotationValue> vals, P p)
          注釈の配列値をビジットします。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。