APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.javap

public Class ConstantWriter

extends BasicWriter
Class Inheritance
Imports
java.lang.classfile.constantpool.*

Field Summary

Modifier and TypeField and Description
private final ClassWriter
private final Options
Inherited from com.sun.tools.javap.BasicWriter:
errorReportedmessages

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
private static String
pack-priv String
pack-priv String
booleanValue(int constant_pool_index)

pack-priv String
pack-priv String
charValue(int constant_pool_index)

private static String
pack-priv String
cpTagName(int tag)

public static ConstantWriter
instance(Context context)

pack-priv String
stringValue(int constant_pool_index)

pack-priv String
pack-priv String
tagName(int tag)

protected void
write(int cpx)

protected void
protected void
Inherited from com.sun.tools.javap.BasicWriter:
flagsReportUnknownindentmaskToAccessFlagsReportUnknownprintprintprintprintlnprintlnprintlnprintlnreportreportsetPendingNewlinespacetab

Field Detail

classWriterback to summary
private final ClassWriter classWriter
optionsback to summary
private final Options options

Constructor Detail

ConstantWriterback to summary
protected ConstantWriter(Context context)

Method Detail

addEscapesback to summary
private static String addEscapes(String name)
booleanValueback to summary
pack-priv String booleanValue(PoolEntry info)
booleanValueback to summary
pack-priv String booleanValue(int constant_pool_index)
charValueback to summary
pack-priv String charValue(PoolEntry info)
charValueback to summary
pack-priv String charValue(int constant_pool_index)
checkNameback to summary
private static String checkName(String name)
cpTagNameback to summary
pack-priv String cpTagName(int tag)
instanceback to summary
public static ConstantWriter instance(Context context)
stringValueback to summary
pack-priv String stringValue(int constant_pool_index)
stringValueback to summary
pack-priv String stringValue(PoolEntry cpInfo)
tagNameback to summary
pack-priv String tagName(int tag)
writeback to summary
protected void write(int cpx)
writeConstantPoolback to summary
protected void writeConstantPool()
writeConstantPoolback to summary
protected void writeConstantPool(ConstantPool constant_pool)