Class TypeWriter.MethodPool.Record.AccessBridgeWrapper

    • Constructor Detail

      • AccessBridgeWrapper

        protected AccessBridgeWrapper​(TypeWriter.MethodPool.Record delegate,
                                      TypeDescription instrumentedType,
                                      MethodDescription bridgeTarget,
                                      Set<MethodDescription.TypeToken> bridgeTypes,
                                      MethodAttributeAppender attributeAppender)
        Creates a wrapper for adding accessor bridges.
        Parameters:
        delegate - The delegate for implementing the bridge's target.
        instrumentedType - The instrumented type that defines the bridge methods and the bridge target.
        bridgeTarget - The target of the bridge method.
        bridgeTypes - A collection of all tokens representing all bridge methods.
        attributeAppender - The attribute appender being applied for the bridge target.