Java Reflection Method Name getMethod(Class cls, String methodName, Class[] params)

Here you can find the source of getMethod(Class cls, String methodName, Class[] params)

Description

get Method

License

Open Source License

Declaration

public static Method getMethod(Class cls, String methodName, Class[] params) throws NoSuchMethodException 

Method Source Code


//package com.java2s;
import java.lang.reflect.*;

public class Main {
    public static Method getMethod(Class cls, String methodName, Class[] params) throws NoSuchMethodException {
        return cls.getMethod(methodName, params);
    }/*from www  . ja  va2 s. co m*/
}

Related

  1. getMethod(Class clazz, String methodName, Class argType)
  2. getMethod(Class clazz, String methodName, Class[] classes)
  3. getMethod(Class clazz, String methodName, Class[] params)
  4. getMethod(Class clazz, String name)
  5. getMethod(Class clazz, String name, Class... args)
  6. getMethod(Class clz, String methodName, Class expectedTypes[])
  7. getMethod(Class klazz, String[] methodNames, int argCount)
  8. getMethod(Class objClass, String methodName, Class argClass)
  9. getMethod(Class serviceClass, String methodName, Class... mapClass)