public class BootstrapMethod extends Object implements Cloneable
| Constructor and Description |
|---|
BootstrapMethod(BootstrapMethod c)
Initialize from another object.
|
BootstrapMethod(int bootstrapMethodRef,
int[] bootstrapArguments) |
| 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[] bootstrapArguments) |
void |
setBootstrapMethodRef(int bootstrapMethodRef) |
String |
toString() |
String |
toString(ConstantPool constantPool) |
public BootstrapMethod(BootstrapMethod c)
public BootstrapMethod(int bootstrapMethodRef, int[] bootstrapArguments)
bootstrapMethodRef - int index into constant_pool of CONSTANT_MethodHandlebootstrapArguments - int[] indices into constant_pool of CONSTANT_[type]_infopublic BootstrapMethod copy()
public final void dump(DataOutputStream file) throws IOException
file - Output file streamIOException - if an I/O error occurs.public int[] getBootstrapArguments()
public int getBootstrapMethodRef()
public int getNumBootstrapArguments()
public void setBootstrapArguments(int[] bootstrapArguments)
bootstrapArguments - int[] indices into constant_pool of CONSTANT_[type]_infopublic void setBootstrapMethodRef(int bootstrapMethodRef)
bootstrapMethodRef - int index into constant_pool of CONSTANT_MethodHandlepublic final String toString(ConstantPool constantPool)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.