boolean (@NotNull PsiElement element, @NotNull ResolveState state) { if (element instanceof PsiMethod method && GdkMethodUtil.isCategoryMethod((PsiMethod)element, myType, myPlace, state.get(PsiSubstitutor.KEY))) { String originInfo = getOriginInfoForCategory(method); return super.execute(GrGdkMethodImpl.createGdkMethod(method, false, originInfo), state); } else if (element instanceof PsiMethod) { return super.execute(new MixinedMethod((PsiMethod)element, getOriginInfoForMixin(myType)), state); } else { return super.execute(element, state); } }