org.aspectj.apache.bcel.classfile
Class ConstantClass

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.Constant
      extended by org.aspectj.apache.bcel.classfile.ConstantClass
All Implemented Interfaces:
java.lang.Cloneable, Node

public final class ConstantClass
extends Constant

This class is derived from the abstract Constant class and represents a reference to a (external) class.


Field Summary
 
Fields inherited from class org.aspectj.apache.bcel.classfile.Constant
tag
 
Constructor Summary
ConstantClass(int nameIndex)
           
 
Method Summary
 void accept(ClassVisitor v)
           
 void dump(java.io.DataOutputStream file)
           
 java.lang.String getClassname(ConstantPool cpool)
           
 int getNameIndex()
           
 java.lang.Integer getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.Constant
clone, copy, getTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantClass

public ConstantClass(int nameIndex)
Method Detail

accept

public void accept(ClassVisitor v)
Specified by:
accept in interface Node
Specified by:
accept in class Constant

dump

public final void dump(java.io.DataOutputStream file)
                throws java.io.IOException
Specified by:
dump in class Constant
Throws:
java.io.IOException

getNameIndex

public final int getNameIndex()

getValue

public java.lang.Integer getValue()
Specified by:
getValue in class Constant

getClassname

public java.lang.String getClassname(ConstantPool cpool)

toString

public final java.lang.String toString()
Overrides:
toString in class Constant