Class Constant
java.lang.Object
org.aspectj.apache.bcel.classfile.Constant
- Direct Known Subclasses:
ConstantClass
,ConstantCP
,ConstantDouble
,ConstantDynamic
,ConstantFloat
,ConstantInteger
,ConstantInvokeDynamic
,ConstantLong
,ConstantMethodHandle
,ConstantMethodType
,ConstantModule
,ConstantNameAndType
,ConstantPackage
,ConstantString
,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.
- Version:
- $Id: Constant.java,v 1.5 2009/09/10 15:35:04 aclement Exp $
- Author:
- M. Dahm
-
Field Summary
-
Method Summary
-
Field Details
-
tag
protected byte tag
-
-
Method Details
-
getTag
public final byte getTag() -
toString
-
accept
-
dump
- Throws:
IOException
-
getValue
-
copy
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-