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.Factory
A 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 class
ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.CreationAction
An action to create a suitable factory.static class
ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForJava9CapableVm
A factory for creating a substitutable class file transformer when the module system is supported.static class
ResettableClassFileTransformer.WithDelegation.WithCallback.Factory.ForLegacyVm
A 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 ResettableClassFileTransformer
make(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.
-
-