Record Class DefaultClassTransformerRegistry.RegisteredClassTransformer

java.lang.Object
java.lang.Record
eu.cloudnetservice.wrapper.transform.DefaultClassTransformerRegistry.RegisteredClassTransformer
Record Components:
transformer - the transformer to obtain the class file transform instance from for accepted classes.
instrumentation - the instrumentation to which this transformer is registered.
All Implemented Interfaces:
ClassFileTransformer
Enclosing class:
DefaultClassTransformerRegistry

private static record DefaultClassTransformerRegistry.RegisteredClassTransformer(@NonNull ClassTransformer transformer, @NonNull Instrumentation instrumentation) extends Record implements ClassFileTransformer
An implementation of a class file transformer that parses and transforms class files using the given CloudNet transformer. The transform call is ignored if the given transformer is rejecting the class, and this transformer will be unregistered from the given instrumentation if the acceptance check returns ClassTransformer.TransformWillingness.ACCEPT_ONCE.
Since:
4.0