boolean (ElementToWorkOn elementToWorkOn) { final PsiExpression expr = elementToWorkOn.getExpression(); if (expr != null) { return isStaticFinalInitializer(expr) == null; } final PsiLocalVariable localVariable = elementToWorkOn.getLocalVariable(); final PsiExpression initializer = localVariable.getInitializer(); return initializer != null && isStaticFinalInitializer(initializer) == null; }