| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private BootstrapMethodsAttribute | |
| private List | |
| private final byte[] | |
| private final int | |
| private final int | |
| private ClassModel | |
| pack-priv final ClassFileImpl | |
| pack-priv final PoolEntry[] | |
| pack-priv static final int | |
| private final int[] | |
| private final int | |
| pack-priv final int | |
| private final int | |
| private Optional | |
| private ClassEntry | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | bootstrapMethodCount()
Implements java. Returns the number of entries in the bootstrap method table. |
| public BootstrapMethodEntryImpl | bootstrapMethodEntry(int index)
Implements java. Returns the |
| pack-priv BootstrapMethodsAttribute | |
| pack-priv List | |
| private static boolean | |
| pack-priv static <T extends PoolEntry> T | |
| private static ConstantPoolException | |
| public int | classfileLength()
Implements java. Returns the length of the |
| public boolean | |
| public ClassFileImpl | |
| public void | copyBytesTo(BufWriter buf, int p, int len)
Implements java. Copy a range of bytes from the |
| public Function | customAttributes()
Implements java. Returns the table of custom attribute mappers. |
| public PoolEntry | entryByIndex(int index)
Implements java. Returns the entry at the specified index. |
| public <T extends PoolEntry> T | entryByIndex(int index, Class<T> cls)
Implements java. Returns the entry of a given type at the specified index. |
| public int | flags()
Implements java. Returns the access flags for the class, as a bit mask. |
| pack-priv ClassModel | |
| private static IllegalArgumentException | |
| public byte[] | readBytes(int p, int len)
Implements java. Returns a copy of the bytes at the specified range in the |
| public double | readDouble(int p)
Implements java. Returns the double value at the specified offset within the |
| public PoolEntry | readEntry(int pos)
Implements java. Returns the constant pool entry whose index is given at the specified
offset within the |
| public <T extends PoolEntry> T | readEntry(int pos, Class<T> cls)
Implements java. Returns the constant pool entry of a given type whose index is given
at the specified offset within the |
| public PoolEntry | readEntryOrNull(int pos)
Implements java. Returns the constant pool entry whose index is given at the specified
offset within the |
| public <T extends PoolEntry> T | readEntryOrNull(int offset, Class<T> cls)
Implements java. Returns the constant pool entry of a given type whose index is given
at the specified offset within the |
| public float | readFloat(int p)
Implements java. Returns the float value at the specified offset within the |
| public int | readInt(int p)
Implements java. Returns the signed int at the specified offset within the |
| public long | readLong(int p)
Implements java. Returns the signed long at the specified offset within the |
| public int | readS1(int p)
Implements java. Returns the signed byte at the specified offset within the |
| public int | readS2(int p)
Implements java. Returns the signed byte at the specified offset within the |
| public int | readU1(int p)
Implements java. Returns the unsigned byte at the specified offset within the |
| public int | readU2(int p)
Implements java. Returns the |
| pack-priv void | |
| public int | size()
Implements java. Returns the exclusive upper bound of the valid indices of this constant pool. |
| public int | |
| public Optional | superclassEntry()
Implements java. Returns the constant pool entry describing the name of the superclass, if any. |
| public ClassEntry | thisClassEntry()
Implements java. Returns the constant pool entry describing the name of class. |
| public int | |
| pack-priv boolean | |
| pack-priv void |
| attributeMapper | back to summary |
|---|---|
| private final Function<Utf8Entry, AttributeMapper<?>> attributeMapper | |
| bootstrapMethodsAttribute | back to summary |
|---|---|
| private BootstrapMethodsAttribute bootstrapMethodsAttribute | |
| bsmEntries | back to summary |
|---|---|
| private List<BootstrapMethodEntryImpl> bsmEntries | |
| buffer | back to summary |
|---|---|
| private final byte[] buffer | |
| classfileLength | back to summary |
|---|---|
| private final int classfileLength | |
| constantPoolCount | back to summary |
|---|---|
| private final int constantPoolCount | |
| containedClass | back to summary |
|---|---|
| private ClassModel containedClass | |
| context | back to summary |
|---|---|
| pack-priv final ClassFileImpl context | |
| cp | back to summary |
|---|---|
| pack-priv final PoolEntry[] cp | |
| CP_ITEM_START | back to summary |
|---|---|
| pack-priv static final int CP_ITEM_START | |
| cpOffset | back to summary |
|---|---|
| private final int[] cpOffset | |
| flags | back to summary |
|---|---|
| private final int flags | |
| interfacesPos | back to summary |
|---|---|
| pack-priv final int interfacesPos | |
| metadataStart | back to summary |
|---|---|
| private final int metadataStart | |
| superclass | back to summary |
|---|---|
| private Optional<ClassEntry> superclass | |
| thisClass | back to summary |
|---|---|
| private ClassEntry thisClass | |
| thisClassPos | back to summary |
|---|---|
| private final int thisClassPos | |
| ClassReaderImpl | back to summary |
|---|---|
| pack-priv ClassReaderImpl(byte[] classfileBytes, ClassFileImpl context) | |
| bootstrapMethodCount | back to summary |
|---|---|
| public int bootstrapMethodCount() Implements java. Doc from java. Returns the number of entries in the bootstrap method table.
| |
| bootstrapMethodEntry | back to summary |
|---|---|
| public BootstrapMethodEntryImpl bootstrapMethodEntry(int index) Implements java. Doc from java. Returns the
| |
| bootstrapMethodsAttribute | back to summary |
|---|---|
| pack-priv BootstrapMethodsAttribute bootstrapMethodsAttribute() | |
| bsmEntries | back to summary |
|---|---|
| pack-priv List | |
| checkTag | back to summary |
|---|---|
| private static boolean checkTag(int tag, Class<?> cls) | |
| checkType | back to summary |
|---|---|
| pack-priv static <T extends PoolEntry> T checkType(PoolEntry e, int index, Class<T> cls) | |
| checkTypeError | back to summary |
|---|---|
| private static ConstantPoolException checkTypeError(int index, Class<?> cls) | |
| classfileLength | back to summary |
|---|---|
| public int classfileLength() Implements java. Doc from java. Returns the length of the
| |
| compare | back to summary |
|---|---|
| public boolean compare(BufWriterImpl bufWriter, int bufWriterOffset, int classReaderOffset, int length) | |
| context | back to summary |
|---|---|
| public ClassFileImpl context() | |
| copyBytesTo | back to summary |
|---|---|
| public void copyBytesTo(BufWriter buf, int p, int len) Implements java. Doc from java. Copy a range of bytes from the
| |
| customAttributes | back to summary |
|---|---|
| public Function Implements java. Doc from java. Returns the table of custom attribute mappers. This is derived from
the processing option
| |
| entryByIndex | back to summary |
|---|---|
| public PoolEntry entryByIndex(int index) Implements java. Doc from java. Returns the entry at the specified index.
| |
| entryByIndex | back to summary |
|---|---|
| public <T extends PoolEntry> T entryByIndex(int index, Class<T> cls) Implements java. Doc from java. Returns the entry of a given type at the specified index.
| |
| flags | back to summary |
|---|---|
| public int flags() Implements java. Doc from java. Returns the access flags for the class, as a bit mask.
| |
| getContainedClass | back to summary |
|---|---|
| pack-priv ClassModel getContainedClass() | |
| outOfBoundsError | back to summary |
|---|---|
| private static IllegalArgumentException outOfBoundsError(IndexOutOfBoundsException cause) | |
| readBytes | back to summary |
|---|---|
| public byte[] readBytes(int p, int len) Implements java. Doc from java. Returns a copy of the bytes at the specified range in the
| |
| readDouble | back to summary |
|---|---|
| public double readDouble(int p) Implements java. Doc from java. Returns the double value at the specified offset within the
In the conversions, all NaN values of the
| |
| readEntry | back to summary |
|---|---|
| public PoolEntry readEntry(int pos) Implements java. Doc from java. Returns the constant pool entry whose index is given at the specified
offset within the
| |
| readEntry | back to summary |
|---|---|
| public <T extends PoolEntry> T readEntry(int pos, Class<T> cls) Implements java. Doc from java. Returns the constant pool entry of a given type whose index is given
at the specified offset within the
| |
| readEntryOrNull | back to summary |
|---|---|
| public PoolEntry readEntryOrNull(int pos) Implements java. Doc from java. Returns the constant pool entry whose index is given at the specified
offset within the
| |
| readEntryOrNull | back to summary |
|---|---|
| public <T extends PoolEntry> T readEntryOrNull(int offset, Class<T> cls) Implements java. Doc from java. Returns the constant pool entry of a given type whose index is given
at the specified offset within the
| |
| readFloat | back to summary |
|---|---|
| public float readFloat(int p) Implements java. Doc from java. Returns the float value at the specified offset within the
In the conversions, all NaN values of the
| |
| readInt | back to summary |
|---|---|
| public int readInt(int p) Implements java. Doc from java. Returns the signed int at the specified offset within the
| |
| readLong | back to summary |
|---|---|
| public long readLong(int p) Implements java. Doc from java. Returns the signed long at the specified offset within the
| |
| readS1 | back to summary |
|---|---|
| public int readS1(int p) Implements java. Doc from java. Returns the signed byte at the specified offset within the
| |
| readS2 | back to summary |
|---|---|
| public int readS2(int p) Implements java. Doc from java. Returns the signed byte at the specified offset within the
| |
| readU1 | back to summary |
|---|---|
| public int readU1(int p) Implements java. Doc from java. Returns the unsigned byte at the specified offset within the
| |
| readU2 | back to summary |
|---|---|
| public int readU2(int p) Implements java. Doc from java. Returns the
| |
| setContainedClass | back to summary |
|---|---|
| pack-priv void setContainedClass(ClassModel containedClass) | |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the exclusive upper bound of the valid indices of this constant
pool. The actual number of entries is lower because
| |
| skipAttributeHolder | back to summary |
|---|---|
| public int skipAttributeHolder(int offset) | |
| superclassEntry | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the constant pool entry describing the name of the superclass, if any.
| |
| thisClassEntry | back to summary |
|---|---|
| public ClassEntry thisClassEntry() Implements java. Doc from java. Returns the constant pool entry describing the name of class.
| |
| thisClassPos | back to summary |
|---|---|
| public int thisClassPos() | |
| writeBootstrapMethods | back to summary |
|---|---|
| pack-priv boolean writeBootstrapMethods(BufWriterImpl buf) | |
| writeConstantPoolEntries | back to summary |
|---|---|
| pack-priv void writeConstantPoolEntries(BufWriter buf) | |