Class TypeWriter.Default.ClassDumpAction

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction<java.lang.Void>
    Enclosing class:
    TypeWriter.Default<S>

    protected static class TypeWriter.Default.ClassDumpAction
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction<java.lang.Void>
    An action to write a class file to the dumping location.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ClassDumpAction​(java.lang.String target, TypeDescription instrumentedType, byte[] binaryRepresentation)
      Creates a new class dump action.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassDumpAction

        protected ClassDumpAction​(java.lang.String target,
                                  TypeDescription instrumentedType,
                                  byte[] binaryRepresentation)
        Creates a new class dump action.
        Parameters:
        target - The target folder for writing the class file to.
        instrumentedType - The instrumented type.
        binaryRepresentation - The type's binary representation.
    • Method Detail

      • run

        public java.lang.Void run()
                           throws java.lang.Exception
        Specified by:
        run in interface java.security.PrivilegedExceptionAction<java.lang.Void>
        Throws:
        java.lang.Exception