@Test void testNullValue() { assertNull(Version.valueOf(null), "Check parsing a null value"); }
public static Version valueOf(final String value) { if (value != null) { final Instant time = parse(value); if (time != null) { return new Version(time); } } return null; }
Version { public static Version valueOf(final String value) { if (value != null) { final Instant time = parse(value); if (time != null) { return new Version(time); } } return null; } }
Version { public static Version valueOf(final String value) { if (value != null) { final Instant time = parse(value); if (time != null) { return new Version(time); } } return null; } Version(final Instant time); }
Version { public static Version valueOf(final String value) { if (value != null) { final Instant time = parse(value); if (time != null) { return new Version(time); } } return null; } Version(final Instant time); Instant getInstant(); @Override String toString(); static Version valueOf(final String value); }
Version { public static Version valueOf(final String value) { if (value != null) { final Instant time = parse(value); if (time != null) { return new Version(time); } } return null; } Version(final Instant time); Instant getInstant(); @Override String toString(); static Version valueOf(final String value);  }