1 30 package com.tc.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 138 void visitIntInsn(int opcode, int operand); 139 140 150 void visitVarInsn(int opcode, int var); 151 152 162 void visitTypeInsn(int opcode, String desc); 163 164 175 void visitFieldInsn(int opcode, String owner, String name, String desc); 176 177 189 void visitMethodInsn(int opcode, String owner, String name, String desc); 190 191 203 void visitJumpInsn(int opcode, Label label); 204 205 211 void visitLabel(Label label); 212 213 217 226 void visitLdcInsn(Object cst); 227 228 234 void visitIincInsn(int var, int increment); 235 236 245 void visitTableSwitchInsn(int min, int max, Label dflt, Label labels[]); 246 247 255 void visitLookupSwitchInsn(Label dflt, int keys[], Label labels[]); 256 257 263 void visitMultiANewArrayInsn(String desc, int dims); 264 265 270 280 void visitTryCatchBlock(Label start, Label end, Label handler, String type); 281 282 299 void visitLocalVariable( 300 String name, 301 String desc, 302 String signature, 303 Label start, 304 Label end, 305 int index); 306 307 317 void visitLineNumber(int line, Label start); 318 319 326 void visitMaxs(int maxStack, int maxLocals); 327 328 333 void visitEnd(); 334 } 335 | Popular Tags |