String (@NotNull PsiTypeParameter typeParameter) { final PsiClassType[] referencedTypes = typeParameter.getExtendsList().getReferencedTypes(); String extendsText = ""; if (referencedTypes.length > 0) { extendsText = Stream.of(referencedTypes).map(DelombokHandler::getTypeWithParameter) .collect(Collectors.joining(" & ", " extends ", "")); } return typeParameter.getName() + extendsText; }