void (PsiLiteralExpression literalExpression) { final Object value = literalExpression.getValue(); if (value == null) { return; } final String decimalText = value + (PsiTypes.longType().equals(literalExpression.getType()) ? "L" : ""); PsiReplacementUtil.replaceExpression(literalExpression, decimalText); }