Class MethodIdOffsetMapping

java.lang.Object
fr.bl.drit.flow.agent.MethodIdOffsetMapping
All Implemented Interfaces:
net.bytebuddy.asm.Advice.OffsetMapping

@Enhance public final class MethodIdOffsetMapping extends Object implements net.bytebuddy.asm.Advice.OffsetMapping
Custom OffsetMapping to inject method IDs into the advice. Method IDs are assigned by the provided MethodIdMapping.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.OffsetMapping

    net.bytebuddy.asm.Advice.OffsetMapping.Factory<T extends Annotation>, net.bytebuddy.asm.Advice.OffsetMapping.ForAllArguments, net.bytebuddy.asm.Advice.OffsetMapping.ForArgument, net.bytebuddy.asm.Advice.OffsetMapping.ForDynamicConstant, net.bytebuddy.asm.Advice.OffsetMapping.ForEnterValue, net.bytebuddy.asm.Advice.OffsetMapping.ForExitValue, net.bytebuddy.asm.Advice.OffsetMapping.ForField, net.bytebuddy.asm.Advice.OffsetMapping.ForFieldHandle, net.bytebuddy.asm.Advice.OffsetMapping.ForHandle, net.bytebuddy.asm.Advice.OffsetMapping.ForInstrumentedMethod, net.bytebuddy.asm.Advice.OffsetMapping.ForInstrumentedType, net.bytebuddy.asm.Advice.OffsetMapping.ForLocalValue, net.bytebuddy.asm.Advice.OffsetMapping.ForOrigin, net.bytebuddy.asm.Advice.OffsetMapping.ForReturnValue, net.bytebuddy.asm.Advice.OffsetMapping.ForSelfCallHandle, net.bytebuddy.asm.Advice.OffsetMapping.ForSerializedValue, net.bytebuddy.asm.Advice.OffsetMapping.ForStackManipulation, net.bytebuddy.asm.Advice.OffsetMapping.ForStubValue, net.bytebuddy.asm.Advice.OffsetMapping.ForThisReference, net.bytebuddy.asm.Advice.OffsetMapping.ForThrowable, net.bytebuddy.asm.Advice.OffsetMapping.ForUnusedValue, net.bytebuddy.asm.Advice.OffsetMapping.Sort, net.bytebuddy.asm.Advice.OffsetMapping.Target
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bytebuddy.asm.Advice.OffsetMapping.Target
    resolve(net.bytebuddy.description.type.TypeDescription instrumentedType, net.bytebuddy.description.method.MethodDescription instrumentedMethod, net.bytebuddy.implementation.bytecode.assign.Assigner assigner, net.bytebuddy.asm.Advice.ArgumentHandler argumentHandler, net.bytebuddy.asm.Advice.OffsetMapping.Sort sort)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • resolve

      public net.bytebuddy.asm.Advice.OffsetMapping.Target resolve(net.bytebuddy.description.type.TypeDescription instrumentedType, net.bytebuddy.description.method.MethodDescription instrumentedMethod, net.bytebuddy.implementation.bytecode.assign.Assigner assigner, net.bytebuddy.asm.Advice.ArgumentHandler argumentHandler, net.bytebuddy.asm.Advice.OffsetMapping.Sort sort)
      Specified by:
      resolve in interface net.bytebuddy.asm.Advice.OffsetMapping