Class Advice.ArgumentHandler.ForInstrumentedMethod.Default

java.lang.Object
net.bytebuddy.asm.Advice.ArgumentHandler.ForInstrumentedMethod.Default
All Implemented Interfaces:
Advice.ArgumentHandler, Advice.ArgumentHandler.ForInstrumentedMethod
Direct Known Subclasses:
Advice.ArgumentHandler.ForInstrumentedMethod.Default.Copying, Advice.ArgumentHandler.ForInstrumentedMethod.Default.Simple
Enclosing interface:
Advice.ArgumentHandler.ForInstrumentedMethod

public abstract static class Advice.ArgumentHandler.ForInstrumentedMethod.Default extends Object implements Advice.ArgumentHandler.ForInstrumentedMethod
A default implementation of an argument handler for an instrumented method.
  • Field Details

    • instrumentedMethod

      protected final MethodDescription instrumentedMethod
      The instrumented method.
    • exitType

      protected final TypeDefinition exitType
      The exit type or void if no exit type is defined.
    • namedTypes

      protected final SortedMap<String,TypeDefinition> namedTypes
      A mapping of all available local variables by their name to their type.
    • enterType

      protected final TypeDefinition enterType
      The enter type or void if no enter type is defined.
  • Constructor Details

    • Default

      protected Default(MethodDescription instrumentedMethod, TypeDefinition exitType, SortedMap<String,TypeDefinition> namedTypes, TypeDefinition enterType)
      Creates a new default argument handler for an instrumented method.
      Parameters:
      instrumentedMethod - The instrumented method.
      exitType - The exit type or void if no exit type is defined.
      namedTypes - A mapping of all available local variables by their name to their type.
      enterType - The enter type or void if no enter type is defined.
  • Method Details