boolean (PsiElement element) { return element instanceof PsiExpression || element instanceof PsiAnnotation || element instanceof PsiClass || element instanceof PsiMethod || element instanceof PsiVariable || element instanceof PsiJavaCodeReferenceElement || element instanceof PsiNameValuePair || element instanceof PsiLabeledStatement; }