@Test(expected = IllegalArgumentException.class) public void testIllegalArgumentException1() { IpPrefixBuilder.getDefaultInstance("badIp"); }
public static IpPrefix getDefaultInstance(final String defaultValue) { return IPV4_PATTERN.matcher(defaultValue).matches() ? new IpPrefix(new Ipv4Prefix(defaultValue)) : new IpPrefix(new Ipv6Prefix(defaultValue)); }
IpPrefixBuilder { public static IpPrefix getDefaultInstance(final String defaultValue) { return IPV4_PATTERN.matcher(defaultValue).matches() ? new IpPrefix(new Ipv4Prefix(defaultValue)) : new IpPrefix(new Ipv6Prefix(defaultValue)); } }
IpPrefixBuilder { public static IpPrefix getDefaultInstance(final String defaultValue) { return IPV4_PATTERN.matcher(defaultValue).matches() ? new IpPrefix(new Ipv4Prefix(defaultValue)) : new IpPrefix(new Ipv6Prefix(defaultValue)); } private  IpPrefixBuilder(); }
IpPrefixBuilder { public static IpPrefix getDefaultInstance(final String defaultValue) { return IPV4_PATTERN.matcher(defaultValue).matches() ? new IpPrefix(new Ipv4Prefix(defaultValue)) : new IpPrefix(new Ipv6Prefix(defaultValue)); } private  IpPrefixBuilder(); static IpPrefix getDefaultInstance(final String defaultValue); }
IpPrefixBuilder { public static IpPrefix getDefaultInstance(final String defaultValue) { return IPV4_PATTERN.matcher(defaultValue).matches() ? new IpPrefix(new Ipv4Prefix(defaultValue)) : new IpPrefix(new Ipv6Prefix(defaultValue)); } private  IpPrefixBuilder(); static IpPrefix getDefaultInstance(final String defaultValue);  }