void (@NotNull XmlAttributeValue xmlAttributeValue) { super.visitXmlAttributeValue(xmlAttributeValue); final String value = xmlAttributeValue.getValue(); if (value.startsWith("%") && value.length() > 1) { final PsiReference reference = xmlAttributeValue.getReference(); if (reference instanceof PropertyReference) { final ResolveResult[] resolveResults = ((PropertyReference)reference).multiResolve(false); final Set<String> propertyValues = StreamEx .of(resolveResults) .map(ResolveResult::getElement) .select(Property.class) .map(Property::getValue) .nonNull() .toSet(); if (!propertyValues.isEmpty()) { StreamEx .of(propertyValues) .map(propertyValue -> JavaFxPropertyAttributeDescriptor.validateLiteralOrEnumConstant(xmlAttributeValue, propertyValue)) .nonNull() .distinct() .forEach((@InspectionMessage var errorMessage) -> holder.registerProblem(xmlAttributeValue, errorMessage)); } } } }