public class BootstrapMethodsList extends FixedSizeList
BootstrapMethods attributes.| Modifier and Type | Class and Description |
|---|---|
static class |
BootstrapMethodsList.Item |
| Modifier and Type | Field and Description |
|---|---|
static BootstrapMethodsList |
EMPTY
non-null; zero-size instance |
| Constructor and Description |
|---|
BootstrapMethodsList(int count)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
static BootstrapMethodsList |
concat(BootstrapMethodsList list1,
BootstrapMethodsList list2)
Returns an instance which is the concatenation of the two given
instances.
|
BootstrapMethodsList.Item |
get(int n)
Gets the indicated item.
|
void |
set(int n,
BootstrapMethodsList.Item item)
Sets the item at the given index.
|
void |
set(int n,
CstType declaringClass,
CstMethodHandle bootstrapMethodHandle,
BootstrapMethodArgumentsList arguments)
Sets the item at the given index.
|
equals, get0, getOrNull0, hashCode, set0, shrinkToFit, size, toHuman, toHuman, toString, toStringisImmutable, isMutable, setImmutable, throwIfImmutable, throwIfMutablepublic static final BootstrapMethodsList EMPTY
non-null; zero-size instancepublic BootstrapMethodsList(int count)
count - the number of elements to be in the listpublic BootstrapMethodsList.Item get(int n)
n - >= 0; which itemnull-ok; the indicated itempublic void set(int n,
BootstrapMethodsList.Item item)
n - >= 0, < size(); which elementitem - non-null; the itempublic void set(int n,
CstType declaringClass,
CstMethodHandle bootstrapMethodHandle,
BootstrapMethodArgumentsList arguments)
n - >= 0, < size(); which elementdeclaringClass - non-null; the class declaring bootstrap method.bootstrapMethodHandle - non-null; the bootstrap method handlearguments - non-null; the arguments of the bootstrap methodpublic static BootstrapMethodsList concat(BootstrapMethodsList list1, BootstrapMethodsList list2)
list1 - non-null; first instancelist2 - non-null; second instancenon-null; combined instanceCopyright © 2020. All Rights Reserved.