Java通过反射获取一个类里的静态常量
public class FieldReflactTest{ public static final String a="test"; protected int b; private int c; String d; public static void main(String[] args){ Field[] fields=FieldReflactTest.class.getDeclaredFields(); for(Field f