List of usage examples for org.objectweb.asm.commons Method getName
public String getName()
From source file:org.kjots.json.object.MethodVisitor.java
License:Apache License
/** * Visit a method instruction./* w ww.j a v a 2 s. c o m*/ * <p> * This is a convenience method that is equivalent to the following: * <pre> * visitMethodInsn(opcode, type.getInternalName(), method.getName(), method.getDescriptor()) * </pre> * * @param opcode The opcode. * @param type The type. * @param method The method. * @see org.objectweb.asm.MethodVisitor#visitMethodInsn(int, String, String, String) */ public void visitMethodInsn(int opcode, Type type, Method method) { this.asmMethodVisitor.visitMethodInsn(opcode, type.getInternalName(), method.getName(), method.getDescriptor()); }