org.ashikunep.irenka.dom
インタフェース CtNewInstance<T>

型パラメータ:
T - 生成するインスタンスの型
すべてのスーパーインタフェース:
ClientStorageContainer, CtElement, CtExpression<T>, CtExpressionStatement<T>, CtInvocation<T>, CtStatement

public interface CtNewInstance<T>
extends CtInvocation<T>

インスタンス生成式、インスタンス生成文。

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

メソッドの概要
 CtClass<?> getBody()
          匿名クラスが宣言されている場合、匿名クラスの宣言を表す。
 CtConstructor<T> getTarget()
          呼び出し対象を返す。
 CtClass<T> getType()
          インスタンスを生成する対象のクラス型を返す。
 
インタフェース org.ashikunep.irenka.dom.CtInvocation から継承されたメソッド
getArguments, getQualifier
 
インタフェース 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.CtStatement から継承されたメソッド
getLabels, substituteAsBlock
 
インタフェース 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
 

メソッドの詳細

getTarget

CtConstructor<T> getTarget()
インタフェース CtInvocation の記述:
呼び出し対象を返す。

定義:
インタフェース CtInvocation<T> 内の getTarget
戻り値:
呼び出し対象

getType

CtClass<T> getType()
インスタンスを生成する対象のクラス型を返す。

戻り値:
インスタンスを生成する対象のクラス型

getBody

@Ignorable
CtClass<?> getBody()
匿名クラスが宣言されている場合、匿名クラスの宣言を表す。

戻り値:
匿名クラスブロック


Copyright 2007 the Seasar Foundation and the Others.