getPackageDeclaration
Retrieves the package declaration of this compilation unit. If this compilation unit has no package declaration (default package), Optional.none() is returned.
Return
the package declaration or none
Retrieves the package declaration of this compilation unit. If this compilation unit has no package declaration (default package), Optional.none() is returned.
the package declaration or none