@Test public void testGetInstance() { final CompileErrorValidator instanceA = CompileErrorValidator.getInstance(); final CompileErrorValidator instanceB = CompileErrorValidator.getInstance(); assertThat(instanceA).isNotNull(); assertThat(instanceA).isSameAs(instanceB); }
public static CompileErrorValidator getInstance() { return INSTANCE; }
CompileErrorValidator { public static CompileErrorValidator getInstance() { return INSTANCE; } }
CompileErrorValidator { public static CompileErrorValidator getInstance() { return INSTANCE; } CompileErrorValidator(final ListingParser listingParser); }
CompileErrorValidator { public static CompileErrorValidator getInstance() { return INSTANCE; } CompileErrorValidator(final ListingParser listingParser); static CompileErrorValidator getInstance(); void validate(final File listingFile); }
CompileErrorValidator { public static CompileErrorValidator getInstance() { return INSTANCE; } CompileErrorValidator(final ListingParser listingParser); static CompileErrorValidator getInstance(); void validate(final File listingFile);  }