@HashCodeAndEqualsPlugin.Enhance public static class FieldAttributeAppender.Factory.Compound extends java.lang.Object implements FieldAttributeAppender.Factory
FieldAttributeAppender.Factory.Compound
Modifier and Type | Field and Description |
---|---|
private java.util.List<FieldAttributeAppender.Factory> |
factories
The factories that this compound factory represents in their application order.
|
Constructor and Description |
---|
Compound(FieldAttributeAppender.Factory... factory)
Creates a new compound field attribute appender factory.
|
Compound(java.util.List<? extends FieldAttributeAppender.Factory> factories)
Creates a new compound field attribute appender factory.
|
Modifier and Type | Method and Description |
---|---|
FieldAttributeAppender |
make(TypeDescription typeDescription)
Returns a field attribute appender that is applicable for a given type description.
|
private final java.util.List<FieldAttributeAppender.Factory> factories
public Compound(FieldAttributeAppender.Factory... factory)
factory
- The factories to represent in the order of their application.public Compound(java.util.List<? extends FieldAttributeAppender.Factory> factories)
factories
- The factories to represent in the order of their application.public FieldAttributeAppender make(TypeDescription typeDescription)
make
in interface FieldAttributeAppender.Factory
typeDescription
- The type for which a field attribute appender is to be applied for.