View Javadoc

1   package serp.bytecode.lowlevel;
2   
3   /***
4    * Interface implemented by entries representing constant values. Allows
5    * generic access the constant value regardless of type.
6    *
7    * @author Abe White
8    */
9   public interface ConstantEntry {
10      /***
11       * Return the value of the constant held by this entry.
12       */
13      public Object getConstant();
14  
15      /***
16       * Set the value of the constant held by this entry.
17       */
18      public void setConstant(Object value);
19  }