com.zving.framework.thirdparty.asm.tree.TryCatchBlockNode Maven / Gradle / Ivy
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);
}
}