PcapAddr implements Cloneable { public static PcapAddr newInstance() throws OperationNotSupportedException { throw new OperationNotSupportedException("Cannot instantiated directly, please use Jxnet.PcapFindAllDev()."); } protected  PcapAddr(); protected  PcapAddr(SockAddr addr, SockAddr netmask, SockAddr broadaddr, SockAddr dstaddr); static PcapAddr newInstance(); SockAddr getAddr(); SockAddr getNetmask(); SockAddr getBroadAddr(); SockAddr getDstAddr(); @Override boolean equals(final Object o); @Override int hashCode(); @Override PcapAddr clone(); @Override String toString();  }
@Test(expected = OperationNotSupportedException.class) @Override public void newInstanceTest() { PcapAddr.newInstance(); }