public static class FieldAttributeAppender.ForLoadedField extends Object implements FieldAttributeAppender, FieldAttributeAppender.Factory
FieldAttributeAppender.Compound, FieldAttributeAppender.Factory, FieldAttributeAppender.ForAnnotation, FieldAttributeAppender.ForLoadedField, FieldAttributeAppender.NoOpFieldAttributeAppender.Factory.Compound| Constructor and Description | 
|---|
| ForLoadedField(Field field)Creates a new field attribute appender that appends all annotations that are found on a loaded field. | 
| 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 ForLoadedField(Field field)
field - The field from which the annotations to append are read.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.