build method
Implementation
@override
String build() {
final parts = inputFile?.parts ?? [];
if (parts.isEmpty) {
return OneLine(depth: depth, body: '$package ${options.javaPackageName};')
.build();
} else {
return OneLine(
depth: depth,
body:
'$package ${options.javaPackageName}.${inputFile?.javaPackagePostfix()};')
.build();
}
}