DfType (@NotNull PsiLiteralExpression expr) { PsiType type = expr.getType(); if (type == null) return DfType.TOP; if (PsiTypes.nullType().equals(type)) return DfTypes.NULL; Object value = expr.getValue(); if (value == null) return DfTypes.typedObject(type, Nullability.NOT_NULL); return DfTypes.constant(value, type); }