Class CoroutinesAgent.CoroutinesClassFileTransformer
java.lang.Object
com.offbynull.coroutines.javaagent.CoroutinesAgent.CoroutinesClassFileTransformer
- All Implemented Interfaces:
ClassFileTransformer
- Enclosing class:
CoroutinesAgent
private static final class CoroutinesAgent.CoroutinesClassFileTransformer
extends Object
implements ClassFileTransformer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
private final DebugGenerators.MarkerType
-
Constructor Summary
ConstructorsConstructorDescriptionCoroutinesClassFileTransformer
(DebugGenerators.MarkerType markerType, boolean debugMode, boolean autoSerializable) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
transform
(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Field Details
-
markerType
-
debugMode
private final boolean debugMode -
autoSerializable
private final boolean autoSerializable
-
-
Constructor Details
-
CoroutinesClassFileTransformer
CoroutinesClassFileTransformer(DebugGenerators.MarkerType markerType, boolean debugMode, boolean autoSerializable)
-
-
Method Details
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException - Specified by:
transform
in interfaceClassFileTransformer
- Throws:
IllegalClassFormatException
-