@Test public void testGetInstance () { assertNull(Version.getInstance()); Version version = new Version(String.class); Version.setInstance(version); assertNotNull(Version.getInstance()); assertEquals(version, Version.getInstance()); }
public static Version getInstance () { return instance; }
Version { public static Version getInstance () { return instance; } }
Version { public static Version getInstance () { return instance; } Version(Class<?> cls);  Version(); }
Version { public static Version getInstance () { return instance; } Version(Class<?> cls);  Version(); String getRevision(); String getVersion(); String getBuildJdk(); String getBuildTime(); String getCreatedBy(); String getVendorID(); String getVendor(); String getFullVersion(); static Version getInstance(); static void setInstance(Version version); }
Version { public static Version getInstance () { return instance; } Version(Class<?> cls);  Version(); String getRevision(); String getVersion(); String getBuildJdk(); String getBuildTime(); String getCreatedBy(); String getVendorID(); String getVendor(); String getFullVersion(); static Version getInstance(); static void setInstance(Version version);  }