| java.lang.Object org.netbeans.lib.profiler.instrumentation.ConstantPoolExtension
All known Subclasses: org.netbeans.lib.profiler.instrumentation.DynamicConstantPoolExtension,
ConstantPoolExtension | public class ConstantPoolExtension implements JavaClassConstants(Code) | | Basic support for adding entries to a class's constant pool.
This class allows one to create a semi-prepared chunk of bytes (class PackedCPoolFragment) representing entries that
should be added to the constant pool of an arbitrary class. Then, by passing a PackedCPoolFragment to the constructor
of ConstantPoolExtension, one obtains a relocated (i.e. with indices adjusted for a concrete class' existing constant pool)
copy of added constant pool.
author: Misha Dmitriev |
Inner Class :public static class CPEntry | |
Inner Class :public static class PackedCPFragment | |
Constructor Summary | |
protected | ConstantPoolExtension(PackedCPFragment pcp, int baseCPCount, int secondaryBaseCPCount) Creates a ConstantPoolExtension containing properly relocated contents from pcp. | protected | ConstantPoolExtension() |
addedCPContents | protected byte[] addedCPContents(Code) | | |
nAddedEntries | protected int nAddedEntries(Code) | | |
ConstantPoolExtension | protected ConstantPoolExtension(PackedCPFragment pcp, int baseCPCount, int secondaryBaseCPCount)(Code) | | Creates a ConstantPoolExtension containing properly relocated contents from pcp.
|
ConstantPoolExtension | protected ConstantPoolExtension()(Code) | | |
getContents | public byte[] getContents()(Code) | | |
getNEntries | public int getNEntries()(Code) | | |
|
|