boolean (@NotNull PsiClass parentTagClass, @NotNull String propertyName, @NotNull XmlTag tag) { final XmlTag[] subTags = tag.getSubTags(); if (subTags.length != 0) { final PsiClass tagValueClass = JavaFxPsiUtil.getTagValueClass(subTags[subTags.length - 1]); if (JavaFxPsiUtil.isObservableCollection(tagValueClass)) { final PsiMember property = JavaFxPsiUtil.getWritableProperties(parentTagClass).get(propertyName); if (property != null) { final PsiType propertyType = JavaFxPsiUtil.getWritablePropertyType(parentTagClass, property); final PsiClass propertyClass = PsiUtil.resolveClassInClassTypeOnly(propertyType); if (JavaFxPsiUtil.isObservableCollection(propertyClass)) { return true; } } } } return false; }