org.seasar.framework.util
クラス MethodUtil

java.lang.Object
  拡張org.seasar.framework.util.MethodUtil

public final class MethodUtil
extends Object

作成者:
higa

フィールドの概要
protected static Method GET_ELEMENT_TYPE_FROM_PARAMETER_METHOD
           
protected static Method GET_ELEMENT_TYPE_FROM_RETURN_METHOD
           
protected static String REFLECTION_UTIL_CLASS_NAME
           
 
メソッドの概要
protected static Method getElementTypeOfListFromParameterMethod()
           
static Class getElementTypeOfListFromParameterType(Method method, int position)
           
protected static Method getElementTypeOfListFromReturnMethod()
           
static Class getElementTypeOfListFromReturnType(Method method)
           
static String getSignature(String methodName, Class[] argTypes)
           
static String getSignature(String methodName, Object[] methodArgs)
           
static Object invoke(Method method, Object target, Object[] args)
           
static boolean isAbstract(Method method)
           
static boolean isBridgeMethod(Method method)
           
static boolean isEqualsMethod(Method method)
           
static boolean isHashCodeMethod(Method method)
           
static boolean isSyntheticMethod(Method method)
           
static boolean isToStringMethod(Method method)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

REFLECTION_UTIL_CLASS_NAME

protected static final String REFLECTION_UTIL_CLASS_NAME
関連項目:
定数フィールド値

GET_ELEMENT_TYPE_FROM_PARAMETER_METHOD

protected static final Method GET_ELEMENT_TYPE_FROM_PARAMETER_METHOD

GET_ELEMENT_TYPE_FROM_RETURN_METHOD

protected static final Method GET_ELEMENT_TYPE_FROM_RETURN_METHOD
メソッドの詳細

invoke

public static Object invoke(Method method,
                            Object target,
                            Object[] args)
                     throws InstantiationRuntimeException,
                            IllegalAccessRuntimeException
例外:
InstantiationRuntimeException
IllegalAccessRuntimeException

isAbstract

public static boolean isAbstract(Method method)

getSignature

public static String getSignature(String methodName,
                                  Class[] argTypes)

getSignature

public static String getSignature(String methodName,
                                  Object[] methodArgs)

isEqualsMethod

public static boolean isEqualsMethod(Method method)

isHashCodeMethod

public static boolean isHashCodeMethod(Method method)

isToStringMethod

public static boolean isToStringMethod(Method method)

isBridgeMethod

public static boolean isBridgeMethod(Method method)

isSyntheticMethod

public static boolean isSyntheticMethod(Method method)

getElementTypeOfListFromParameterType

public static Class getElementTypeOfListFromParameterType(Method method,
                                                          int position)

getElementTypeOfListFromReturnType

public static Class getElementTypeOfListFromReturnType(Method method)

getElementTypeOfListFromParameterMethod

protected static Method getElementTypeOfListFromParameterMethod()

getElementTypeOfListFromReturnMethod

protected static Method getElementTypeOfListFromReturnMethod()


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.