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