public class BootstrapMethods extends Attribute
constant_pool, length, name_index, tag
Constructor and Description |
---|
BootstrapMethods(int name_index,
int length,
BootstrapMethod[] bootstrap_methods,
ConstantPool constant_pool) |
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(DataOutputStream file)
Dump bootstrap methods attribute to file stream in binary format.
|
BootstrapMethod[] |
getBootstrapMethods() |
void |
setBootstrapMethods(BootstrapMethod[] bootstrap_methods) |
addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
public BootstrapMethods(int name_index, int length, BootstrapMethod[] bootstrap_methods, ConstantPool constant_pool)
public final BootstrapMethod[] getBootstrapMethods()
public final void setBootstrapMethods(BootstrapMethod[] bootstrap_methods)
public void accept(Visitor v)
Attribute
public BootstrapMethods copy(ConstantPool _constant_pool)
public final void dump(DataOutputStream file) throws IOException
dump
in class Attribute
file
- Output file streamIOException