void (@NotNull Project project, @NotNull PsiElement startElement, @NotNull ModPsiUpdater updater) { PsiBinaryExpression division = PsiTreeUtil.getNonStrictParentOfType(startElement, PsiBinaryExpression.class); if (division == null) return; PsiType type = division.getType(); if (!(type instanceof PsiPrimitiveType)) return; String className = ((PsiPrimitiveType)type).getBoxedTypeName(); new CommentTracker().replaceAndRestoreComments(division, className+".NaN"); }