void () { myTotalFileCount++; final ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator(); if (indicator != null) { indicator.setText(getScanningPackagesMessage()); indicator.setIndeterminate(true); } }