001 package serp.bytecode.lowlevel;
002
003 /**
004 * Interface implemented by entries representing constant values. Allows
005 * generic access the constant value regardless of type.
006 *
007 * @author Abe White
008 */
009 public interface ConstantEntry {
010 /**
011 * Return the value of the constant held by this entry.
012 */
013 public Object getConstant();
014
015 /**
016 * Set the value of the constant held by this entry.
017 */
018 public void setConstant(Object value);
019 }