private JavaResolveResult @NotNull [] resolveToVariable(@NotNull PsiFile containingFile) {
    VariableResolverProcessor processor = new VariableResolverProcessor(this, containingFile);
    PsiScopesUtil.resolveAndWalk(processor, this, null);
    return processor.getResult();
  }
private JavaResolveResult @NotNull [] resolveToVariable(@NotNull PsiFile containingFile)