public class BootstrapMethodsAttribute extends AttributeInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
BootstrapMethodsAttribute.BootstrapMethod
An element of
bootstrap_methods. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
tag
The name of this attribute
"BootstrapMethods". |
| Constructor and Description |
|---|
BootstrapMethodsAttribute(ConstPool cp,
BootstrapMethodsAttribute.BootstrapMethod[] methods)
Constructs a BootstrapMethods attribute.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy.
|
BootstrapMethodsAttribute.BootstrapMethod[] |
getMethods()
Obtains
bootstrap_methods in this attribute. |
get, getConstPool, getName, length, setpublic static final java.lang.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, java.util.Map classnames)
Map object.copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - pairs of replaced and substituted
class names.Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.