@Deprecated
    public void set(String name, int i) {
        ConstantField constant = constants.get(name);
        ((IntConstantField) constant).set(i);
    }
@ Deprecated public void set ( String name , int i ) { ConstantField constant = constants . get ( name ) ; ( ( IntConstantField ) constant ) . set ( i ) ; }
Set an integer field with name given.
@deprecated design flaw - cannot support all types of fields like this. Get the field from the list of fields and set it from there.