Package sootup.java.core.signatures
Class ModulePackageName
java.lang.Object
sootup.core.signatures.PackageName
sootup.java.core.JavaPackageName
sootup.java.core.signatures.ModulePackageName
Represents the signature of a Java 9 package, referencing its module.
-
Field Summary
Fields inherited from class sootup.core.signatures.PackageName
DEFAULT_PACKAGE, PACKAGE_INFO
-
Constructor Summary
ConstructorDescriptionModulePackageName
(String packageName, ModuleSignature moduleSignature) Internal: Constructs a Package Signature for Java 9 Packages. -
Method Summary
Methods inherited from class sootup.core.signatures.PackageName
getName
-
Constructor Details
-
ModulePackageName
Internal: Constructs a Package Signature for Java 9 Packages. Instances should only be created by aIdentifierFactory
- Parameters:
packageName
- the package's namemoduleSignature
- the module declaring the package
-
-
Method Details
-
equals
- Overrides:
equals
in classPackageName
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPackageName
-
getModuleSignature
The module in which this package resides. -
toString
- Overrides:
toString
in classPackageName
-