boolean (GenericDomValue element) { final Class genericValueParameter = DomUtil.getGenericValueParameter(element.getDomElementType()); if (genericValueParameter != null && (ReflectionUtil.isAssignable(genericValueParameter, PsiClass.class) || ReflectionUtil.isAssignable(genericValueParameter, PsiType.class))) { return true; } return false; }