Java Reflection Modifier method modifiers list
import java.lang.reflect.Modifier; public class Main { public static void main(String args[]) throws Exception { System.out.println("Method modifiers:" + Modifier.toString(Modifier.methodModifiers())); }/*from w w w . j ava2s.c o m*/ }