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

com.zving.framework.thirdparty.asm.tree.LineNumberNode 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 LineNumberNode extends AbstractInsnNode {
	public int line;
	public LabelNode start;

	public LineNumberNode(int line, LabelNode start) {
		super(-1);
		this.line = line;
		this.start = start;
	}

	public int getType() {
		return 15;
	}

	public void accept(MethodVisitor mv) {
		mv.visitLineNumber(this.line, this.start.getLabel());
	}

	public AbstractInsnNode clone(Map labels) {
		return new LineNumberNode(this.line, clone(this.start, labels));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy