private @NotNull HashSet<String> collectVariableNames() {
    PsiMethod containingMethod = getWrappingMethodForUsage(myContext);
    if (containingMethod == null) return new HashSet<>();
    PsiCodeBlock body = containingMethod.getBody();
    if (body == null) return new HashSet<>();
    HashSet<String> allVariables = new HashSet<>();
    allVariables.addAll(processFunctionParameters(containingMethod));
    allVariables.addAll(processFunctionStatements(body));
    return allVariables;
  }
private @NotNull HashSet<String> collectVariableNames()