类 TypeAnnotationAdder
java.lang.Object
proguard.classfile.editor.TypeAnnotationAdder
- 所有已实现的接口:
TypeAnnotationVisitor
This
TypeAnnotationVisitor adds all type annotations that it visits to the given target
annotation element value, target annotation attribute, or target parameter annotation attribute.-
构造器概要
构造器构造器说明TypeAnnotationAdder(ProgramClass targetClass, AnnotationElementValue targetAnnotationElementValue) Creates a new TypeAnnotationAdder that will copy annotations into the given target annotation element value.TypeAnnotationAdder(ProgramClass targetClass, AnnotationsAttribute targetAnnotationsAttribute) Creates a new TypeAnnotationAdder that will copy annotations into the given target annotations attribute. -
方法概要
修饰符和类型方法说明voidvisitTypeAnnotation(Clazz clazz, TypeAnnotation typeAnnotation) Visits any TypeAnnotation instance.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.attribute.annotation.visitor.TypeAnnotationVisitor
visitTypeAnnotation, visitTypeAnnotation, visitTypeAnnotation, visitTypeAnnotation, visitTypeAnnotation
-
构造器详细资料
-
TypeAnnotationAdder
public TypeAnnotationAdder(ProgramClass targetClass, AnnotationElementValue targetAnnotationElementValue) Creates a new TypeAnnotationAdder that will copy annotations into the given target annotation element value. -
TypeAnnotationAdder
public TypeAnnotationAdder(ProgramClass targetClass, AnnotationsAttribute targetAnnotationsAttribute) Creates a new TypeAnnotationAdder that will copy annotations into the given target annotations attribute.
-
-
方法详细资料
-
visitTypeAnnotation
从接口复制的说明:TypeAnnotationVisitorVisits any TypeAnnotation instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitTypeAnnotation在接口中TypeAnnotationVisitor
-