Class Implementation.Context.Default.AccessorMethodDelegation

    • Field Detail

      • accessorMethodInvocation

        private final StackManipulation accessorMethodInvocation
        The stack manipulation that represents the requested special method invocation.
    • Constructor Detail

      • AccessorMethodDelegation

        protected AccessorMethodDelegation​(TypeDescription instrumentedType,
                                           java.lang.String suffix,
                                           MethodAccessorFactory.AccessType accessType,
                                           Implementation.SpecialMethodInvocation specialMethodInvocation)
        Creates a delegation to an accessor method.
        Parameters:
        instrumentedType - The instrumented type.
        suffix - The suffix to append to the method.
        accessType - The access type.
        specialMethodInvocation - The actual method's invocation.
      • AccessorMethodDelegation

        private AccessorMethodDelegation​(MethodDescription.InDefinedShape methodDescription,
                                         Visibility visibility,
                                         StackManipulation accessorMethodInvocation)
        Creates a delegation to an accessor method.
        Parameters:
        methodDescription - The accessor method.
        visibility - The method's visibility.
        accessorMethodInvocation - The actual method's invocation.