|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.xml.tools.MethodResolver
public class MethodResolver
MethodResolver helper class.
Method Summary | |
---|---|
static String |
extractArgs(String methodName)
extract the part within (). |
static String[] |
extractParameters(String methodName)
extract array of strings encoding in the given method string. |
static Method |
findMethod(Class<?> c,
String methodName)
find a method per name in the given class. |
static Method |
findMethodWithArgs(Class<?> c,
String methodName,
Class<?>... parameters)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Method findMethod(Class<?> c, String methodName)
c
- the class to look formethodName
- the methodName
public static Method findMethodWithArgs(Class<?> c, String methodName, Class<?>... parameters)
public static String[] extractParameters(String methodName)
methodName
- method
public static String extractArgs(String methodName)
methodName
- complete methodname with argument list in ()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |