Top Description Fields Constructors Methods
org.apache.tomcat.util.bcel.classfile

public final Class ConstantClass

extends Constant
Class Inheritance
Imports
java.io.DataInput, .IOException, org.apache.tomcat.util.bcel.Const

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

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
ConstantClass(final DataInput
Input stream
dataInput
)

Constructs an instance from file data.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

Name index in constant pool of class name.
getNameIndex
()

Inherited from org.apache.tomcat.util.bcel.classfile.Constant:
getTagreadConstanttoString

Field Detail

nameIndexback to summary
private final int nameIndex

Constructor Detail

ConstantClassback to summary
pack-priv ConstantClass(final DataInput dataInput) throws IOException

Constructs an instance from file data.

Parameters
dataInput:DataInput

Input stream

Exceptions
IOException:
if an I/O error occurs reading from the given dataInput.

Method Detail

getNameIndexback to summary
public int getNameIndex()
Returns:int

Name index in constant pool of class name.