setPackageDeclaration
sets the package declaration of this compilation unit
Return
this, the CompilationUnit
Parameters
name
the name of the package
open fun setPackageDeclaration(@Nullable packageDeclaration: @Nullable PackageDeclaration): CompilationUnit(source)
Sets or clear the package declarations of this compilation unit.
Parameters
packageDeclaration
the packageDeclaration declaration to set or null to default package