1 24 25 package bsh.org.objectweb.asm; 26 27 37 38 public interface CodeVisitor { 39 40 72 73 void visitInsn (int opcode); 74 75 82 83 void visitIntInsn (int opcode, int operand); 84 85 95 96 void visitVarInsn (int opcode, int var); 97 98 108 109 void visitTypeInsn (int opcode, String desc); 110 111 122 123 void visitFieldInsn (int opcode, String owner, String name, String desc); 124 125 137 138 void visitMethodInsn (int opcode, String owner, String name, String desc); 139 140 152 153 void visitJumpInsn (int opcode, Label label); 154 155 161 162 void visitLabel (Label label); 163 164 168 176 177 void visitLdcInsn (Object cst); 178 179 185 186 void visitIincInsn (int var, int increment); 187 188 197 198 void visitTableSwitchInsn (int min, int max, Label dflt, Label labels[]); 199 200 208 209 void visitLookupSwitchInsn (Label dflt, int keys[], Label labels[]); 210 211 217 218 void visitMultiANewArrayInsn (String desc, int dims); 219 220 224 236 237 void visitTryCatchBlock (Label start, Label end, Label handler, String type); 238 239 246 247 void visitMaxs (int maxStack, int maxLocals); 248 249 253 267 268 void visitLocalVariable ( 269 String name, 270 String desc, 271 Label start, 272 Label end, 273 int index); 274 275 285 286 void visitLineNumber (int line, Label start); 287 } 288 | Popular Tags |