String (@NotNull BuilderInfo info) { final PsiType elementType = PsiTypeUtil.extractOneElementType(info.getVariable().getType(), info.getManager()); final String typeName = elementType.getCanonicalText(false); if (ContainerUtil.exists(SingularCollectionClassNames.JAVA_SETS, collectionQualifiedName::equals)) { return "java.util.Collections.<"+typeName+">emptySet()"; } else { return "java.util.Collections.<"+typeName+">emptyList()"; } }