Class MethodRegistry.Default.Compiled

java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodRegistry.Default.Compiled
All Implemented Interfaces:
MethodRegistry.Compiled, TypeWriter.MethodPool
Enclosing class:
MethodRegistry.Default

@Enhance protected static class MethodRegistry.Default.Compiled extends Object implements MethodRegistry.Compiled
A compiled version of a default method registry.
  • Field Details

    • instrumentedType

      private final TypeDescription instrumentedType
      The instrumented type.
    • loadedTypeInitializer

      private final LoadedTypeInitializer loadedTypeInitializer
      The loaded type initializer of the instrumented type.
    • typeInitializer

      private final TypeInitializer typeInitializer
      The type initializer of the instrumented type.
    • methods

      private final MethodList<?> methods
      The declared or virtually inherited methods of this type.
    • implementations

      A map of all method descriptions mapped to their handling entries.
    • supportsBridges

      private final boolean supportsBridges
      true if the created type supports bridge methods.
  • Constructor Details

    • Compiled

      protected Compiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, MethodList<?> methods, LinkedHashMap<MethodDescription,MethodRegistry.Default.Compiled.Entry> implementations, boolean supportsBridges)
      Creates a new compiled version of a default method registry.
      Parameters:
      instrumentedType - The instrumented type.
      loadedTypeInitializer - The loaded type initializer of the instrumented type.
      typeInitializer - The type initializer of the instrumented type.
      methods - The declared or virtually inherited methods of this type.
      implementations - A map of all method descriptions mapped to their handling entries.
      supportsBridges - true if the created type supports bridge methods.
  • Method Details