public class BootstrapMethod extends Object implements Cloneable
Constructor and Description |
---|
BootstrapMethod(BootstrapMethod c)
Initialize from another object.
|
BootstrapMethod(int bootstrap_method_ref,
int[] bootstrap_arguments) |
Modifier and Type | Method and Description |
---|---|
BootstrapMethod |
copy() |
void |
dump(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) |
String |
toString() |
String |
toString(ConstantPool constant_pool) |
public BootstrapMethod(BootstrapMethod c)
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 String toString()
public final String toString(ConstantPool constant_pool)
public final void dump(DataOutputStream file) throws IOException
file
- Output file streamIOException
public BootstrapMethod copy()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.