public static class FieldAttributeAppender.ForAnnotation extends Object implements FieldAttributeAppender, FieldAttributeAppender.Factory
RetentionPolicy annotation.FieldAttributeAppender.Compound, FieldAttributeAppender.Factory, FieldAttributeAppender.ForAnnotation, FieldAttributeAppender.ForLoadedField, FieldAttributeAppender.NoOpFieldAttributeAppender.Factory.Compound| Constructor and Description | 
|---|
| ForAnnotation(List<? extends AnnotationDescription> annotations)Creates a new field annotation appender. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(org.objectweb.asm.FieldVisitor fieldVisitor,
     FieldDescription fieldDescription)Applies this attribute appender to a given field visitor. | 
| boolean | equals(Object other) | 
| int | hashCode() | 
| FieldAttributeAppender | make(TypeDescription typeDescription)Returns a field attribute appender that is applicable for a given type description. | 
| String | toString() | 
public ForAnnotation(List<? extends AnnotationDescription> annotations)
annotations - The annotations to be appended to the field.public void apply(org.objectweb.asm.FieldVisitor fieldVisitor,
                  FieldDescription fieldDescription)
FieldAttributeAppenderapply in interface FieldAttributeAppenderfieldVisitor - The field visitor to which the attributes that are represented by this attribute appender
                         are written to.fieldDescription - The description of the field to which the field visitor belongs to.public FieldAttributeAppender make(TypeDescription typeDescription)
FieldAttributeAppender.Factorymake in interface FieldAttributeAppender.FactorytypeDescription - The type for which a field attribute appender is to be applied for.Copyright © 2014–2015. All rights reserved.