Class CoroutinesAgent.CoroutinesClassFileTransformer
- java.lang.Object
-
- com.offbynull.coroutines.javaagent.CoroutinesAgent.CoroutinesClassFileTransformer
-
- All Implemented Interfaces:
java.lang.instrument.ClassFileTransformer
- Enclosing class:
- CoroutinesAgent
private static final class CoroutinesAgent.CoroutinesClassFileTransformer extends java.lang.Object implements java.lang.instrument.ClassFileTransformer
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
autoSerializable
private boolean
debugMode
private DebugGenerators.MarkerType
markerType
-
Constructor Summary
Constructors Constructor Description CoroutinesClassFileTransformer(DebugGenerators.MarkerType markerType, boolean debugMode, boolean autoSerializable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
transform(java.lang.ClassLoader loader, java.lang.String className, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
-
-
-
Field Detail
-
markerType
private final DebugGenerators.MarkerType markerType
-
debugMode
private final boolean debugMode
-
autoSerializable
private final boolean autoSerializable
-
-
Constructor Detail
-
CoroutinesClassFileTransformer
CoroutinesClassFileTransformer(DebugGenerators.MarkerType markerType, boolean debugMode, boolean autoSerializable)
-
-
Method Detail
-
transform
public byte[] transform(java.lang.ClassLoader loader, java.lang.String className, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer) throws java.lang.instrument.IllegalClassFormatException
- Specified by:
transform
in interfacejava.lang.instrument.ClassFileTransformer
- Throws:
java.lang.instrument.IllegalClassFormatException
-
-