MavenServerStatus (boolean clean) { MavenServerStatus status = new MavenServerStatus(); if (!MavenServerStatsCollector.collectStatistics) return new MavenServerStatus(); status.statusCollected = true; MavenServerStatsCollector.fill(status, clean); return status; }