protected class Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.AdviceMethodInliner extends Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner implements Advice.Dispatcher.Bound.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableCollector, Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableExtractor, Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.ExceptionTableSubstitutorAdvice.Dispatcher.Bound.ForMethodEnter, Advice.Dispatcher.Bound.ForMethodExit, Advice.Dispatcher.Bound.SkipHandlerargumentHandler, assigner, classReader, implementationContext, instrumentedMethod, instrumentedType, labels, methodSizeHandler, methodVisitor, stackMapFrameHandler, suppressionHandlerapi, cv| Modifier | Constructor and Description |
|---|---|
protected |
AdviceMethodInliner(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
ClassReader classReader,
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher skipDispatcher)
Creates a new advice method inliner for a method enter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this dispatcher.
|
doApply, prepare, visitMethodvisit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitOuterClass, visitSource, visitTypeAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareprotected AdviceMethodInliner(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, ClassReader classReader, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher skipDispatcher)
instrumentedType - A description of the instrumented type.instrumentedMethod - A description of the instrumented method.methodVisitor - The method visitor for writing the instrumented method.implementationContext - The implementation context to use.assigner - The assigner to use.argumentHandler - A handler for accessing values on the local variable array.methodSizeHandler - A handler for computing the method size requirements.stackMapFrameHandler - A handler for translating and injecting stack map frames.suppressionHandler - A bound suppression handler that is used for suppressing exceptions of this advice method.classReader - A class reader for parsing the class file containing the represented advice method.skipDispatcher - The skip dispatcher to use.public void apply(Advice.Dispatcher.Bound.SkipHandler skipHandler)
Advice.Dispatcher.Bound.ForMethodEnterapply in interface Advice.Dispatcher.Bound.ForMethodEnterskipHandler - The skip handler to use.Copyright © 2014–2018. All rights reserved.