public static interface Advice.Dispatcher.Unresolved extends Advice.Dispatcher
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, 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,
org.objectweb.asm.ClassReader classReader,
Advice.Dispatcher.Unresolved methodExit,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
org.objectweb.asm.ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Map<String,TypeDefinition> |
getNamedTypes()
Returns the named types declared by this enter advice.
|
boolean |
isBinary()
Indicates that this dispatcher requires access to the class file declaring the advice method.
|
getAdviceType, isAlive
boolean isBinary()
true
if this dispatcher requires access to the advice method's class file.Map<String,TypeDefinition> getNamedTypes()
Advice.Dispatcher.Resolved.ForMethodEnter asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, @MaybeNull org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)
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.methodExit
- The unresolved dispatcher for the method exit advice.postProcessorFactory
- The post processor factory to use.Advice.Dispatcher.Resolved.ForMethodExit asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, @MaybeNull org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
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.methodEnter
- The unresolved dispatcher for the method enter advice.postProcessorFactory
- The post processor factory to use.Copyright © 2014–2022. All rights reserved.