@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 and Type | Field and Description |
|---|---|
private java.lang.String |
enter
The fully-qualified, binary name of the enter advice class.
|
private java.lang.String |
exit
The fully-qualified, binary name of the exit advice class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher,
java.lang.String enter,
java.lang.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.
|
getMatcherprivate final java.lang.String enter
private final java.lang.String exit
protected ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher, java.lang.String enter, java.lang.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.Entryresolve in class AgentBuilder.Transformer.ForAdvice.Entryadvice - The advice configuration.typePool - The type pool to use.classFileLocator - The class file locator to use.