org.ashikunep.irenka.dom
インタフェース CtAnnotationInstance<A extends Annotation>

型パラメータ:
A - 注釈の実行時型
すべてのスーパーインタフェース:
ClientStorageContainer, CtElement, CtExpression<A>, CtModifierOrAnnotation

public interface CtAnnotationInstance<A extends Annotation>
extends CtExpression<A>, CtModifierOrAnnotation

注釈。

バージョン:
$Date: 2008-02-12 12:35:47 +0900 (火, 12 2月 2008) $
作成者:
Suguru ARAKAWA (Gluegent, Inc.)

メソッドの概要
<T> CtAnnotationInstanceElement<T>
getElement(Class<T> type, String name)
          指定の名前を持つ要素を返す。
 CtAnnotationInstanceElement<?> getElement(String name)
          指定の名前を持つ要素を返す。
 List<CtAnnotationInstanceElement<?>> getElements()
          この注釈が持つ各要素を返す。
 CtAnnotation<A> getType()
          この注釈の宣言を返す。
 Map<String,CtExpression<?>> getValueMap()
          この注釈が持つ各要素を返す。
 
インタフェース org.ashikunep.irenka.dom.CtExpression から継承されたメソッド
as, as, evalType
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 
インタフェース org.ashikunep.irenka.dom.CtModifierOrAnnotation から継承されたメソッド
isAnnotation, isModifier
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 

メソッドの詳細

getType

CtAnnotation<A> getType()
この注釈の宣言を返す。

戻り値:
この注釈の宣言

getElements

List<CtAnnotationInstanceElement<?>> getElements()
この注釈が持つ各要素を返す。 省略された要素については含まれない。

戻り値:
この注釈が持つ各要素

getElement

CtAnnotationInstanceElement<?> getElement(String name)
指定の名前を持つ要素を返す。

パラメータ:
name - 要素の名前
戻り値:
対象の要素、存在しない場合はnull

getElement

<T> CtAnnotationInstanceElement<T> getElement(Class<T> type,
                                              String name)
指定の名前を持つ要素を返す。

型パラメータ:
T - 要素の型
パラメータ:
type - 要素の型
name - 要素の名前
戻り値:
対象の要素、存在しない場合はnull

getValueMap

@Unmodifiable
Map<String,CtExpression<?>> getValueMap()
この注釈が持つ各要素を返す。 default指定された要素のうち、省略された要素についてもその規定値が含まれる。

戻り値:
この注釈が持つ各要素


Copyright 2007 the Seasar Foundation and the Others.