public class BootstrapMethods extends Attribute
| Modifier and Type | Field and Description |
|---|---|
private BootstrapMethod[] |
bootstrap_methods |
constant_pool, length, name_index, tag| Constructor and Description |
|---|
BootstrapMethods(BootstrapMethods c)
Initialize from another object.
|
BootstrapMethods(int name_index,
int length,
BootstrapMethod[] bootstrap_methods,
ConstantPool constant_pool) |
BootstrapMethods(int name_index,
int length,
java.io.DataInput input,
ConstantPool constant_pool)
Construct object from Input stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
BootstrapMethods |
copy(ConstantPool _constant_pool) |
void |
dump(java.io.DataOutputStream file)
Dump bootstrap methods attribute to file stream in binary format.
|
BootstrapMethod[] |
getBootstrapMethods() |
void |
setBootstrapMethods(BootstrapMethod[] bootstrap_methods) |
java.lang.String |
toString() |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndexprivate BootstrapMethod[] bootstrap_methods
public BootstrapMethods(BootstrapMethods c)
public BootstrapMethods(int name_index,
int length,
BootstrapMethod[] bootstrap_methods,
ConstantPool constant_pool)
name_index - Index in constant pool to CONSTANT_Utf8length - Content length in bytesbootstrap_methods - array of bootstrap methodsconstant_pool - Array of constantsBootstrapMethods(int name_index,
int length,
java.io.DataInput input,
ConstantPool constant_pool)
throws java.io.IOException
name_index - Index in constant pool to CONSTANT_Utf8length - Content length in bytesinput - Input streamconstant_pool - Array of constantsjava.io.IOExceptionpublic final BootstrapMethod[] getBootstrapMethods()
public final void setBootstrapMethods(BootstrapMethod[] bootstrap_methods)
bootstrap_methods - the array of bootstrap methodspublic void accept(Visitor v)
Attributepublic BootstrapMethods copy(ConstantPool _constant_pool)
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException