Class ClassWriter

java.lang.Object
net.mcreator.io.writer.ClassWriter

public class ClassWriter extends Object
  • Constructor Details

    • ClassWriter

      public ClassWriter()
  • Method Details

    • writeClassToFile

      public static void writeClassToFile(@Nullable Workspace workspace, String code, File file, boolean formatAndOrganiseImports)
    • batchWriteClassToFile

      public static void batchWriteClassToFile(@Nullable Workspace workspace, @Nonnull Map<File,String> codes, boolean formatAndOrganiseImports, @Nullable IntConsumer intConsumer)
    • formatAndOrganiseImportsForFiles

      public static void formatAndOrganiseImportsForFiles(@Nullable Workspace workspace, @Nonnull Collection<File> files, @Nullable IntConsumer intConsumer)