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.SkipHandlerclassReader, instrumentedMethod, labels, methodSizeHandler, methodVisitor, stackMapFrameHandler, suppressionHandlerapi, cv| Constructor and Description |
|---|
AdviceMethodInliner(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
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.
|
String |
toString() |
doApply, prepare, visitMethodvisit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitOuterClass, visitSource, visitTypeAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpreparepublic AdviceMethodInliner(MethodDescription.InDefinedShape instrumentedMethod, MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, ClassReader classReader, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher skipDispatcher)
instrumentedMethod - The instrumented method.methodVisitor - The method visitor for writing the instrumented method.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–2016. All rights reserved.