org.easymock.bytebuddy.jar.asm.FieldVisitor .
| Modifier and Type | Class and Description |
|---|---|
| public static class | FieldAttributeAppender.
A field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender. |
| public static class | FieldAttributeAppender.
Appends an annotation to a field. |
| public static interface | FieldAttributeAppender.
A factory that creates field attribute appenders for a given type. |
| public static enum | FieldAttributeAppender.
An attribute appender that writes all annotations that are declared on a field. |
| public static enum | FieldAttributeAppender.
A field attribute appender that does not append any attributes. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FieldVisitor
The field visitor to which the attributes that are represented by this attribute appender are written to. fieldVisitor, FieldDescription The description of the field to which the field visitor belongs to. fieldDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Applies this attribute appender to a given field visitor. |
| apply | back to summary |
|---|---|
| public void apply(FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given field visitor.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | fieldAttributeAppenders
The field attribute appenders this appender represents in their application order. |
| Access | Constructor and Description |
|---|---|
| public | Compound(FieldAttributeAppender...
The field attribute appenders that are to be combined by this compound appender
in the order of their application. fieldAttributeAppender)Creates a new compound field attribute appender. |
| public | Compound(List<? extends FieldAttributeAppender>
The field attribute appenders that are to be combined by this compound appender
in the order of their application. fieldAttributeAppenders)Creates a new compound field attribute appender. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FieldVisitor
The field visitor to which the attributes that are represented by this attribute appender are written to. fieldVisitor, FieldDescription The description of the field to which the field visitor belongs to. fieldDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements org. |
| fieldAttributeAppenders | back to summary |
|---|---|
| private final List<FieldAttributeAppender> fieldAttributeAppenders The field attribute appenders this appender represents in their application order. | |
| Compound | back to summary |
|---|---|
| public Compound(FieldAttributeAppender... fieldAttributeAppender) Creates a new compound field attribute appender.
| |
| Compound | back to summary |
|---|---|
| public Compound(List<? extends FieldAttributeAppender> fieldAttributeAppenders) Creates a new compound field attribute appender.
| |
| apply | back to summary |
|---|---|
| public void apply(FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Implements org. Doc from org. Applies this attribute appender to a given field visitor.
| |
java.lang.annotation.RetentionPolicy annotation.
| Modifier and Type | Field and Description |
|---|---|
| private final List | annotations
The annotations that this appender appends. |
| Access | Constructor and Description |
|---|---|
| public | Explicit(List<? extends AnnotationDescription>
The annotations to be appended to the field. annotations)Creates a new annotation attribute appender for explicit annotation values. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FieldVisitor
The field visitor to which the attributes that are represented by this attribute appender are written to. fieldVisitor, FieldDescription The description of the field to which the field visitor belongs to. fieldDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements org. |
| public FieldAttributeAppender | make(TypeDescription
The type for which a field attribute appender is to be applied for. typeDescription)Implements org. |
| annotations | back to summary |
|---|---|
| private final List<? extends AnnotationDescription> annotations The annotations that this appender appends. | |
| Explicit | back to summary |
|---|---|
| public Explicit(List<? extends AnnotationDescription> annotations) Creates a new annotation attribute appender for explicit annotation values. All values, including default values, are copied.
| |
| apply | back to summary |
|---|---|
| public void apply(FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Implements org. Doc from org. Applies this attribute appender to a given field visitor.
| |
| make | back to summary |
|---|---|
| public FieldAttributeAppender make(TypeDescription typeDescription) Implements org. Doc from org. Returns a field attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | FieldAttributeAppender.
A field attribute appender factory that combines several field attribute appender factories to be represented as a single factory. |
| Modifier and Type | Method and Description |
|---|---|
| public FieldAttributeAppender | Returns: The field attribute appender which should be applied for the given type.The type for which a field attribute appender is to be applied for. typeDescription)Returns a field attribute appender that is applicable for a given type description. |
| make | back to summary |
|---|---|
| public FieldAttributeAppender make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | factories
The factories that this compound factory represents in their application order. |
| Access | Constructor and Description |
|---|---|
| public | Compound(FieldAttributeAppender.
The factories to represent in the order of their application. factoryCreates a new compound field attribute appender factory. |
| public | Compound(List<? extends FieldAttributeAppender.
The factories to represent in the order of their application. factories)Creates a new compound field attribute appender factory. |
| Modifier and Type | Method and Description |
|---|---|
| public FieldAttributeAppender | make(TypeDescription
The type for which a field attribute appender is to be applied for. typeDescription)Implements org. |
| factories | back to summary |
|---|---|
| private final List<FieldAttributeAppender. The factories that this compound factory represents in their application order. | |
| Compound | back to summary |
|---|---|
| public Compound(FieldAttributeAppender. Creates a new compound field attribute appender factory.
| |
| Compound | back to summary |
|---|---|
| public Compound(List<? extends FieldAttributeAppender. Creates a new compound field attribute appender factory.
| |
| make | back to summary |
|---|---|
| public FieldAttributeAppender make(TypeDescription typeDescription) Implements org. Doc from org. Returns a field attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldAttributeAppender. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FieldVisitor
The field visitor to which the attributes that are represented by this attribute appender are written to. fieldVisitor, FieldDescription The description of the field to which the field visitor belongs to. fieldDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements org. |
| public FieldAttributeAppender | make(TypeDescription
The type for which a field attribute appender is to be applied for. typeDescription)Implements org. |
| public static FieldAttributeAppender. | |
| public static FieldAttributeAppender. |
| INSTANCE | back to summary |
|---|---|
| public static final FieldAttributeAppender. The singleton instance. | |
| ForInstrumentedField | back to summary |
|---|---|
| private ForInstrumentedField() | |
| apply | back to summary |
|---|---|
| public void apply(FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Implements org. Doc from org. Applies this attribute appender to a given field visitor.
| |
| make | back to summary |
|---|---|
| public FieldAttributeAppender make(TypeDescription typeDescription) Implements org. Doc from org. Returns a field attribute appender that is applicable for a given type description.
| |
| valueOf | back to summary |
|---|---|
| public static FieldAttributeAppender. | |
| values | back to summary |
|---|---|
| public static FieldAttributeAppender. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldAttributeAppender. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FieldVisitor
The field visitor to which the attributes that are represented by this attribute appender are written to. fieldVisitor, FieldDescription The description of the field to which the field visitor belongs to. fieldDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements org. |
| public FieldAttributeAppender | make(TypeDescription
The type for which a field attribute appender is to be applied for. typeDescription)Implements org. |
| public static FieldAttributeAppender. | |
| public static FieldAttributeAppender. |
| INSTANCE | back to summary |
|---|---|
| public static final FieldAttributeAppender. The singleton instance. | |
| NoOp | back to summary |
|---|---|
| private NoOp() | |
| apply | back to summary |
|---|---|
| public void apply(FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Implements org. Doc from org. Applies this attribute appender to a given field visitor.
| |
| make | back to summary |
|---|---|
| public FieldAttributeAppender make(TypeDescription typeDescription) Implements org. Doc from org. Returns a field attribute appender that is applicable for a given type description.
| |
| valueOf | back to summary |
|---|---|
| public static FieldAttributeAppender. | |
| values | back to summary |
|---|---|
| public static FieldAttributeAppender. | |