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

com.zving.framework.thirdparty.asm.tree.TryCatchBlockNode 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;

public class TryCatchBlockNode {
	public String type;
	public LabelNode start;
	public LabelNode end;
	public LabelNode handler;

	public TryCatchBlockNode(LabelNode start, LabelNode end, LabelNode handler, String type) {
		this.start = start;
		this.end = end;
		this.handler = handler;
		this.type = type;
	}

	public void accept(MethodVisitor mv) {
		mv.visitTryCatchBlock(this.start.getLabel(), this.end.getLabel(), this.handler == null ? null : this.handler.getLabel(), this.type);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy