类 ParameterAnnotationsAttributeEditor
- java.lang.Object
-
- proguard.classfile.editor.ParameterAnnotationsAttributeEditor
-
public class ParameterAnnotationsAttributeEditor extends java.lang.ObjectThis class can add annotations to a given parameter annotations attribute. Annotations to be added must have been filled out beforehand.
-
-
构造器概要
构造器 构造器 说明 ParameterAnnotationsAttributeEditor(ParameterAnnotationsAttribute targetParameterAnnotationsAttribute)Creates a new ParameterAnnotationsAttributeEditor that will edit annotations in the given parameter annotations attribute.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddAnnotation(int parameterIndex, Annotation annotation)Adds a given annotation to the annotations attribute.voiddeleteAnnotation(int parameterIndex, int annotationIndex)Deletes the annotation at the given index from the annotations attribute.voiddeleteAnnotation(int parameterIndex, Annotation annotation)Deletes a given annotation from the annotations attribute.
-
-
-
构造器详细资料
-
ParameterAnnotationsAttributeEditor
public ParameterAnnotationsAttributeEditor(ParameterAnnotationsAttribute targetParameterAnnotationsAttribute)
Creates a new ParameterAnnotationsAttributeEditor that will edit annotations in the given parameter annotations attribute.
-
-
方法详细资料
-
addAnnotation
public void addAnnotation(int parameterIndex, Annotation annotation)Adds a given annotation to the annotations attribute.
-
deleteAnnotation
public void deleteAnnotation(int parameterIndex, Annotation annotation)Deletes a given annotation from the annotations attribute.
-
deleteAnnotation
public void deleteAnnotation(int parameterIndex, int annotationIndex)Deletes the annotation at the given index from the annotations attribute.
-
-