Class JavaPackageName

java.lang.Object
sootup.core.signatures.PackageName
sootup.java.core.JavaPackageName
Direct Known Subclasses:
ModulePackageName

public class JavaPackageName extends PackageName
  • Constructor Details

    • JavaPackageName

      protected JavaPackageName(@NonNull String packageName)
      Internal: Constructs a Package Signature of a Java package. Instances should only be created by a IdentifierFactory
      Parameters:
      packageName - the package's name
  • Method Details

    • of

      public static @NonNull JavaPackageName of(@NonNull String packageName)
      Returns the unique JavaPackageName for the given package name, so that equal package names are the same instance and may be compared with ==.