For IntelliJ IDEA and
Android Studio


private void myMethod () {Proxy p =
Proxy.Type type;new Proxy(type, new InetSocketAddress(host, port))
Proxy.Type type;new Proxy(type, sa)
Proxy.Type type;new Proxy(type, InetSocketAddress.createUnresolved(host, port))
- AI code suggestions by Codota
}
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + url.hashCode(); result = 31 * result + dns.hashCode(); result = 31 * result + proxyAuthenticator.hashCode(); result = 31 * result + protocols.hashCode(); result = 31 * result + connectionSpecs.hashCode(); result = 31 * result + proxySelector.hashCode(); result = 31 * result + (proxy != null ? proxy.hashCode() : 0); result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); result = 31 * result + (certificatePinner != null ? certificatePinner.hashCode() : 0); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + url.hashCode(); result = 31 * result + dns.hashCode(); result = 31 * result + proxyAuthenticator.hashCode(); result = 31 * result + protocols.hashCode(); result = 31 * result + connectionSpecs.hashCode(); result = 31 * result + proxySelector.hashCode(); result = 31 * result + (proxy != null ? proxy.hashCode() : 0); result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); result = 31 * result + (certificatePinner != null ? certificatePinner.hashCode() : 0); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + uriHost.hashCode(); result = 31 * result + uriPort; result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); result = 31 * result + (authenticator != null ? authenticator.hashCode() : 0); result = 31 * result + (proxy != null ? proxy.hashCode() : 0); result = 31 * result + transports.hashCode(); return result; } }
@Override public int hashCode() { int result = 17; result = 31 * result + uriHost.hashCode(); result = 31 * result + uriPort; result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); result = 31 * result + (proxy != null ? proxy.hashCode() : 0); result = 31 * result + (requiresTunnel ? 1 : 0); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); result = result + (modernTls ? (31 * result) : 0); return result; } }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; } }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + url.hashCode(); result = 31 * result + dns.hashCode(); result = 31 * result + proxyAuthenticator.hashCode(); result = 31 * result + protocols.hashCode(); result = 31 * result + connectionSpecs.hashCode(); result = 31 * result + proxySelector.hashCode(); result = 31 * result + (proxy != null ? proxy.hashCode() : 0); result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); result = 31 * result + (certificatePinner != null ? certificatePinner.hashCode() : 0); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }
@Override public int hashCode() { int result = 17; result = 31 * result + address.hashCode(); result = 31 * result + proxy.hashCode(); result = 31 * result + inetSocketAddress.hashCode(); return result; }