/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(CtClass clazz, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(clazz), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param classname the fully-qualified class name. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(String classname, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(classname), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param returnType the return type. * @param paramTypes the parameter types. * @param count the count operand of the instruction. */ public void addInvokeinterface(CtClass clazz, String name, CtClass returnType, CtClass[] paramTypes, int count) { String desc = Descriptor.ofMethod(returnType, paramTypes); addInvokeinterface(clazz, name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param returnType the return type. * @param paramTypes the parameter types. * @param count the count operand of the instruction. */ public void addInvokeinterface(CtClass clazz, String name, CtClass returnType, CtClass[] paramTypes, int count) { String desc = Descriptor.ofMethod(returnType, paramTypes); addInvokeinterface(clazz, name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(CtClass clazz, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(clazz), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param classname the fully-qualified class name. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(String classname, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(classname), name, desc, count); }
code.addInvokeinterface(MethodHandler.class.getName(), "invoke", "(Ljava/lang/Object;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;", 5);
code.addInvokeinterface(MethodHandler.class.getName(), "invoke", "(Ljava/lang/Object;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;", 5);
if ( this.targetBean.isInterface() ) { code.addInvokeinterface( targetBeanConstPoolIndex, getterName, getterSignature, 1 );
bytecode.addInvokeinterface(declClass, mname, desc, nargs);
code.addInvokeinterface( targetTypeConstPoolIndex, setters[i].getName(), rawSetterMethodDesc, size );
bytecode.addInvokeinterface(declClass, mname, desc, nargs);
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param returnType the return type. * @param paramTypes the parameter types. * @param count the count operand of the instruction. */ public void addInvokeinterface(CtClass clazz, String name, CtClass returnType, CtClass[] paramTypes, int count) { String desc = Descriptor.ofMethod(returnType, paramTypes); addInvokeinterface(clazz, name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param returnType the return type. * @param paramTypes the parameter types. * @param count the count operand of the instruction. */ public void addInvokeinterface(CtClass clazz, String name, CtClass returnType, CtClass[] paramTypes, int count) { String desc = Descriptor.ofMethod(returnType, paramTypes); addInvokeinterface(clazz, name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param classname the fully-qualified class name. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(String classname, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(classname), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param classname the fully-qualified class name. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(String classname, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(classname), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(CtClass clazz, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(clazz), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(CtClass clazz, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(clazz), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param clazz the target class. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(CtClass clazz, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(clazz), name, desc, count); }
/** * Appends INVOKEINTERFACE. * * @param classname the fully-qualified class name. * @param name the method name * @param desc the descriptor of the method signature. * @param count the count operand of the instruction. * * @see Descriptor#ofMethod(CtClass,CtClass[]) */ public void addInvokeinterface(String classname, String name, String desc, int count) { addInvokeinterface(constPool.addClassInfo(classname), name, desc, count); }