void (@NotNull JList<? extends PsiDirectory> list, PsiDirectory value, int index, boolean selected, boolean hasFocus) { if (value != null) { String text = ProjectUtil.calcRelativeToProjectPath(value.getVirtualFile(), value.getProject(), true, false, true); setText(text); } }