Package net.bytebuddy.asm
Class Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType
- java.lang.Object
-
- net.bytebuddy.asm.Advice.Dispatcher.Resolved.AbstractBase
-
- net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved
-
- net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
-
- net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType
-
- All Implemented Interfaces:
Advice.Dispatcher
,Advice.Dispatcher.Resolved
,Advice.Dispatcher.Resolved.ForMethodEnter
- Enclosing class:
- Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
protected static class Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType extends Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
Implementation of an advice that does not expose an enter type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType, Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithRetainedEnterType
-
Nested classes/interfaces inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter, Advice.Dispatcher.Delegating.Resolved.ForMethodEnter, Advice.Dispatcher.Delegating.Resolved.ForMethodExit
-
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.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved
Advice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
-
-
Field Summary
-
Fields inherited from class net.bytebuddy.asm.Advice.Dispatcher.Resolved.AbstractBase
adviceMethod, offsetMappings, relocationHandler, suppressionHandler
-
Fields inherited from interface net.bytebuddy.asm.Advice.Dispatcher
IGNORE_ANNOTATION, IGNORE_METHOD
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDefinition
getEnterType()
Returns the type that this dispatcher supplies as a result of its advice or a description ofvoid
if no type is supplied as a result of the enter advice.-
Methods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
equals, hashCode, isPrependLineNumber, of, resolve
-
Methods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved
bind
-
Methods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Resolved.AbstractBase
isAlive
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
isAlive
-
Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved
bind
-
-
-
-
Constructor Detail
-
WithDiscardedEnterType
protected WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.- Parameters:
adviceMethod
- The represented advice method.userFactories
- A list of user-defined factories for offset mappings.
-
-
Method Detail
-
getEnterType
public TypeDefinition getEnterType()
Description copied from interface:Advice.Dispatcher.Resolved.ForMethodEnter
Returns the type that this dispatcher supplies as a result of its advice or a description ofvoid
if no type is supplied as a result of the enter advice.- Returns:
- The type that this dispatcher supplies as a result of its advice or a description of
void
.
-
-