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(); }