Value (@NotNull PsiField field) { String name = field.getName(); PsiClass aClass = field.getContainingClass(); if (aClass == null) return null; String className = aClass.getQualifiedName(); if (className == null) return null; Object value = field.computeConstantValue(); if (value == null) return null; return new Value(className + "." + field.getName(), name, value); }