Mirror API

com.sun.mirror.declaration
インタフェース AnnotationTypeElementDeclaration

すべてのスーパーインタフェース:
Declaration, ExecutableDeclaration, MemberDeclaration, MethodDeclaration

public interface AnnotationTypeElementDeclaration
extends MethodDeclaration

注釈型の要素を表します。

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

メソッドの概要
 AnnotationTypeDeclaration getDeclaringType()
          このメンバまたはコンストラクタが内部で宣言された型宣言を返します。
 AnnotationValue getDefaultValue()
          この要素のデフォルト値を返します。
 
インタフェース com.sun.mirror.declaration.MethodDeclaration から継承されたメソッド
getReturnType
 
インタフェース com.sun.mirror.declaration.ExecutableDeclaration から継承されたメソッド
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs
 
インタフェース com.sun.mirror.declaration.Declaration から継承されたメソッド
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

メソッドの詳細

getDefaultValue

AnnotationValue getDefaultValue()
この要素のデフォルト値を返します。

戻り値:
この要素のデフォルト値、デフォルト値がない場合は null

getDeclaringType

AnnotationTypeDeclaration getDeclaringType()
このメンバまたはコンストラクタが内部で宣言された型宣言を返します。この宣言がトップレベルの型 (入れ子になったクラスまたはインタフェース) の宣言である場合は null を返します。

定義:
インタフェース MemberDeclaration 内の getDeclaringType
戻り値:
このメンバまたはコンストラクタが内部で宣言された型宣言、ない場合は null

Mirror API

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