Address { static String publicKeyToAddress(byte[] publicKey) { return publicKeyToAddress(false, publicKey); } Address(@Nullable String address);   Address(boolean testNet, Transaction.Script.WitnessProgram witnessProgram); @NonNull @Override String toString(); static boolean verify(@Nullable String address, boolean acceptSegwit); static boolean verify(@Nullable String address); @Override boolean equals(Object o); @Override int hashCode(); @SuppressWarnings("WeakerAccess")
    @KeyhashType
    final int keyhashType; }
@Test public void publicKeyToAddress() { assertEquals("1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAs", Address.publicKeyToAddress( BTCUtils.fromValidHex("0250863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b2352"))); }