@HashCodeAndEqualsPlugin.Enhance public static class Advice.PostProcessor.Factory.Compound extends Object implements Advice.PostProcessor.Factory
Advice.PostProcessor.Factory.Compound
Constructor and Description |
---|
Compound(Advice.PostProcessor.Factory... factory)
Creates a compound post processor factory.
|
Compound(List<? extends Advice.PostProcessor.Factory> factories)
Creates a compound post processor factory.
|
Modifier and Type | Method and Description |
---|---|
Advice.PostProcessor |
make(MethodDescription.InDefinedShape advice,
boolean exit)
Creates a post processor for a given advice method.
|
public Compound(Advice.PostProcessor.Factory... factory)
factory
- The represented post processor factories.public Compound(List<? extends Advice.PostProcessor.Factory> factories)
factories
- The represented post processor factories.public Advice.PostProcessor make(MethodDescription.InDefinedShape advice, boolean exit)
make
in interface Advice.PostProcessor.Factory
advice
- The advice method to create the post processor for.exit
- true
if the advice is exit advice.Copyright © 2014–2020. All rights reserved.