|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb3.interceptors.lang.ClassHelper
public class ClassHelper
Methods which should have been in Class.
| Constructor Summary | |
|---|---|
ClassHelper()
|
|
| Method Summary | |
|---|---|
static Method[] |
getAllMethods(Class<?> cls)
Returns all public, private and package protected methods including inherited ones. |
static Map<String,List<Method>> |
getAllMethodsMap(Class<?> cls)
Returns all public, private and package protected methods including inherited ones in a map indexed by name. |
static Method |
getMethod(Class<?> cls,
String methodName)
Returns the method with the specified method name. |
static Method |
getMethod(Class<?> cls,
String methodName,
Class<?>... params)
Returns the method with the specified method name and parameters. |
static boolean |
isOverridden(Class<?> icptr,
Method method)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassHelper()
| Method Detail |
|---|
public static Method[] getAllMethods(Class<?> cls)
cls -
public static Method getMethod(Class<?> cls,
String methodName)
throws NoSuchMethodException
methodName -
NoSuchMethodException
public static Method getMethod(Class<?> cls,
String methodName,
Class<?>... params)
throws NoSuchMethodException
cls - methodName - params -
NoSuchMethodExceptionpublic static Map<String,List<Method>> getAllMethodsMap(Class<?> cls)
cls -
public static boolean isOverridden(Class<?> icptr,
Method method)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||