boolean (PsiModifierListOwner owner) { return owner instanceof PsiMethod && isAssignableFromString(((PsiMethod)owner).getReturnType(), owner) || owner instanceof PsiVariable && isAssignableFromString(((PsiVariable)owner).getType(), owner); }