public static class FieldAttributeAppender.ForField extends Object implements FieldAttributeAppender, FieldAttributeAppender.Factory
FieldAttributeAppender.Compound, FieldAttributeAppender.Factory, FieldAttributeAppender.ForAnnotation, FieldAttributeAppender.ForField, FieldAttributeAppender.NoOpFieldAttributeAppender.Factory.Compound| Constructor and Description | 
|---|
| ForField(Field field,
        AnnotationAppender.ValueFilter valueFilter)Creates a new field attribute appender that appends all annotations that are found on a field. | 
| ForField(FieldDescription fieldDescription,
        AnnotationAppender.ValueFilter valueFilter)Creates a new field attribute appender that appends all annotations that are found on a field. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(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 ForField(Field field, AnnotationAppender.ValueFilter valueFilter)
field - The field from which the annotations to append are read.valueFilter - The value filter to apply for discovering which values of an annotation should be written.public ForField(FieldDescription fieldDescription, AnnotationAppender.ValueFilter valueFilter)
fieldDescription - The field from which the annotations to append are read.valueFilter - The value filter to apply for discovering which values of an annotation should be written.public void apply(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.