Class ConstantCP
java.lang.Object
org.aspectj.apache.bcel.classfile.Constant
org.aspectj.apache.bcel.classfile.ConstantCP
- Direct Known Subclasses:
ConstantFieldref,ConstantInterfaceMethodref,ConstantMethodref
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
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstantCP(byte tag, int classIndex, int nameAndTypeIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(DataOutputStream file)getClass(ConstantPool cp)intinttoString()
-
Field Details
-
classIndex
protected int classIndex -
nameAndTypeIndex
protected int nameAndTypeIndex
-
-
Constructor Details
-
ConstantCP
protected ConstantCP(byte tag, int classIndex, int nameAndTypeIndex)
-
-
Method Details
-
dump
- Specified by:
dumpin classConstant- Throws:
IOException
-
getClassIndex
public final int getClassIndex() -
getNameAndTypeIndex
public final int getNameAndTypeIndex() -
getClass
-
toString
-