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 int getBootstrapMethodRef()
public void setBootstrapMethodRef(int bootstrapMethodRef)
bootstrapMethodRef
- int index into constant_pool of CONSTANT_MethodHandlepublic int[] getBootstrapArguments()
public int getNumBootstrapArguments()
public void setBootstrapArguments(int[] bootstrapArguments)
bootstrapArguments
- int[] indices into constant_pool of CONSTANT_[type]_infopublic final String toString()
public final String toString(ConstantPool constantPool)
public final void dump(DataOutputStream file) throws IOException
file
- Output file streamIOException
public BootstrapMethod copy()
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.