HighlightInfo (@NotNull Editor editor, @NotNull PsiMember member, @NotNull PsiElement identifier) { Color textColor = editor.getColorsScheme().getAttributes(CodeInsightColors.WEAK_WARNING_ATTRIBUTES).getEffectColor(); TextAttributes attributes = new TextAttributes(null, null, textColor, null, Font.PLAIN); String memberName = UsageViewUtil.getLongName(member); return HighlightInfo.newHighlightInfo(HighlightInfoType.WARNING) .range(identifier.getTextRange()) .textAttributes(attributes) .descriptionAndTooltip(JavaBundle.message("project.problems.fix.description", memberName)) .registerFix(new ShowRelatedProblemsAction(), null, null, null, null) .createUnconditionally(); }