Top Description Inners Fields Constructors Methods
com.sun.tools.classfile

public Class ConstantPool

extends Object
Class Inheritance
Imports
java.io.DataOutputStream, .IOException, .OutputStream, java.util.Iterator

See JVMS, section 4.5.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public abstract static class
public abstract static class
public static class
public static class
public static class
public static enum
public static class
public static interface

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
private ConstantPool.CPInfo[]

Constructor Summary

AccessConstructor and Description
pack-priv
public

Method Summary

Modifier and TypeMethod and Description
public int
public Iterable<ConstantPool.CPInfo>
public ConstantPool.CPInfo
get(int index)

private ConstantPool.CPInfo
get(int index, int expected_type)

public ConstantPool.CONSTANT_Class_info
getClassInfo(int index)

public ConstantPool.CONSTANT_Module_info
getModuleInfo(int index)

public ConstantPool.CONSTANT_NameAndType_info
getNameAndTypeInfo(int index)

public ConstantPool.CONSTANT_Package_info
getPackageInfo(int index)

public int
public ConstantPool.CONSTANT_Utf8_info
getUTF8Info(int index)

public String
getUTF8Value(int index)

public int
size()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait