1 34 35 package org.logicalcobwebs.asm; 36 37 47 48 public interface CodeVisitor { 49 50 82 83 void visitInsn (int opcode); 84 85 92 93 void visitIntInsn (int opcode, int operand); 94 95 105 106 void visitVarInsn (int opcode, int var); 107 108 118 119 void visitTypeInsn (int opcode, String desc); 120 121 132 133 void visitFieldInsn (int opcode, String owner, String name, String desc); 134 135 147 148 void visitMethodInsn (int opcode, String owner, String name, String desc); 149 150 162 163 void visitJumpInsn (int opcode, Label label); 164 165 171 172 void visitLabel (Label label); 173 174 178 186 187 void visitLdcInsn (Object cst); 188 189 195 196 void visitIincInsn (int var, int increment); 197 198 207 208 void visitTableSwitchInsn (int min, int max, Label dflt, Label labels[]); 209 210 218 219 void visitLookupSwitchInsn (Label dflt, int keys[], Label labels[]); 220 221 227 228 void visitMultiANewArrayInsn (String desc, int dims); 229 230 234 246 247 void visitTryCatchBlock (Label start, Label end, Label handler, String type); 248 249 256 257 void visitMaxs (int maxStack, int maxLocals); 258 259 263 277 278 void visitLocalVariable ( 279 String name, 280 String desc, 281 Label start, 282 Label end, 283 int index); 284 285 295 296 void visitLineNumber (int line, Label start); 297 298 302 308 309 void visitAttribute (Attribute attr); 310 } 311 | Popular Tags |