Class Constant
java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
- Direct Known Subclasses:
ConstantClass
,ConstantDouble
,ConstantFloat
,ConstantInteger
,ConstantLong
,ConstantUtf8
Abstract superclass for classes to represent the different constant types in the constant pool of a class file. The
classes keep closely to the JVM specification.
-
Method Summary
-
Method Details
-
getTag
public final byte getTag()- Returns:
- Tag of constant, i.e., its type. No setTag() method to avoid confusion.
-
toString
-