String () { String res = myLibraryNameCache; if (res == null) { StringBuilder builder = new StringBuilder(MAVEN_LIB_PREFIX); MavenId.appendFirst(builder, myGroupId); MavenId.append(builder, myArtifactId); if (!StringUtilRt.isEmptyOrSpaces(myType) && !MavenConstants.TYPE_JAR.equals(myType)) MavenId.append(builder, myType); if (!StringUtilRt.isEmptyOrSpaces(myClassifier)) MavenId.append(builder, myClassifier); String version = !StringUtilRt.isEmptyOrSpaces(myBaseVersion) ? myBaseVersion : myVersion; if (!StringUtilRt.isEmptyOrSpaces(version)) MavenId.append(builder, version); res = builder.toString(); myLibraryNameCache = res; } return res; }