Package sootup.java.core
Class JavaPackageName
java.lang.Object
sootup.core.signatures.PackageName
sootup.java.core.JavaPackageName
- Direct Known Subclasses:
ModulePackageName
-
Field Summary
Fields inherited from class sootup.core.signatures.PackageName
DEFAULT_PACKAGE, PACKAGE_INFO -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJavaPackageName(@NonNull String packageName) Internal: Constructs a Package Signature of a Java package. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull JavaPackageNameReturns the uniqueJavaPackageNamefor the given package name, so that equal package names are the same instance and may be compared with==.Methods inherited from class sootup.core.signatures.PackageName
equals, getName, hashCode, toString
-
Constructor Details
-
JavaPackageName
Internal: Constructs a Package Signature of a Java package. Instances should only be created by aIdentifierFactory- Parameters:
packageName- the package's name
-
-
Method Details
-
of
Returns the uniqueJavaPackageNamefor the given package name, so that equal package names are the same instance and may be compared with==.
-