* Gets the package name from the package declaration.
* @return the package name, if present, or the empty string.
*/
@Override
public String getPackageName() {
final PbPackageDef packageDef = getPackageDefinition();
return packageDef != null ? packageDef.getPackageName() : "";
}