|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.sourceforge.greflect.Reflection.Instantiator<T>
public abstract class Reflection.Instantiator<T>
[ungeneric]
Instantiator creates a ungeneric object of the specified type
Instantiatorは指定された型のアンジェネリックオブジェクトを生成します。
.
T: BytecodeGeneratorCloassLoader
@lang ja バイトコード生成することでアンジェネリックなクラスを作成し、そのインスタンスを生成する。
Param
@lang ja コンストラクタにパラメータを指定する。
@lang ja このクラスの基本的な使用方法を知るには How To Create Instance を見てください。
| Constructor Summary | |
|---|---|
Reflection.Instantiator(Param<?> instype,
java.lang.reflect.Constructor<?> cst,
Param<?>... args)
Prepares to generate the instance by checking the number of parameters and the validity of the generic types パラメタ数とジェネリックタイプの妥当性をチェックすることによって、 インスタンスを生成する準備をします。 . |
|
Reflection.Instantiator(Param<?> instype,
Param<?>... args)
Prepares to generate the instance by checking the number of parameters and the validity of the generic types パラメタ数とジェネリックタイプの妥当性をチェックする ことによって、インスタンスを生成する準備をします。 . |
|
| Method Summary | |
|---|---|
T |
instantiate()
Create a instance インスタンスを生成します。 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reflection.Instantiator(Param<?> instype,
Param<?>... args)
throws java.lang.SecurityException,
java.lang.ClassNotFoundException,
TypeViolationException,
java.lang.IllegalArgumentException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException
Param. UngenericParam of ungeneric object.UnresolvedTypeVariableException will be thrown.
@lang ja
instypeおよびargsは以下のいずれかである必要があります。UngenericParam
インスタンスであるUnresolvedTypeVariableExceptionが
スローされます。
instype - the type of instance to create.
args - the parameters of constructor.
java.lang.SecurityException
java.lang.ClassNotFoundException
TypeViolationException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.NoSuchMethodException
public Reflection.Instantiator(Param<?> instype,
java.lang.reflect.Constructor<?> cst,
Param<?>... args)
throws java.lang.SecurityException,
java.lang.ClassNotFoundException,
TypeViolationException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException
T is used to fix generic type.
このコンストラクタでは型変数Tを使ってジェネリック型を決定します。
Param. UngenericParam of ungeneric object.UnresolvedTypeVariableException will be thrown.
@lang ja
instypeおよびargsは以下のいずれかである必要があります。ParamのアンジェネリックインスタンスであるUngenericParam
インスタンスであるUnresolvedTypeVariableExceptionが
スローされます。
instype - the type of instance to create.
cst - the constructor to invoke.
args - the parameters of constructor.
java.lang.SecurityException
java.lang.ClassNotFoundException
TypeViolationException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException| Method Detail |
|---|
public T instantiate()
throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||