JavaTM Platform
Standard Ed. 6

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

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

javax.annotation.processing での AnnotationMirror の使用
 

AnnotationMirror 型のパラメータを持つ javax.annotation.processing のメソッド
 Iterable<? extends Completion> Processor.getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
          ある注釈に対する推奨のコンプリートから成る反復可能オブジェクトを、ツールインフラストラクチャーに返します。
 Iterable<? extends Completion> AbstractProcessor.getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
          コンプリートの空の反復可能オブジェクトを返します。
 void Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a)
          注釈の付いた要素の注釈ミラーの位置における、指定された種類のメッセージを出力します。
 void Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)
          注釈の付いた要素の注釈ミラーに含まれる注釈値の位置における、指定された種類のメッセージを出力します。
 

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

AnnotationMirror 型の引数を持つ型を返す javax.lang.model.element のメソッド
 List<? extends AnnotationMirror> Element.getAnnotationMirrors()
          この要素に直接存在する注釈を返します。
 

AnnotationMirror 型のパラメータを持つ javax.lang.model.element のメソッド
 R AnnotationValueVisitor.visitAnnotation(AnnotationMirror a, P p)
          注釈の注釈値をビジットします。
 

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

AnnotationMirror 型の引数を持つ型を返す javax.lang.model.util のメソッド
 List<? extends AnnotationMirror> Elements.getAllAnnotationMirrors(Element e)
          継承されているか直接存在しているかにかかわらず、要素のすべての注釈を返します。
 

AnnotationMirror 型のパラメータを持つ javax.lang.model.util のメソッド
 Map<? extends ExecutableElement,? extends AnnotationValue> Elements.getElementValuesWithDefaults(AnnotationMirror a)
          デフォルトを含む注釈の要素の値を返します。
 R SimpleAnnotationValueVisitor6.visitAnnotation(AnnotationMirror a, 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 も参照してください。