org.aspectj.apache.bcel.classfile
Class ConstantCP
java.lang.Object
org.aspectj.apache.bcel.classfile.Constant
org.aspectj.apache.bcel.classfile.ConstantCP
- All Implemented Interfaces:
- java.lang.Cloneable, Node
- Direct Known Subclasses:
- ConstantFieldref, ConstantInterfaceMethodref, ConstantMethodref
public abstract class ConstantCP
- extends Constant
Abstract super class for Fieldref and Methodref constants.
- Version:
- $Id: ConstantCP.java,v 1.5 2009/09/16 00:43:49 aclement Exp $
- Author:
- M. Dahm
- See Also:
ConstantFieldref
,
ConstantMethodref
,
ConstantInterfaceMethodref
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dump
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
- Specified by:
dump
in class Constant
- Throws:
java.io.IOException
getClassIndex
public final int getClassIndex()
getNameAndTypeIndex
public final int getNameAndTypeIndex()
getClass
public java.lang.String getClass(ConstantPool cp)
toString
public final java.lang.String toString()
- Overrides:
toString
in class Constant