Package net.bytebuddy.asm
Interface Advice.Dispatcher.Unresolved
-
- All Superinterfaces:
Advice.Dispatcher
- All Known Implementing Classes:
Advice.Dispatcher.Delegating
,Advice.Dispatcher.Inactive
,Advice.Dispatcher.Inlining
- Enclosing interface:
- Advice.Dispatcher
public static interface Advice.Dispatcher.Unresolved extends Advice.Dispatcher
A dispatcher that is not yet resolved.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.asm.Advice.Dispatcher
IGNORE_ANNOTATION, IGNORE_METHOD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Advice.Dispatcher.Resolved.ForMethodEnter
asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader)
Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodExit
asMethodExitTo(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.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.-
Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
isAlive
-
-
-
-
Method Detail
-
isBinary
boolean isBinary()
Indicates that this dispatcher requires access to the class file declaring the advice method.- Returns:
true
if this dispatcher requires access to the advice method's class file.
-
asMethodEnter
Advice.Dispatcher.Resolved.ForMethodEnter asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader)
Resolves this dispatcher as a dispatcher for entering a method.- Parameters:
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 benull
if this dispatcher is not binary.- Returns:
- This dispatcher as a dispatcher for entering a method.
-
asMethodExitTo
Advice.Dispatcher.Resolved.ForMethodExit asMethodExitTo(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
Resolves this dispatcher as a dispatcher for exiting a method.- Parameters:
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 benull
if this dispatcher is not binary.dispatcher
- The dispatcher for entering a method.- Returns:
- This dispatcher as a dispatcher for exiting a method.
-
-