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

com.zving.framework.thirdparty.asm.tree.FieldInsnNode 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.MethodVisitor;
import java.util.Map;

public class FieldInsnNode extends AbstractInsnNode {
	public String owner;
	public String name;
	public String desc;

	public FieldInsnNode(int opcode, String owner, String name, String desc) {
		super(opcode);
		this.owner = owner;
		this.name = name;
		this.desc = desc;
	}

	public void setOpcode(int opcode) {
		this.opcode = opcode;
	}

	public int getType() {
		return 4;
	}

	public void accept(MethodVisitor cv) {
		cv.visitFieldInsn(this.opcode, this.owner, this.name, this.desc);
	}

	public AbstractInsnNode clone(Map labels) {
		return new FieldInsnNode(this.opcode, this.owner, this.name, this.desc);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy