Package javassist.bytecode
Class BootstrapMethodsAttribute
java.lang.Object
javassist.bytecode.AttributeInfo
javassist.bytecode.BootstrapMethodsAttribute
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An element ofbootstrap_methods
. -
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a BootstrapMethods attribute. -
Method Summary
Modifier and TypeMethodDescriptionMakes a copy.Obtainsbootstrap_methods
in this attribute.Methods inherited from class javassist.bytecode.AttributeInfo
get, getConstPool, getName, length, set
-
Field Details
-
tag
The name of this attribute"BootstrapMethods"
.- See Also:
-
-
Constructor Details
-
BootstrapMethodsAttribute
Constructs a BootstrapMethods attribute.- Parameters:
cp
- a constant pool table.methods
- the contents.
-
-
Method Details
-
getMethods
Obtainsbootstrap_methods
in this attribute.- Returns:
- an array of
BootstrapMethod
. Since it is a fresh copy, modifying the returned array does not affect the original contents of this attribute.
-
copy
Makes a copy. Class names are replaced according to the givenMap
object.- Overrides:
copy
in classAttributeInfo
- Parameters:
newCp
- the constant pool table used by the new copy.classnames
- pairs of replaced and substituted class names.
-