[][src]Function serde_generate::java::write_source_files

pub fn write_source_files(
    install_dir: PathBuf,
    package_name: Option<&str>,
    with_serialization: bool,
    registry: &Registry,
    external_definitions: &ExternalDefinitions,
    comments: &DocComments
) -> Result<()>

Same as output_with_comments_and_external_definitions but generates one separate source file per class. Source files will be located in a subdirectory of install_dir corresponding to the given package name (if any, otherwise install_dir it self).