Here you can find the source of invoke(Method method)
public static void invoke(Method method)
//package com.java2s; //License from project: Apache License import java.lang.reflect.Method; public class Main { public static void invoke(Method method) { method.getModifiers();//ww w .jav a 2s.c om } }