public void addStaticField(EncodedField field,Constant value){
  if (field == null) {
    throw new NullPointerException("field == null");
  }
  if (staticValuesConstant != null) {
    throw new UnsupportedOperationException("static fields already sorted");
  }
  staticFields.add(field);
  staticValues.put(field,value);
}

public void addStaticField ( EncodedField field , Constant value ) { if ( field == null ) { throw new NullPointerException ( "field == null" ) ; } if ( staticValuesConstant != null ) { throw new UnsupportedOperationException ( "static fields already sorted" ) ; } staticFields . add ( field ) ; staticValues . put ( field , value ) ; }
adds a static field .
