/* Copyright (c) 2006, Sriram Srinivasan * * You may distribute this software under the terms of the license * specified in the file "License" */ package kilim.analysis; import static org.objectweb.asm.Opcodes.NOP; import java.util.Map; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.tree.AbstractInsnNode; class NopInsn extends AbstractInsnNode { public NopInsn() { super(NOP); } public int getType() { return 0; } @Override public void accept(MethodVisitor mv) { // Do nothing } @Override public String toString() { return "NOP"; } @Override public AbstractInsnNode clone(@SuppressWarnings("rawtypes") Map labels) { return new NopInsn(); } }