Java Reflection Modifier class modifiers list
import java.lang.reflect.Modifier; public class Main { public static void main(String args[]) throws Exception { System.out.println("Class modifiers:" + Modifier.toString(Modifier.classModifiers())); }/* ww w . ja va 2 s . c o m*/ }