1 30 package org.objectweb.asm; 31 32 47 public interface MethodVisitor { 48 49 53 62 AnnotationVisitor visitAnnotationDefault(); 63 64 71 AnnotationVisitor visitAnnotation(String desc, boolean visible); 72 73 81 AnnotationVisitor visitParameterAnnotation( 82 int parameter, 83 String desc, 84 boolean visible); 85 86 91 void visitAttribute(Attribute attr); 92 93 96 void visitCode(); 97 98 102 120 void visitInsn(int opcode); 121 122 129 void visitIntInsn(int opcode, int operand); 130 131 141 void visitVarInsn(int opcode, int var); 142 143 153 void visitTypeInsn(int opcode, String desc); 154 155 166 void visitFieldInsn(int opcode, String owner, String name, String desc); 167 168 180 void visitMethodInsn(int opcode, String owner, String name, String desc); 181 182 194 void visitJumpInsn(int opcode, Label label); 195 196 202 void visitLabel(Label label); 203 204 208 217 void visitLdcInsn(Object cst); 218 219 225 void visitIincInsn(int var, int increment); 226 227 236 void visitTableSwitchInsn(int min, int max, Label dflt, Label labels[]); 237 238 246 void visitLookupSwitchInsn(Label dflt, int keys[], Label labels[]); 247 248 254 void visitMultiANewArrayInsn(String desc, int dims); 255 256 261 274 void visitTryCatchBlock(Label start, Label end, Label handler, String type); 275 276 293 void visitLocalVariable( 294 String name, 295 String desc, 296 String signature, 297 Label start, 298 Label end, 299 int index); 300 301 311 void visitLineNumber(int line, Label start); 312 313 320 void visitMaxs(int maxStack, int maxLocals); 321 322 327 void visitEnd(); 328 } 329 | Popular Tags |