public void visitCode(Code code) { stack.push(code); code.accept(visitor); CodeException[] table = code.getExceptionTable(); for(int i=0; i < table.length; i++) table[i].accept(this); Attribute[] attributes = code.getAttributes(); for(int i=0; i < attributes.length; i++) attributes[i].accept(this); stack.pop(); }
public void visitCode(Code code) { stack.push(code); code.accept(visitor); CodeException[] table = code.getExceptionTable(); for(int i=0; i < table.length; i++) table[i].accept(this); Attribute[] attributes = code.getAttributes(); for(int i=0; i < attributes.length; i++) attributes[i].accept(this); stack.pop(); }
/** * Initialize from another object. Note that both objects use the same * references (shallow copy). Use copy() for a physical copy. */ public Code(Code c) { this(c.getNameIndex(), c.getLength(), c.getMaxStack(), c.getMaxLocals(), c.getCode(), c.getExceptionTable(), c.getAttributes(), c.getConstantPool()); }
/** * Initialize from another object. Note that both objects use the same * references (shallow copy). Use copy() for a physical copy. */ public Code(Code c) { this(c.getNameIndex(), c.getLength(), c.getMaxStack(), c.getMaxLocals(), c.getCode(), c.getExceptionTable(), c.getAttributes(), c.getConstantPool()); }
CodeException[] ce = c.getExceptionTable(); int len = ce.length;
CodeException[] ce = c.getExceptionTable(); int len = ce.length;
CodeException[] ce = code.getExceptionTable(); int len = ce.length;
CodeException[] ce = code.getExceptionTable(); int len = ce.length;
CodeException[] exceptionTable = code.getExceptionTable(); for (int i=0; i<exceptionTable.length; i++){ int startpc = exceptionTable[i].getStartPC();
CodeException[] exceptionTable = code.getExceptionTable(); for (int i=0; i<exceptionTable.length; i++){ int startpc = exceptionTable[i].getStartPC();
CodeException[] exc_table = obj.getExceptionTable(); for (int i=0; i<exc_table.length; i++){ int exc_index = exc_table[i].getCatchType();
CodeException[] exc_table = obj.getExceptionTable(); for (int i=0; i<exc_table.length; i++){ int exc_index = exc_table[i].getCatchType();
setMaxLocals(c.getMaxLocals()); CodeException[] ces = c.getExceptionTable();
setMaxLocals(c.getMaxLocals()); CodeException[] ces = c.getExceptionTable();