public static interface Advice.Dispatcher.Unresolved extends Advice.Dispatcher
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.Resolved.ForMethodEnter |
asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
asMethodExitTo(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
Resolves this dispatcher as a dispatcher for exiting a method.
|
boolean |
isBinary()
Indicates that this dispatcher requires access to the class file declaring the advice method.
|
isAlive
boolean isBinary()
true
if this dispatcher requires access to the advice method's class file.Advice.Dispatcher.Resolved.ForMethodEnter asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, ClassReader classReader)
userFactories
- A list of custom factories for binding parameters of an advice method.classReader
- A class reader to query for a class file which might be null
if this dispatcher is not binary.Advice.Dispatcher.Resolved.ForMethodExit asMethodExitTo(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, ClassReader classReader, Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
userFactories
- A list of custom factories for binding parameters of an advice method.classReader
- A class reader to query for a class file which might be null
if this dispatcher is not binary.dispatcher
- The dispatcher for entering a method.Copyright © 2014–2017. All rights reserved.