/** Sets the ContantValue attribute for this field.
@param val The value to set this field to. Must be an Integer, Long, Float, Double, or String */
public void setConstantValue(Object val) {
if((flags & ACC_STATIC) == 0) throw new IllegalStateException("field does not have the ACC_STATIC bit set");
/** Sets the ContantValue attribute for this field.
@param val The value to set this field to. Must be an Integer, Long, Float, Double, or String */
public void setConstantValue(Object val) {
if((flags & ACC_STATIC) == 0) throw new IllegalStateException("field does not have the ACC_STATIC bit set");