Class 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
    • 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)  
      • 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 Detail

      • 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 interface java.lang.instrument.ClassFileTransformer
        Throws:
        java.lang.instrument.IllegalClassFormatException