public static class AnnotationAppender.Target.OnField extends Object implements AnnotationAppender.Target
AnnotationAppender.Target.OnField, AnnotationAppender.Target.OnMethod, AnnotationAppender.Target.OnMethodParameter, AnnotationAppender.Target.OnType| Constructor and Description | 
|---|
| OnField(FieldVisitor fieldVisitor)Creates a new wrapper for a Java field. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| String | toString() | 
| AnnotationVisitor | visit(String annotationTypeDescriptor,
     boolean visible)Creates an annotation visitor for writing the specified annotation. | 
| AnnotationVisitor | visit(String annotationTypeDescriptor,
     boolean visible,
     int typeReference,
     String typePath)Creates an annotation visitor for writing the specified type annotation. | 
public OnField(FieldVisitor fieldVisitor)
fieldVisitor - The ASM field visitor to which the annotations are appended to.public AnnotationVisitor visit(String annotationTypeDescriptor, boolean visible)
AnnotationAppender.Targetvisit in interface AnnotationAppender.TargetannotationTypeDescriptor - The type descriptor for the annotation to be written.visible - true if the annotation is to be visible at runtime.public AnnotationVisitor visit(String annotationTypeDescriptor, boolean visible, int typeReference, String typePath)
AnnotationAppender.Targetvisit in interface AnnotationAppender.TargetannotationTypeDescriptor - The type descriptor for the annotation to be written.visible - true if the annotation is to be visible at runtime.typeReference - The type annotation's type reference.typePath - The type annotation's type path.Copyright © 2014–2016. All rights reserved.