void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiLiteralExpression literal = tryCast(element, PsiLiteralExpression.class); if (literal == null) return; Integer value = tryCast(literal.getValue(), Integer.class); if (value == null || value >= 0) return; String longLiteral = Long.toHexString(value); String result = LiteralFormatUtil.format(literal.getText().substring(0, 2) + longLiteral + "L", PsiTypes.longType()); new CommentTracker().replaceAndRestoreComments(literal, result); }