void (@NotNull PsiDocTagValue value) { PsiReference reference = computeIfSmartMode(value.getProject(), () -> value.getReference()); if (reference != null) { PsiElement element = computeIfSmartMode(value.getProject(), () -> reference.resolve()); TextAttributesScheme colorsScheme = myHolder.getColorsScheme(); if (element instanceof PsiMethod) { PsiElement nameElement = ((PsiDocMethodOrFieldRef)value).getNameElement(); if (nameElement != null) { myHolder.add(HighlightNamesUtil.highlightMethodName((PsiMethod)element, nameElement, false, colorsScheme)); } } else if (element instanceof PsiParameter) { myHolder.add(HighlightNamesUtil.highlightVariableName((PsiVariable)element, value.getNavigationElement(), colorsScheme)); } } }