Package net.bytebuddy.agent.builder
Interface ResettableClassFileTransformer.WithDelegation.WithCallback.Factory
-
- All Known Implementing Classes:
ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVm,ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForLegacyVm
- Enclosing class:
- ResettableClassFileTransformer.WithDelegation.WithCallback<T>
static interface ResettableClassFileTransformer.WithDelegation.WithCallback.FactoryA factory that creates a resettable class file transformer depending on the availability of the module system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResettableClassFileTransformer.WithDelegation.WithCallback.Factory.CreationActionAn action to create a suitable factory.static classResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVmA factory for creating a substitutable class file transformer when the module system is supported.static classResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForLegacyVmA factory for a substitutable class file transformer when the module system is not supported.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResettableClassFileTransformermake(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback)Creates a new substitutable class file transformer.
-
-
-
Method Detail
-
make
ResettableClassFileTransformer make(ResettableClassFileTransformer classFileTransformer, ResettableClassFileTransformer.WithDelegation.Callback<?> callback)
Creates a new substitutable class file transformer.- Parameters:
classFileTransformer- The class file transformer to wrap.callback- The callback to invoke.- Returns:
- The wrapping class file transformer.
-
-