Java tutorial
import java.lang.reflect.Modifier; public class Main { public static void main(String... args) throws Exception { System.out.println(Modifier.toString(Modifier.fieldModifiers())); } }