Package net.bytebuddy.agent.builder
Class AgentBuilder.Transformer.ForBuildPlugin
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForBuildPlugin
-
- All Implemented Interfaces:
AgentBuilder.Transformer
- Enclosing interface:
- AgentBuilder.Transformer
public static class AgentBuilder.Transformer.ForBuildPlugin extends java.lang.Object implements AgentBuilder.Transformer
A transformer that applies a buildPlugin.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Transformer
AgentBuilder.Transformer.Compound, AgentBuilder.Transformer.ForAdvice, AgentBuilder.Transformer.ForBuildPlugin, AgentBuilder.Transformer.NoOp
-
-
Constructor Summary
Constructors Constructor Description ForBuildPlugin(Plugin plugin)Creates a new transformer for a buildPlugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicType.Builder<?>transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module)Allows for a transformation of aDynamicType.Builder.
-
-
-
Method Detail
-
transform
public DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, java.lang.ClassLoader classLoader, JavaModule module)
Description copied from interface:AgentBuilder.TransformerAllows for a transformation of aDynamicType.Builder.- Specified by:
transformin interfaceAgentBuilder.Transformer- Parameters:
builder- The dynamic builder to transform.typeDescription- The description of the type currently being instrumented.classLoader- The class loader of the instrumented class. Might benullto represent the bootstrap class loader.module- The class's module ornullif the current VM does not support modules.- Returns:
- A transformed version of the supplied
builder.
-
-