类 BootstrapMethodsAttributeEditor
- java.lang.Object
-
- proguard.classfile.editor.BootstrapMethodsAttributeEditor
-
public class BootstrapMethodsAttributeEditor extends java.lang.ObjectThis 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
public BootstrapMethodsAttributeEditor(BootstrapMethodsAttribute targetBootstrapMethodsAttribute)
Creates a new BootstrapMethodsAttributeEditor that will edit bootstrap methods in the given bootstrap methods attribute.
-
-
方法详细资料
-
addBootstrapMethodInfo
public int addBootstrapMethodInfo(BootstrapMethodInfo bootstrapMethodInfo)
Adds a given bootstrap method to the bootstrap methods attribute.- 返回:
- the index of the bootstrap method.
-
removeBootstrapMethodInfo
public void removeBootstrapMethodInfo(BootstrapMethodInfo bootstrapMethodInfo)
Removes the given bootstrap method from the bootstrap method attribute.
-
-