private static void addLocalVariables(Set<? super PsiLocalVariable> variables, List<? extends PsiStatement> statements) {
    for (PsiStatement statement : statements) {
      addVariables(variables, statement);
    }
  }
private static void addLocalVariables(Set<? super PsiLocalVariable> variables, List<? extends PsiStatement> statements)