package fr.lifl.stc.stan.execution.stack; /* * Created on Nov 10, 2004 */ import org.apache.bcel.generic.ReturnaddressType; import org.apache.bcel.generic.Type; /** * @author yann */ public class Address extends JvmType { private int pc; public Address(int pc) { super(); setPc(pc); } public Type getType() { return ReturnaddressType.NO_TARGET; } /** * @see java.lang.Object#clone() */ public Object clone() { Address v = new Address(pc); return v; } /** * @see java.lang.Object#toString() */ public String toString() { return "Addr(" + pc + ")"; } /* (non-Javadoc) * @see fr.lifl.rd2p.jits.tools.ea.execution.stack.Stackable#toString(boolean) */ public String toHTML() { return "
" + toString() + " |