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

    • Constructor Detail

      • 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.