protected static class Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithRetainedEnterType extends Advice.Dispatcher.Inlining.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType, Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithRetainedEnterTypeAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner, Advice.Dispatcher.Inlining.Resolved.ForMethodEnter, Advice.Dispatcher.Inlining.Resolved.ForMethodExitAdvice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.UnresolvedadviceMethod, classReaderoffsetMappings, postProcessor, relocationHandler, suppressionHandlerIGNORE_ANNOTATION, IGNORE_METHOD| Modifier | Constructor and Description |
|---|---|
protected |
WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod,
Advice.PostProcessor postProcessor,
Map<String,TypeDefinition> namedTypes,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
TypeDefinition exitType,
AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDefinition |
getAdviceType()
The type that is produced as a result of executing this advice method.
|
apply, bind, doApply, getActualAdviceType, getNamedTypes, isPrependLineNumber, of, resolveInitializationTypesisAliveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAliveprotected WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String,TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
adviceMethod - The represented advice method.postProcessor - The post processor to apply.namedTypes - A mapping of all available local variables by their name to their type.userFactories - A list of user-defined factories for offset mappings.exitType - The exit type or void if no exit type is defined.classReader - A class reader to query for the class file of the advice method.public TypeDefinition getAdviceType()
Copyright © 2014–2025. All rights reserved.