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