类 AnnotationsAttributeEditor
java.lang.Object
proguard.classfile.editor.AnnotationsAttributeEditor
This class can add annotations to a given annotations attribute. Annotations to be added must
have been filled out beforehand.
-
构造器概要
构造器构造器说明AnnotationsAttributeEditor(AnnotationsAttribute targetAnnotationsAttribute) Creates a new AnnotationsAttributeEditor that will edit annotations in the given annotations attribute. -
方法概要
修饰符和类型方法说明voidaddAnnotation(Annotation annotation) Adds a given annotation to the annotations attribute.voiddeleteAnnotation(int index) Deletes the annotation at the given idnex from the annotations attribute.voiddeleteAnnotation(Annotation annotation) Deletes a given annotation from the annotations attribute.
-
构造器详细资料
-
AnnotationsAttributeEditor
Creates a new AnnotationsAttributeEditor that will edit annotations in the given annotations attribute.
-
-
方法详细资料
-
addAnnotation
Adds a given annotation to the annotations attribute. -
deleteAnnotation
Deletes a given annotation from the annotations attribute. -
deleteAnnotation
public void deleteAnnotation(int index) Deletes the annotation at the given idnex from the annotations attribute.
-