Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.jlink

pack-priv Class ConstantPool

Located in compilation unit of org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader.

extends Object
Class Inheritance

Reads just enough of a class file to determine the class' full name.

Extremely minimal constant pool implementation, mainly to support extracting strings from a class file.

Field Summary

Modifier and TypeField and Description
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv static final byte
pack-priv byte[]
pack-priv static final byte
pack-priv static final byte
pack-priv Object[]

Constructor Summary

AccessConstructor and Description
pack-priv
ConstantPool(DataInput
the data input containing the class.
data
)

Create a constant pool.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASSback to summary
pack-priv static final byte CLASS
DOUBLEback to summary
pack-priv static final byte DOUBLE
FIELDREFback to summary
pack-priv static final byte FIELDREF
FLOATback to summary
pack-priv static final byte FLOAT
INTEGERback to summary
pack-priv static final byte INTEGER
INTERFACEMETHODREFback to summary
pack-priv static final byte INTERFACEMETHODREF
LONGback to summary
pack-priv static final byte LONG
METHODREFback to summary
pack-priv static final byte METHODREF
NAMEANDTYPEback to summary
pack-priv static final byte NAMEANDTYPE
STRINGback to summary
pack-priv static final byte STRING
typesback to summary
pack-priv byte[] types
UNUSEDback to summary
pack-priv static final byte UNUSED
UTF8back to summary
pack-priv static final byte UTF8
valuesback to summary
pack-priv Object[] values

Constructor Detail

ConstantPoolback to summary
pack-priv ConstantPool(DataInput data) throws IOException

Create a constant pool.

Parameters
data:DataInput

the data input containing the class.

Exceptions
IOException:
if there is an error.