String () { String title = myTitle; if (title == null && myException != null) { title = getRootCauseExceptionMessage(myException); } if (title == null) { title = myText; } if (title == null) { assert myGroup != null; title = myGroup; } if (myProject != null) { String projectDisplayName = GradleNegotiationUtil.getProjectDisplayName(myProject); title = projectDisplayName + ": " + title; } return title; }