class file.
[1, size()). It is unusable if a LongEntry or DoubleEntry is at its previous
index.
BootstrapMethodsAttribute
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of entries in the bootstrap method tableReturns the number of entries in the bootstrap method table. |
| public BootstrapMethodEntry | Returns: theBootstrapMethodEntry at the specified index within
the bootstrap method tablethe index within the bootstrap method table of the desired
entry index)Returns the |
| public PoolEntry | Returns: the entry at the specified indexthe index within the pool of the desired entry index)Returns the entry at the specified index. |
| public < the entry type T extends PoolEntry> T | Returns: the entry of a given type at the specified indexthe index within the pool of the desired entry index, Class<T> the entry type cls)Returns the entry of a given type at the specified index. |
| public default Iterator | Returns: an iterator over pool entriesImplements java. Returns an iterator over pool entries. |
| public int | Returns: the exclusive upper bound of the valid indices of this constant poolReturns the exclusive upper bound of the valid indices of this constant pool. |
| bootstrapMethodCount | back to summary |
|---|---|
| public int bootstrapMethodCount() Returns the number of entries in the bootstrap method table.
| |
| bootstrapMethodEntry | back to summary |
|---|---|
| public BootstrapMethodEntry bootstrapMethodEntry(int index) Returns the
| |
| entryByIndex | back to summary |
|---|---|
| public PoolEntry entryByIndex(int index) Returns the entry at the specified index. API Note If only a particular type of entry is expected, use
| |
| entryByIndex | back to summary |
|---|---|
| public <T extends PoolEntry> T entryByIndex(int index, Class<T> cls) Returns the entry of a given type at the specified index.
| |
| iterator | back to summary |
|---|---|
| public default Iterator Implements java. Returns an iterator over pool entries. API Note This skips any unusable index and is less error-prone than iterating by raw index. See Index in the Constant Pool. | |
| size | back to summary |
|---|---|
| public int size() Returns the exclusive upper bound of the valid indices of this constant
pool. The actual number of entries is lower because
| |