All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zving.framework.thirdparty.asm.tree.InvokeDynamicInsnNode Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package com.zving.framework.thirdparty.asm.tree;

import com.zving.framework.thirdparty.asm.Handle;
import com.zving.framework.thirdparty.asm.MethodVisitor;
import java.util.Map;

public class InvokeDynamicInsnNode extends AbstractInsnNode {
	public String name;
	public String desc;
	public Handle bsm;
	public Object[] bsmArgs;

	public InvokeDynamicInsnNode(String name, String desc, Handle bsm, Object... bsmArgs) {
		super(186);
		this.name = name;
		this.desc = desc;
		this.bsm = bsm;
		this.bsmArgs = bsmArgs;
	}

	public int getType() {
		return 6;
	}

	public void accept(MethodVisitor mv) {
		mv.visitInvokeDynamicInsn(this.name, this.desc, this.bsm, this.bsmArgs);
	}

	public AbstractInsnNode clone(Map labels) {
		return new InvokeDynamicInsnNode(this.name, this.desc, this.bsm, this.bsmArgs);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy