code: public static ECKey fromPrivate(BigInteger privKey, boolean compressed) {
          ECPoint point = publicPointFromPrivate(privKey);
          return new ECKey(privKey, getPointWithCompression(point, compressed));
      }
docs: Creates an ECKey given the private key only. The public key is calculated from it (this is slow), either
  compressed or not.