javassist
javassist copied to clipboard
How to get the value of a field if it is not a constant field?
public class TestBean {
public static final int[] test = new int[]{1,2,3};
}
How to get the value of test? CtField.getConstantValue() return null if the field type is a primitive type.