Пример #1
0
  void resolve(ClassEnv e) {
    e.addCPItem(attr);

    for (Enumeration en = vars.elements(); en.hasMoreElements(); ) {
      LocalVarEntry lv = (LocalVarEntry) (en.nextElement());
      lv.resolve(e);
    }
  }
Пример #2
0
 void write(ClassEnv e, CodeAttr ce, DataOutputStream out) throws IOException, jasError {
   out.writeShort(e.getCPIndex(attr));
   out.writeInt(2 + 10 * (vars.size()));
   out.writeShort(vars.size());
   for (Enumeration en = vars.elements(); en.hasMoreElements(); ) {
     LocalVarEntry lv = (LocalVarEntry) (en.nextElement());
     lv.write(e, ce, out);
   }
 }