Class MethodRegistry.Default.Compiled.Entry

java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodRegistry.Default.Compiled.Entry
Enclosing class:
MethodRegistry.Default.Compiled

@Enhance protected static class MethodRegistry.Default.Compiled.Entry extends Object
An entry of a compiled method registry.
  • Constructor Details

    • Entry

      protected Entry(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, Set<MethodDescription.TypeToken> bridgeTypes, Visibility visibility, boolean bridgeMethod)
      Creates a new entry for a compiled method registry.
      Parameters:
      handler - The handler to be used for implementing a method.
      attributeAppender - The attribute appender of a compiled method.
      methodDescription - The method to be implemented including potential transformations.
      bridgeTypes - The type tokens representing all bridge methods for the method.
      visibility - The represented method's minimum visibility.
      bridgeMethod - true if this entry represents a bridge method.
  • Method Details

    • bind

      protected TypeWriter.MethodPool.Record bind(TypeDescription instrumentedType, boolean supportsBridges)
      Transforms this entry into a method record.
      Parameters:
      instrumentedType - The instrumented type to bind.
      supportsBridges - true if the record should support bridge methods.
      Returns:
      A record representing this entry's properties.