@@ -0,0 +1,753 @@
+// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.%0Apackage com.intellij.psi.scope;%0A%0Aimport com.intellij.openapi.util.Key;%0Aimport org.jetbrains.annotations.NotNull;%0Aimport org.jetbrains.annotations.Nullable;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * Base processor which stores hints in a map%0A */%0Apublic abstract class ProcessorWithHints implements PsiScopeProcessor %7B%0A%0A  private final Map%3CKey, Object%3E myHints = new HashMap%3C%3E();%0A%0A  protected final %3CH%3E void hint(@NotNull Key%3CH%3E key, @NotNull H hint) %7B%0A    key.set(myHints, hint);%0A  %7D%0A%0A  @Nullable%0A  @Override%0A  public %3CT%3E T getHint(@NotNull Key%3CT%3E hintKey) %7B%0A    return hintKey.get(myHints);%0A  %7D%0A%7D%0A

add ProcessorWithHints