code: public void putStaticField(VariableElement field) throws IOException
      {
          if (!field.getModifiers().contains(Modifier.STATIC))
          {
              throw new IllegalArgumentException(field+" is not static");
          }
          int index = subClass.resolveFieldIndex(field);
          putstatic(index);
      }
docs: Set static field in object
  <p>Stack: ..., objectref, value =&gt; ...
  @param field
  @throws java.io.IOException