Class TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge

    • Field Detail

      • visibilityBridge

        private final MethodDescription visibilityBridge
        The visibility bridge.
      • bridgeTarget

        private final MethodDescription bridgeTarget
        The method the visibility bridge invokes.
      • bridgeType

        private final TypeDescription bridgeType
        The type on which the bridge method is invoked.
      • attributeAppender

        private final MethodAttributeAppender attributeAppender
        The attribute appender to apply to the visibility bridge.
    • Constructor Detail

      • OfVisibilityBridge

        protected OfVisibilityBridge​(MethodDescription visibilityBridge,
                                     MethodDescription bridgeTarget,
                                     TypeDescription bridgeType,
                                     MethodAttributeAppender attributeAppender)
        Creates a new record for a visibility bridge.
        Parameters:
        visibilityBridge - The visibility bridge.
        bridgeTarget - The method the visibility bridge invokes.
        bridgeType - The type of the instrumented type.
        attributeAppender - The attribute appender to apply to the visibility bridge.