org.stormcat.jvbeans.common.reflect
クラス MethodUtil

java.lang.Object
  上位を拡張 org.stormcat.jvbeans.common.reflect.MethodUtil

public class MethodUtil
extends Object

作成者:
a.yamada

コンストラクタの概要
protected MethodUtil()
           
 
メソッドの概要
static Method getDeclareMethod(Class<?> target, String methodName, Class<?>... parameters)
           
static Method getMethod(Class<?> target, String methodName, Class<?>... parameters)
           
static
<T> T
invoke(Method method, Object target, Class<T> returnType, Object... args)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MethodUtil

protected MethodUtil()
メソッドの詳細

getMethod

public static Method getMethod(Class<?> target,
                               String methodName,
                               Class<?>... parameters)

getDeclareMethod

public static Method getDeclareMethod(Class<?> target,
                                      String methodName,
                                      Class<?>... parameters)

invoke

public static <T> T invoke(Method method,
                           Object target,
                           Class<T> returnType,
                           Object... args)


Copyright © 2009-2011 The Stormcat Project AllRights Reserved.