public boolean satisfies(@NotNull PsiElement element, @NotNull ResolveState state) {
    String name = PsiUtilCore.getName(element);
    if (element instanceof PsiMethod &&
        ((PsiMethod)element).isConstructor() &&
        myElement.getParent() instanceof PsiMethodReferenceExpression) {
      name = PsiKeyword.NEW;
    }
    return StringUtil.isNotEmpty(name) &&
           myMatcher.value(name) &&
           myFilter.isClassAcceptable(element.getClass()) &&
           myFilter.isAcceptable(new CandidateInfo(element, state.get(PsiSubstitutor.KEY)), myElement);
  }
public boolean satisfies(@NotNull PsiElement element, @NotNull ResolveState state)