Class ClassUtil
- java.lang.Object
- 
- org.eclipse.ecf.core.util.reflection.ClassUtil
 
- 
 public class ClassUtil extends Object - Since:
- 3.3
 
- 
- 
Constructor SummaryConstructors Constructor Description ClassUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodgetDeclaredMethod(Class aClass, String aMethodName, Class[] someParameterTypes)static MethodgetMethod(Class aClass, String aMethodName, Class[] someParameterTypes)
 
- 
- 
- 
Method Detail- 
getMethodpublic static Method getMethod(Class aClass, String aMethodName, Class[] someParameterTypes) throws NoSuchMethodException - Parameters:
- aClass- The Class providing method under question (Must not be null)
- aMethodName- The method name to search for (Must not be null)
- someParameterTypes- Method arguments (May be null or parameters)
- Returns:
- A match. If more than one method matched (due to overloading) an arbitrary match is taken
- Throws:
- NoSuchMethodException- If a match cannot be found
 
 - 
getDeclaredMethodpublic static Method getDeclaredMethod(Class aClass, String aMethodName, Class[] someParameterTypes) throws NoSuchMethodException - Parameters:
- aClass- The Class providing method under question (Must not be null)
- aMethodName- The method name to search for (Must not be null)
- someParameterTypes- Method arguments (May be null or parameters)
- Returns:
- A match. If more than one method matched (due to overloading) an arbitrary match is taken
- Throws:
- NoSuchMethodException- If a match cannot be found
 
 
- 
 
-