|
greflect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.sourceforge.greflect.Reflection.Invoker<T>
public abstract class Reflection.Invoker<T>
[ungeneric]
Invoker invoke the method of the specified instance
Invokerは指定されたインスタンスのメソッドを呼び出します。
.
T: Param
@lang ja @lang ja コンストラクタにパラメータを指定する。
@lang ja このクラスの基本的な使用方法を知るには How To Invoke Method を見てください。
| Constructor Summary | |
|---|---|
Reflection.Invoker(Param<?> instance,
java.lang.reflect.Method method,
Param<?>... args)
Prepares to execute the method by checking the number of parameters and the validity of the generic types パラメタ数とジェネリックタイプの妥当性をチェックする ことによって、メソッドを実行する準備をします。 . |
|
Reflection.Invoker(Param<?> instance,
java.lang.String methodName,
Param<?>... args)
Prepares to execute the method by checking the number of parameters and the validity of the generic types パラメタ数とジェネリックタイプの妥当性をチェックする ことによって、メソッドを実行する準備をします。 . |
|
| Method Summary | |
|---|---|
T |
invoke()
Invoke the method メソッドを実行します。 . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reflection.Invoker(Param<?> instance,
java.lang.String methodName,
Param<?>... args)
throws TypeViolationException,
java.lang.NoSuchMethodException,
java.lang.SecurityException,
java.lang.IllegalAccessException
Param. UngenericParam of ungeneric object.UnresolvedTypeVariableException will be thrown.
@lang ja
instanceおよびargsは以下のいずれかである必要があります。ParamのアンジェネリックインスタンスであるUngenericParam
インスタンスであるUnresolvedTypeVariableExceptionが
スローされます。
instance - instance to invoke the method.
methodName - method name to invoke.
args - The parametes of the method.
TypeViolationException
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.IllegalAccessException
public Reflection.Invoker(Param<?> instance,
java.lang.reflect.Method method,
Param<?>... args)
throws TypeViolationException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException
Param. UngenericParam of ungeneric object.UnresolvedTypeVariableException will be thrown.
@lang ja
instanceおよびargsは以下のいずれかである必要があります。ParamのアンジェネリックインスタンスであるUngenericParam
インスタンスであるUnresolvedTypeVariableExceptionが
スローされます。
instance - instance to invoke the method.
method - method to invoke.
args - The parametes of the method.
TypeViolationException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException - When the class declaring the static method is specified with type parameters.
| Method Detail |
|---|
public T invoke()
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 | |||||||||