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

    • Field Detail

      • annotationType

        private final java.lang.Class<T extends java.lang.annotation.Annotation> annotationType
        The annotation type.
      • parameterDescription

        private final ParameterDescription parameterDescription
        The bound parameter.
      • readOnly

        private final boolean readOnly
        true if the factory should create a read-only binding.
    • Constructor Detail

      • Factory

        public Factory​(java.lang.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​(java.lang.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.