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:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConstantCP
(byte tag, int classIndex, int nameAndTypeIndex) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
dump
(DataOutputStream file) getClass
(ConstantPool cp) final int
final int
final String
toString()
-
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:
dump
in classConstant
- Throws:
IOException
-
getClassIndex
public final int getClassIndex() -
getNameAndTypeIndex
public final int getNameAndTypeIndex() -
getClass
-
toString
-