Interface Plugin.WithInitialization

All Superinterfaces:
AutoCloseable, Closeable, ElementMatcher<TypeDescription>, Plugin
Enclosing interface:
Plugin

public static interface Plugin.WithInitialization extends Plugin
Allows for the generation of types before a plugin is applied.
  • Method Details

    • initialize

      Map<TypeDescription,byte[]> initialize(ClassFileLocator classFileLocator)
      Returns a mapping of classes that should be created before discovering any types.
      Parameters:
      classFileLocator - A class file locator that can locate other types in the scope of the project.
      Returns:
      A mapping of types to their binary representation.