protected static class Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType extends Advice.Dispatcher.Inlining.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType, Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithRetainedEnterType
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner, Advice.Dispatcher.Inlining.Resolved.ForMethodEnter, Advice.Dispatcher.Inlining.Resolved.ForMethodExit
Advice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
classReader
adviceMethod, offsetMappings, relocationHandler, suppressionHandler
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier | Constructor and Description |
---|---|
protected |
WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
org.objectweb.asm.ClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
getEnterType()
Returns the type that this dispatcher supplies as a result of its advice or a description of
void if
no type is supplied as a result of the enter advice. |
apply, bind, isPrependLineNumber, of
isAlive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlive
protected WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader)
adviceMethod
- The represented advice method.userFactories
- A list of user-defined factories for offset mappings.classReader
- A class reader to query for the class file of the advice method.public TypeDefinition getEnterType()
Advice.Dispatcher.Resolved.ForMethodEnter
void
if
no type is supplied as a result of the enter advice.void
.Copyright © 2014–2018. All rights reserved.