public class BootstrapMethodsAttribute extends AttributeInfo
| Modifier and Type | Class | Description |
|---|---|---|
static class |
BootstrapMethodsAttribute.BootstrapMethod |
An element of
bootstrap_methods. |
| Modifier and Type | Field | Description |
|---|---|---|
static String |
tag |
The name of this attribute
"BootstrapMethods". |
constPool| Constructor | Description |
|---|---|
BootstrapMethodsAttribute(ConstPool cp,
BootstrapMethodsAttribute.BootstrapMethod[] methods) |
Constructs a BootstrapMethods attribute.
|
| Modifier and Type | Method | Description |
|---|---|---|
AttributeInfo |
copy(ConstPool newCp,
Map<String,String> classnames) |
Makes a copy.
|
BootstrapMethodsAttribute.BootstrapMethod[] |
getMethods() |
Obtains
bootstrap_methods in this attribute. |
get, getConstPool, getName, length, setpublic static final String tag
"BootstrapMethods".public BootstrapMethodsAttribute(ConstPool cp, BootstrapMethodsAttribute.BootstrapMethod[] methods)
cp - a constant pool table.methods - the contents.public BootstrapMethodsAttribute.BootstrapMethod[] getMethods()
bootstrap_methods in this attribute.BootstrapMethod. Since it
is a fresh copy, modifying the returned array does not
affect the original contents of this attribute.public AttributeInfo copy(ConstPool newCp, Map<String,String> classnames)
Map object.copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - pairs of replaced and substituted
class names.Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.