Java Reflection Modifier field 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.fieldModifiers())); }/* ww w .java2s . c o m*/ }