protected static class Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType extends Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType, Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithRetainedEnterType
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter, Advice.Dispatcher.Delegating.Resolved.ForMethodEnter, Advice.Dispatcher.Delegating.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
adviceMethod, offsetMappings, relocationHandler, suppressionHandler
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier | Constructor and Description |
---|---|
protected |
WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
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. |
equals, hashCode, isPrependLineNumber, of, resolve
bind
isAlive
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
bind
isAlive
protected WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
adviceMethod
- The represented advice method.userFactories
- A list of user-defined factories for offset mappings.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.