Mirror API

com.sun.mirror.type
インタフェース AnnotationType

すべてのスーパーインタフェース:
DeclaredType, InterfaceType, ReferenceType, TypeMirror

public interface AnnotationType
extends InterfaceType

注釈型を表します。

導入されたバージョン:
1.5

メソッドの概要
 AnnotationTypeDeclaration getDeclaration()
          この型の宣言を返します。
 
インタフェース com.sun.mirror.type.DeclaredType から継承されたメソッド
getActualTypeArguments, getContainingType, getSuperinterfaces
 
インタフェース com.sun.mirror.type.TypeMirror から継承されたメソッド
accept, equals, toString
 

メソッドの詳細

getDeclaration

AnnotationTypeDeclaration getDeclaration()
この型の宣言を返します。

この型の宣言が不明な場合は null を返します。不明な型の宣言は、クラスファイルの不足など、処理エラーに起因する可能性があります。

定義:
インタフェース DeclaredType 内の getDeclaration
定義:
インタフェース InterfaceType 内の getDeclaration
戻り値:
この型の宣言、不明な場合は null

Mirror API

バグや機能要求の報告
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.