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
public abstract class Constant extends Object implements Cloneable, Node
-
-
Field Summary
Fields Modifier and Type Field Description protected bytetag
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaccept(ClassVisitor v)Objectclone()Constantcopy()abstract voiddump(DataOutputStream dataOutputStream)bytegetTag()abstract ObjectgetValue()StringtoString()
-
-
-
Method Detail
-
getTag
public final byte getTag()
-
accept
public abstract void accept(ClassVisitor v)
-
dump
public abstract void dump(DataOutputStream dataOutputStream) throws IOException
- Throws:
IOException
-
getValue
public abstract Object getValue()
-
copy
public Constant copy()
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-