Class TypePollutionTransformer

java.lang.Object
io.micronaut.test.typepollution.TypePollutionTransformer
All Implemented Interfaces:
net.bytebuddy.agent.builder.AgentBuilder.Transformer

public final class TypePollutionTransformer extends Object implements net.bytebuddy.agent.builder.AgentBuilder.Transformer
AgentBuilder.Transformer implementation that installs the necessary hooks to call into the FocusListener.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Transformer

    net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForAdvice, net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForBuildPlugin
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.bytebuddy.agent.builder.AgentBuilder.Transformer
    Create a new instance of this transformer.
    static void
    install(Instrumentation instrumentation)
    Install this transformer into the given Instrumentation.
    net.bytebuddy.dynamic.DynamicType.Builder<?>
    transform(net.bytebuddy.dynamic.DynamicType.Builder<?> builder, net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, ProtectionDomain protectionDomain)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static net.bytebuddy.agent.builder.AgentBuilder.Transformer create()
      Create a new instance of this transformer.
      Returns:
      The instance
    • transform

      public net.bytebuddy.dynamic.DynamicType.Builder<?> transform(net.bytebuddy.dynamic.DynamicType.Builder<?> builder, net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule module, ProtectionDomain protectionDomain)
      Specified by:
      transform in interface net.bytebuddy.agent.builder.AgentBuilder.Transformer
    • install

      public static void install(Instrumentation instrumentation)
      Install this transformer into the given Instrumentation.
      Parameters:
      instrumentation - The instrumentation used for modifying classes