code: public void update()
    {
      byte []code = new byte[_code.size()];
  
      System.arraycopy(_code.getBuffer(), 0, code, 0, _code.size());
  
      _codeAttr.setCode(code);
  
      if (_changeLength) {
        // XXX: really need more sophisticated solution
        ArrayList<Attribute> attrList = getCodeAttribute().getAttributes();
        for (int i = attrList.size() - 1; i >= 0; i--) {
          Attribute attr = attrList.get(i);
  
          if (attr.getName().equals("LineNumberTable"))
            attrList.remove(i);
        }
      }
    }
docs: Updates the code.