|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.sourceforge.greflect.Reflection.Caster<T>
public abstract class Reflection.Caster<T>
[ungeneric]
Caster cast ungeneric object to specified generic type
Casterはアンジェネリックオブジェクトを指定された型にキャストします。
.
T: @lang ja このクラスの基本的な使用方法を知るには How To Create Instance を見てください。
| Constructor Summary | |
|---|---|
Reflection.Caster(java.lang.Object instance)
Prepares to execute the method by checking the number of parameters and the validity of the generic types パラメタ数とジェネリックタイプの妥当性をチェックし、 インスタンスをキャストします。 . |
|
| Method Summary | |
|---|---|
T |
cast()
Gets caster instance キャストしたインスタンスを取得します。 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reflection.Caster(java.lang.Object instance)
throws TypeViolationException,
java.lang.NullPointerException
UnresolvedTypeVariableException will be thrown.
@lang ja
instanceはアンジェネリックインスタンスである必要があります。
もしそうでないなら、UnresolvedTypeVariableExceptionが
スローされます。
instance - Ungeneric instance to be casted.
TypeViolationException
java.lang.NullPointerException| Method Detail |
|---|
public T cast()
|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||