@HashCodeAndEqualsPlugin.Enhance protected abstract static class AgentBuilder.Transformer.ForAdvice.Entry extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice
An entry for an advice class where both entry and exit advice methods are declared by the different classes.
|
protected static class |
AgentBuilder.Transformer.ForAdvice.Entry.ForUnifiedAdvice
An entry for an advice class where both the (optional) entry and exit advice methods are declared by the same class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Entry(LatentMatcher<? super MethodDescription> matcher)
Creates a new entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected LatentMatcher<? super MethodDescription> |
getMatcher()
Returns the matcher for advised methods.
|
protected abstract Advice |
resolve(Advice.WithCustomMapping advice,
TypePool typePool,
ClassFileLocator classFileLocator)
Resolves the advice for this entry.
|
protected Entry(LatentMatcher<? super MethodDescription> matcher)
matcher - The matcher for advised methods.protected LatentMatcher<? super MethodDescription> getMatcher()
protected abstract Advice resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator)
advice - The advice configuration.typePool - The type pool to use.classFileLocator - The class file locator to use.Copyright © 2014–2019. All rights reserved.