@HashCodeAndEqualsPlugin.Enhance protected static class AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice extends AgentBuilder.Transformer.ForAdvice.Entry
AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice, AgentBuilder.Transformer.ForAdvice.Entry.ForUnifiedAdvice
Modifier | Constructor and Description |
---|---|
protected |
ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher,
String enter,
String exit)
Creates a new entry for an advice class with explicit entry and exit advice classes.
|
Modifier and Type | Method and Description |
---|---|
protected Advice |
resolve(Advice.WithCustomMapping advice,
TypePool typePool,
ClassFileLocator classFileLocator)
Resolves the advice for this entry.
|
getMatcher
protected ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher, String enter, String exit)
matcher
- The matcher for advised methods.enter
- The fully-qualified, binary name of the enter advice class.exit
- The fully-qualified, binary name of the exit advice class.protected Advice resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator)
AgentBuilder.Transformer.ForAdvice.Entry
resolve
in class AgentBuilder.Transformer.ForAdvice.Entry
advice
- The advice configuration.typePool
- The type pool to use.classFileLocator
- The class file locator to use.Copyright © 2014–2022. All rights reserved.