Does this have to be a public class? From what I see it is only used in the SpringJUnitReportingRunner. If so, it could be a private static inner class there, not making it visible to the outside world.