jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantObject.java
equal
deleted
inserted
replaced
19 * limitations under the License. |
19 * limitations under the License. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.bcel.internal.classfile; |
22 package com.sun.org.apache.bcel.internal.classfile; |
23 |
23 |
24 |
|
25 /** |
24 /** |
26 * This interface denotes those constants that have a "natural" value, |
25 * This interface denotes those constants that have a "natural" value, |
27 * such as ConstantLong, ConstantString, etc.. |
26 * such as ConstantLong, ConstantString, etc.. |
28 * |
27 * |
29 * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> |
28 * @version $Id: ConstantObject.java 1747278 2016-06-07 17:28:43Z britter $ |
30 * @see Constant |
29 * @see Constant |
31 */ |
30 */ |
32 public interface ConstantObject { |
31 public interface ConstantObject { |
33 /** @return object representing the constant, e.g., Long for ConstantLong |
32 |
34 */ |
33 /** @return object representing the constant, e.g., Long for ConstantLong |
35 public abstract Object getConstantValue(ConstantPool cp); |
34 */ |
|
35 Object getConstantValue( ConstantPool cp ); |
36 } |
36 } |