Class MethodRegistry.Handler.ForVisibilityBridge.Compiled

    • Field Detail

      • instrumentedType

        private final TypeDescription instrumentedType
        The instrumented type.
    • Constructor Detail

      • Compiled

        protected Compiled​(TypeDescription instrumentedType)
        Creates a new compiled handler for a visibility bridge.
        Parameters:
        instrumentedType - The instrumented type.
    • Method Detail

      • assemble

        public TypeWriter.MethodPool.Record assemble​(MethodDescription methodDescription,
                                                     MethodAttributeAppender attributeAppender,
                                                     Visibility visibility)
        Assembles this compiled entry with a method attribute appender.
        Specified by:
        assemble in interface MethodRegistry.Handler.Compiled
        Parameters:
        methodDescription - The method description to apply with this handler.
        attributeAppender - The method attribute appender to apply together with this handler.
        visibility - The represented method's minimum visibility.
        Returns:
        A method pool entry representing this handler and the given attribute appender.