boolean (Class hintClass) { if (ReflectionUtil.isAssignable(PsiClass.class, hintClass)) { return acceptClasses; } if (ReflectionUtil.isAssignable(PsiVariable.class, hintClass) || ReflectionUtil.isAssignable(PsiMethod.class, hintClass) || ReflectionUtil.isAssignable(CandidateInfo.class, hintClass)) { return acceptMembers; } return false; }