Interface PackageResolution

All Superinterfaces:
Resolution

public non-sealed interface PackageResolution extends Resolution
Resolution of a package.
  • Method Details

    • getPackageName

      @Nullable String getPackageName()
      Returns:
      Package name in internal format, or null for the default package.
    • isDefaultPackage

      default boolean isDefaultPackage()
      Returns:
      true if the package is the default package (empty name).
    • matches

      default boolean matches(@Nonnull Resolution other)
      Specified by:
      matches in interface Resolution
      Parameters:
      other - Other resolution to check against.
      Returns:
      true if the other resolution represents the same resolved content.