Interface EnhancerClassLocator

All Superinterfaces:
net.bytebuddy.pool.TypePool
All Known Implementing Classes:
ModelTypePool

public interface EnhancerClassLocator extends net.bytebuddy.pool.TypePool
Extends the TypePool contract of ByteBuddy with our additional needs.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool

    net.bytebuddy.pool.TypePool.AbstractBase, net.bytebuddy.pool.TypePool.CacheProvider, net.bytebuddy.pool.TypePool.ClassLoading, net.bytebuddy.pool.TypePool.Default, net.bytebuddy.pool.TypePool.Empty, net.bytebuddy.pool.TypePool.Explicit, net.bytebuddy.pool.TypePool.LazyFacade, net.bytebuddy.pool.TypePool.Resolution
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bytebuddy.dynamic.ClassFileLocator
     
    void
    This can optionally be used to remove an explicit mapping when it's no longer essential to retain it.
    void
    registerClassNameAndBytes(String className, byte[] originalBytes)
    Register a new class to the locator explicitly.

    Methods inherited from interface net.bytebuddy.pool.TypePool

    clear, describe
  • Method Details

    • registerClassNameAndBytes

      void registerClassNameAndBytes(String className, byte[] originalBytes)
      Register a new class to the locator explicitly.
      Parameters:
      className -
      originalBytes -
    • deregisterClassNameAndBytes

      void deregisterClassNameAndBytes(String className)
      This can optionally be used to remove an explicit mapping when it's no longer essential to retain it. The underlying implementation might ignore the operation.
      Parameters:
      className -
    • asClassFileLocator

      net.bytebuddy.dynamic.ClassFileLocator asClassFileLocator()
      Returns:
      the underlying ClassFileLocator