pub fn output(
    out: &mut dyn Write,
    abis: &[ScriptABI],
    package: Option<&str>,
    class_name: &str,
) -> Result<()> {
    output_preamble(out, package)?;
    writeln!(out, "\npublic final class {} {{\n", class_name)?;
    for abi in abis {
        output_builder(out, abi)?;
    }
    writeln!(out, "\n}}\n")?;
    Ok(())
}
/// Output transaction builders in Java for the given ABIs.
Output transaction builders in Java for the given ABIs.
Output transaction builders in Java for the given ABIs .
pub fn output(
    out: &mut dyn Write,
    abis: &[ScriptABI],
    package: Option<&str>,
    class_name: &str,
) -> Result<()> {
    output_preamble(out, package)?;
    writeln!(out, "\npublic final class {} {{\n", class_name)?;
    for abi in abis {
        output_builder(out, abi)?;
    }
    writeln!(out, "\n}}\n")?;
    Ok(())
}
pub fn output ( out : & mut dyn Write , abis : & [ ScriptABI ] , package : Option < & str > , class_name : & str , ) -> Result < ( ) > { output_preamble ( out , package ) ? ; writeln ! ( out " \n \n " class_name ) ? ; for abi in abis { output_builder ( out , abi ) ? ; } writeln ! ( out " \n \n " ) ? ; Ok ( ( ) ) }
Output transaction builders in Java for the given ABIs.
Output transaction builders in Java for the given ABIs .
out
&mut dyn Write
abis
&[ScriptABI]
package
Option<&str>
class_name
&str
out
&mut dyn Write
abis
&[ScriptABI]
package
Option<&str>
class_name
&str