com.sun.tools.classfile
Class ConstantPool.CONSTANT_Class_info

java.lang.Object
  extended by com.sun.tools.classfile.ConstantPool.CPInfo
      extended by com.sun.tools.classfile.ConstantPool.CONSTANT_Class_info
Enclosing class:
ConstantPool

public static class ConstantPool.CONSTANT_Class_info
extends ConstantPool.CPInfo


Field Summary
 int name_index
           
 
Fields inherited from class com.sun.tools.classfile.ConstantPool.CPInfo
cp
 
Constructor Summary
ConstantPool.CONSTANT_Class_info(ConstantPool cp, ClassReader cr)
           
ConstantPool.CONSTANT_Class_info(ConstantPool cp, int name_index)
           
 
Method Summary
<R,D> R
accept(ConstantPool.Visitor<R,D> visitor, D data)
           
 java.lang.String getName()
           
 int getTag()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name_index

public final int name_index
Constructor Detail

ConstantPool.CONSTANT_Class_info

ConstantPool.CONSTANT_Class_info(ConstantPool cp,
                                 ClassReader cr)
                           throws java.io.IOException
Throws:
java.io.IOException

ConstantPool.CONSTANT_Class_info

public ConstantPool.CONSTANT_Class_info(ConstantPool cp,
                                        int name_index)
Method Detail

getTag

public int getTag()
Specified by:
getTag in class ConstantPool.CPInfo

getName

public java.lang.String getName()
                         throws ConstantPoolException
Throws:
ConstantPoolException

toString

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

accept

public <R,D> R accept(ConstantPool.Visitor<R,D> visitor,
                      D data)
Specified by:
accept in class ConstantPool.CPInfo