Class TypeWriter.Default.ClassDumpAction.Dispatcher.Enabled

    • Field Detail

      • folder

        private final java.lang.String folder
        The folder to write class files to.
      • timestamp

        private final long timestamp
        The timestamp to append.
    • Constructor Detail

      • Enabled

        protected Enabled​(java.lang.String folder,
                          long timestamp)
        Creates a new dispatcher for dumping class files.
        Parameters:
        folder - The folder to write class files to.
        timestamp - The timestamp to append.
    • Method Detail

      • dump

        public void dump​(TypeDescription instrumentedType,
                         boolean original,
                         byte[] binaryRepresentation)
        Dumps a class file to the file system.
        Specified by:
        dump in interface TypeWriter.Default.ClassDumpAction.Dispatcher
        Parameters:
        instrumentedType - The type to dump.
        original - true if the class file is in its original state.
        binaryRepresentation - The class file's binary representation.