Class Advice.OffsetMapping.ForArgument.Resolved.Factory<T extends Annotation>

java.lang.Object
net.bytebuddy.asm.Advice.OffsetMapping.ForArgument.Resolved.Factory<T>
Type Parameters:
T - The type of the bound annotation.
All Implemented Interfaces:
Advice.OffsetMapping.Factory<T>
Enclosing class:
Advice.OffsetMapping.ForArgument.Resolved

@Enhance public static class Advice.OffsetMapping.ForArgument.Resolved.Factory<T extends Annotation> extends Object implements Advice.OffsetMapping.Factory<T>
A factory for a parameter argument of the instrumented method.
  • Constructor Details

    • Factory

      public Factory(Class<T> annotationType, ParameterDescription parameterDescription)
      Creates a new factory for binding a parameter of the instrumented method with read-only semantics and static typing.
      Parameters:
      annotationType - The annotation type.
      parameterDescription - The bound parameter.
    • Factory

      public Factory(Class<T> annotationType, ParameterDescription parameterDescription, boolean readOnly, Assigner.Typing typing)
      Creates a new factory for binding a parameter of the instrumented method.
      Parameters:
      annotationType - The annotation type.
      parameterDescription - The bound parameter.
      readOnly - true if the factory should create a read-only binding.
      typing - The typing to use.
  • Method Details