Interface ClassTransformerRegistry

All Known Implementing Classes:
DefaultClassTransformerRegistry

public interface ClassTransformerRegistry
A registry for class transformers that should be called when a new class gets loaded.
Since:
4.0
  • Method Details

    • registerTransformer

      void registerTransformer(@NonNull @NonNull ClassTransformer transformer)
      Registers the given transformer into this registry. There is no guarantee that calling this method with the same transformer twice will result in a single registration.
      Parameters:
      transformer - the transformer to register into this registry.
      Throws:
      NullPointerException - if the given transformer is null.