private static Set<GrVariable> getReassignedVariables(final PsiElement scope) {
    return CachedValuesManager.getCachedValue(scope, () -> CachedValueProvider.Result.create(collectReassignedVariables(scope), scope));
  }
private static Set<GrVariable> getReassignedVariables(final PsiElement scope)