org.melati.poem.util
Class ClassUtils
java.lang.Object
org.melati.poem.util.ClassUtils
public final class ClassUtils
- extends Object
- Since:
- 15 Jun 2007
- Author:
- timp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getOneArgumentMethods
public static Method[] getOneArgumentMethods(Class<?> clazz,
String methodName)
- Parameters:
clazz
- The class to introspectmethodName
- The name of one argument methods to find
- Returns:
- An array of methods with the given name and one argument
getNoArgMethod
public static Method getNoArgMethod(Class<?> clazz,
String methodName)
- Parameters:
clazz
- The class to introspectmethodName
- The name of the no argument public method to return
- Returns:
- An accessible Method with the given name and no arguments or null
Copyright © 2000-2010 PanEris. All Rights Reserved.