Package net.bytebuddy.dynamic.scaffold
Class MethodRegistry.Handler.ForVisibilityBridge.Compiled
java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler.ForVisibilityBridge.Compiled
- All Implemented Interfaces:
MethodRegistry.Handler.Compiled
- Enclosing class:
- MethodRegistry.Handler.ForVisibilityBridge
@Enhance
protected static class MethodRegistry.Handler.ForVisibilityBridge.Compiled
extends Object
implements MethodRegistry.Handler.Compiled
A compiled handler for a visibility bridge handler.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Compiled
(TypeDescription instrumentedType) Creates a new compiled handler for a visibility bridge. -
Method Summary
Modifier and TypeMethodDescriptionassemble
(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.
-
Field Details
-
instrumentedType
The instrumented type.
-
-
Constructor Details
-
Compiled
Creates a new compiled handler for a visibility bridge.- Parameters:
instrumentedType
- The instrumented type.
-
-
Method Details
-
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 interfaceMethodRegistry.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.
-