Class MethodFinder
- java.lang.Object
-
- net.sourceforge.jbizmo.commons.reflect.MethodFinder
-
public class MethodFinder extends Object
Utility class for finding a method by its name and its parameters
Copyright 2010 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodfindMethod(Class<?> cl, String methodName, Object[] params)Find the method
-
-
-
Method Detail
-
findMethod
public static Method findMethod(Class<?> cl, String methodName, Object[] params) throws NoSuchMethodException
Find the method- Parameters:
cl- the classmethodName- the name of the methodparams- the parameters- Returns:
- the method
- Throws:
NoSuchMethodException- if the method could not be found
-
-