boolean (PsiVariable variable, PsiElement context) { return PsiUtil.isConstantExpression(variable.getInitializer()) || !PsiUtil.isLanguageLevel8OrHigher(variable) && VariableAccessUtils.variableIsUsedInInnerClass(variable, context); }