public class BootstrapMethod
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int[] |
bootstrap_arguments
Array of references to the constant_pool table
|
private int |
bootstrap_method_ref
Index of the CONSTANT_MethodHandle_info structure in the constant_pool table
|
Modifier | Constructor and Description |
---|---|
|
BootstrapMethod(BootstrapMethod c)
Initialize from another object.
|
(package private) |
BootstrapMethod(java.io.DataInput input)
Construct object from input stream.
|
private |
BootstrapMethod(int bootstrap_method_ref,
int num_bootstrap_arguments) |
|
BootstrapMethod(int bootstrap_method_ref,
int[] bootstrap_arguments) |
Modifier and Type | Method and Description |
---|---|
BootstrapMethod |
copy() |
void |
dump(java.io.DataOutputStream file)
Dump object to file stream in binary format.
|
int[] |
getBootstrapArguments() |
int |
getBootstrapMethodRef() |
int |
getNumBootstrapArguments() |
void |
setBootstrapArguments(int[] bootstrap_arguments) |
void |
setBootstrapMethodRef(int bootstrap_method_ref) |
java.lang.String |
toString() |
java.lang.String |
toString(ConstantPool constant_pool) |
private int bootstrap_method_ref
private int[] bootstrap_arguments
public BootstrapMethod(BootstrapMethod c)
BootstrapMethod(java.io.DataInput input) throws java.io.IOException
input
- Input streamjava.io.IOException
private BootstrapMethod(int bootstrap_method_ref, int num_bootstrap_arguments)
public BootstrapMethod(int bootstrap_method_ref, int[] bootstrap_arguments)
bootstrap_method_ref
- int index into constant_pool of CONSTANT_MethodHandlebootstrap_arguments
- int[] indices into constant_pool of CONSTANT_public int getBootstrapMethodRef()
public void setBootstrapMethodRef(int bootstrap_method_ref)
bootstrap_method_ref
- int index into constant_pool of CONSTANT_MethodHandlepublic int[] getBootstrapArguments()
public int getNumBootstrapArguments()
public void setBootstrapArguments(int[] bootstrap_arguments)
bootstrap_arguments
- int[] indices into constant_pool of CONSTANT_public final java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.String toString(ConstantPool constant_pool)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
file
- Output file streamjava.io.IOException
public BootstrapMethod copy()