org.exolab.jms.net.util
Class MethodHelper
java.lang.Object
|
+--org.exolab.jms.net.util.MethodHelper
- public final class MethodHelper
- extends java.lang.Object
Helper class for performing reflection.
- Version:
- $Revision: 1.2 $ $Date: 2005/04/02 13:47:16 $
- Author:
- Tim Anderson
Method Summary |
static java.lang.reflect.Method[] |
getAllInterfaceMethods(java.lang.Class clazz)
Returns all the interface-declared methods of a class. |
static java.lang.Class[] |
getAllInterfaces(java.lang.Class clazz)
Returns all of the interfaces implemented by a class. |
static java.lang.reflect.Method[] |
getInterfaceMethods(java.lang.Class clazz)
Returns the interface-declared methods of a class. |
static long |
getMethodID(java.lang.reflect.Method method)
Calculates a unique identifier for a method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAllInterfaceMethods
public static java.lang.reflect.Method[] getAllInterfaceMethods(java.lang.Class clazz)
- Returns all the interface-declared methods of a class.
This includes those implemented by superclasses.
- Parameters:
clazz
- the class- Returns:
- a list of the interface-declared methods for
clazz
getInterfaceMethods
public static java.lang.reflect.Method[] getInterfaceMethods(java.lang.Class clazz)
- Returns the interface-declared methods of a class.
- Parameters:
clazz
- the class- Returns:
- a list of the interface-declared methods for
clazz
getMethodID
public static long getMethodID(java.lang.reflect.Method method)
- Calculates a unique identifier for a method. The identifier is unique
within the declaring class.
- Parameters:
method
- the method- Returns:
- a unique identifier for
method
getAllInterfaces
public static java.lang.Class[] getAllInterfaces(java.lang.Class clazz)
- Returns all of the interfaces implemented by a class.
- Parameters:
clazz
- the class- Returns:
- a list of the interfaces implemented by the class.
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.