Package net.bytebuddy.asm
Class Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithRetainedEnterType
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.WithRetainedEnterType
- 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.WithRetainedEnterType
extends Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
Implementation of an advice that does 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.WithRetainedEnterTypeNested 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.ForMethodExitNested 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.UnresolvedNested 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.Delegating.Resolved
delegatorFields inherited from class net.bytebuddy.asm.Advice.Dispatcher.Resolved.AbstractBase
adviceMethod, offsetMappings, postProcessor, relocationHandler, suppressionHandlerFields inherited from interface net.bytebuddy.asm.Advice.Dispatcher
IGNORE_ANNOTATION, IGNORE_METHOD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type. -
Method Summary
Modifier and TypeMethodDescriptionThe type that is produced as a result of executing this advice method.Methods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
doResolve, getActualAdviceType, isPrependLineNumber, of, resolveMethods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Delegating.Resolved
bind, getNamedTypesMethods inherited from class net.bytebuddy.asm.Advice.Dispatcher.Resolved.AbstractBase
isAliveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
isAliveMethods inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved
bind, getNamedTypes
-
Constructor Details
-
WithRetainedEnterType
protected WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.- Parameters:
adviceMethod- The represented advice method.postProcessor- The post processor to apply.userFactories- A list of user-defined factories for offset mappings.exitType- The exit type orvoidif no exit type is defined.delegator- The delegator to use.
-
-
Method Details
-
getAdviceType
The type that is produced as a result of executing this advice method.- Returns:
- A description of the type that is produced by this advice method.
-