javaGenerator method

  1. @override
void javaGenerator()
override

Implementation

@override
void javaGenerator() {
  detectErrorInJava(module.name, module.inputFile.pascalName,
      fileName: module.inputFile.name,
      absolutePath: module.inputFile.absolutePath);

  final modelFile =
      File('${options.javaOutputPath}/${module.inputFile.javaPath()}');
  modelFile.createSync(recursive: true);
  modelFile.writeAsStringSync(ModelGenerator.javaCode(module, options));
}