类 BootstrapMethodsAttributeEditor
java.lang.Object
proguard.classfile.editor.BootstrapMethodsAttributeEditor
This class can add/remove bootstrap methods to/from a given bootstrap methods attribute.
Bootstrap methods to be added must have been filled out beforehand.
-
构造器概要
构造器构造器说明BootstrapMethodsAttributeEditor(BootstrapMethodsAttribute targetBootstrapMethodsAttribute) Creates a new BootstrapMethodsAttributeEditor that will edit bootstrap methods in the given bootstrap methods attribute. -
方法概要
修饰符和类型方法说明intaddBootstrapMethodInfo(BootstrapMethodInfo bootstrapMethodInfo) Adds a given bootstrap method to the bootstrap methods attribute.voidremoveBootstrapMethodInfo(BootstrapMethodInfo bootstrapMethodInfo) Removes the given bootstrap method from the bootstrap method attribute.
-
构造器详细资料
-
BootstrapMethodsAttributeEditor
Creates a new BootstrapMethodsAttributeEditor that will edit bootstrap methods in the given bootstrap methods attribute.
-
-
方法详细资料
-
addBootstrapMethodInfo
Adds a given bootstrap method to the bootstrap methods attribute.- 返回:
- the index of the bootstrap method.
-
removeBootstrapMethodInfo
Removes the given bootstrap method from the bootstrap method attribute.
-