@file:Suppress(
    "unused",
    "NO_ACTUAL_FOR_EXPECT",
    "PackageDirectoryMismatch",
    "NON_FINAL_MEMBER_IN_FINAL_CLASS",
    "VIRTUAL_MEMBER_HIDDEN",
    "RedundantModalityModifier",
    "REDUNDANT_MODIFIER_FOR_TARGET",
    "REDUNDANT_OPEN_IN_INTERFACE",
    "NON_FINAL_MEMBER_IN_OBJECT",
    "ConvertSecondaryConstructorToPrimary"
)

/**
 * Bindings for JDK.
 *
 * All the sources are copied from OpenJDK. Copyright OpenJDK authors.
 */

package java.net

public expect open class Inet6Address : InetAddress {
    public open fun isMulticastAddress(): Boolean
    public open fun isAnyLocalAddress(): Boolean
    public open fun isLoopbackAddress(): Boolean
    public open fun isLinkLocalAddress(): Boolean
    public open fun isSiteLocalAddress(): Boolean
    public open fun isMCGlobal(): Boolean
    public open fun isMCNodeLocal(): Boolean
    public open fun isMCLinkLocal(): Boolean
    public open fun isMCSiteLocal(): Boolean
    public open fun isMCOrgLocal(): Boolean
    public open fun getAddress(): ByteArray
    public open fun getScopeId(): Int

    //public open fun getScopedInterface(): NetworkInterface
    public open fun getHostAddress(): String
    public open fun hashCode(): Int
    public open fun equals(obj: Any?): Boolean
    public open fun isIPv4CompatibleAddress(): Boolean
}  