Package net.bytebuddy.asm
Class ClassVisitorFactory.CreateClassVisitorFactory<S>
java.lang.Object
net.bytebuddy.asm.ClassVisitorFactory.CreateClassVisitorFactory<S>
- Type Parameters:
S
- The type of the class visitor to map to.
- All Implemented Interfaces:
PrivilegedAction<ClassVisitorFactory<S>>
- Enclosing class:
ClassVisitorFactory<T>
@Enhance
protected static class ClassVisitorFactory.CreateClassVisitorFactory<S>
extends Object
implements PrivilegedAction<ClassVisitorFactory<S>>
A factory for creating a wrapper for a
ClassVisitor
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteBuddy
The Byte Buddy instance to use.The type of the translatedClassVisitor
. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreateClassVisitorFactory
(Class<S> classVisitor, ByteBuddy byteBuddy) Creates a new factory for a class visitor wrapper. -
Method Summary
-
Field Details
-
classVisitor
The type of the translatedClassVisitor
. -
byteBuddy
The Byte Buddy instance to use.
-
-
Constructor Details
-
CreateClassVisitorFactory
Creates a new factory for a class visitor wrapper.- Parameters:
classVisitor
- The type of the translatedClassVisitor
.byteBuddy
- The Byte Buddy instance to use.
-
-
Method Details
-
run
- Specified by:
run
in interfacePrivilegedAction<S>
-